Alexey
2018-08-15 140bc1882dd48dfff93e94dae0fb780351513c9e
Merge pull request #1416 from mhaghighat/master

Update to prevent the error at Line 74: data being one-dimensional
1 files modified
2 ■■■ changed files
scripts/gen_anchors.py 2 ●●● patch | view | raw | blame | history
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