update preprocess data

pull/4824/head
hanjun996 5 years ago
parent 1793a07e10
commit 6339d6f00a

@ -233,6 +233,7 @@ def create_voc_label(is_training):
'id': img_id}
json_dict['images'].append(image)
if not is_training:
for cls_name, cid in cls_map.items():
cat = {'supercategory': 'none', 'id': cid, 'name': cls_name}
json_dict['categories'].append(cat)

Loading…
Cancel
Save