Closed ohlr closed 5 years ago
quick fix for the to_yolo_gist
in line 177:
class_name = l.pop(0)
try:
float(l[0])
except ValueError:
class_name += ' ' + l.pop(0)
Thank you for the hint! I'm sure it will be helpful for all yolo users.
python main.py downloader --classes Human_face --type_csv 'validation' --multiclasses 1
The txt label files look like the following:
Human face 272.903578 214.58227200000002 448.06849 435.37612800000005
According to the documentation there should be a underscore between human and face.
This also causes the OID_to_yolo_gist to fail