PHilita commited on
Commit
c1bb704
1 Parent(s): e31c89f

dataset info and dataset.py changes.

Browse files
Carla-COCO-Object-Detection-Dataset.py CHANGED
@@ -112,7 +112,7 @@ class CARLA_COCO(datasets.GeneratorBasedBuilder):
112
  "id": annot["id"],
113
  "area": annot["area"],
114
  "bbox": annot["bbox"],
115
- "category": category_id_to_category[annot["category_id"]] + 1,
116
  }
117
 
118
  image_id_to_image = {}
 
112
  "id": annot["id"],
113
  "area": annot["area"],
114
  "bbox": annot["bbox"],
115
+ "category": category_id_to_category[annot["category_id"]],
116
  }
117
 
118
  image_id_to_image = {}