Skip to content

Commit c2a4fe0

Browse files
authored
Update utils_map.py
1 parent 532ff39 commit c2a4fe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/utils_map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ def preprocess_gt(gt_path, class_names):
832832
category = {}
833833
category['supercategory'] = cls
834834
category['name'] = cls
835-
category['id'] = i
835+
category['id'] = i + 1
836836
categories.append(category)
837837
results['categories'] = categories
838838

0 commit comments

Comments
 (0)