mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Merge pull request #1416 from mhaghighat/master
Update to prevent the error at Line 74: data being one-dimensional
This commit is contained in:
@ -141,7 +141,7 @@ def main(argv):
|
||||
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
|
||||
|
Reference in New Issue
Block a user