From 5b6be00d4b1ffd671c20c4c72d2239c924eaa3d4 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 23 Aug 2018 12:28:34 +0000
Subject: [PATCH] Added yolov3-tiny_xnor.cfg

---
 scripts/gen_anchors.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/gen_anchors.py b/scripts/gen_anchors.py
index 03bb54b..709cb88 100644
--- a/scripts/gen_anchors.py
+++ b/scripts/gen_anchors.py
@@ -141,7 +141,7 @@
             line = line.rstrip('\n')
             w,h = line.split(' ')[3:]            
             #print(w,h)
-            annotation_dims.append(map(float,(w,h)))
+            annotation_dims.append(tuple(map(float,(w,h))))
     annotation_dims = np.array(annotation_dims)
   
     eps = 0.005

--
Gitblit v1.10.0