We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 830638e commit 068b0c2Copy full SHA for 068b0c2
sahi/__init__.py
@@ -1 +1 @@
1
-__version__ = "0.8.13"
+__version__ = "0.8.14"
sahi/predict.py
@@ -461,11 +461,10 @@ def predict(
461
durations_in_seconds["prediction"] += prediction_result.durations_in_seconds["prediction"]
462
463
if dataset_json_path:
464
- image_id = ind + 1
465
# append predictions in coco format
466
for object_prediction in object_prediction_list:
467
coco_prediction = object_prediction.to_coco_prediction()
468
- coco_prediction.image_id = image_id
+ coco_prediction.image_id = coco.images[ind].id
469
coco_prediction_json = coco_prediction.json
470
if coco_prediction_json["bbox"]:
471
coco_json.append(coco_prediction_json)
0 commit comments