gt_converter/convert_coco.py [195:205]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            image_id += 1

        coco_json = {
            "type": "instances",
            "images": images,
            "categories": category_ids,
            "annotations": annotations,
        }

        with open(output_coco_json_path, "w") as f:
            json.dump(coco_json, f)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



gt_converter/convert_coco.py [247:257]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            image_id += 1

        coco_json = {
            "type": "instances",
            "images": images,
            "categories": category_ids,
            "annotations": annotations,
        }

        with open(output_coco_json_path, "w") as f:
            json.dump(coco_json, f)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



