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"]]
|
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 = {}
|