You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this error:
NameError Traceback (most recent call last) in
----> 1 export_batch_inferences_as_coco_annotations(
2 preds=preds,
3 img_files=img_files,
4 transforms=valid_tfms,
5 class_map=class_map,
/usr/local/lib/python3.8/dist-packages/icevision/data/convert_records_to_coco_style.py in export_batch_inferences_as_coco_annotations(preds, img_files, transforms, class_map, output_filepath, info, licenses)
127 # process_bbox_predictions happens inplace, thus no new variable
128 for p in preds:
--> 129 process_bbox_predictions(
130 p, PIL.Image.open(Path(p.pred.filepath)), transforms.tfms_list
131 )
NameError: name 'process_bbox_predictions' is not defined
There is no process_bbox_predictions anywhere in the repository or in convert_records_to_coco_style.py. OTOH inference.ipynb was updated in Aug 2022 and convert_records_to_coco_style.py in 2021. Was there an associated change which was never committed?
The text was updated successfully, but these errors were encountered:
Not sure if I missed something but if I try to run: https://github.com/airctic/icevision/blob/master/notebooks/inference.ipynb
I get this error:
NameError Traceback (most recent call last)
in
----> 1 export_batch_inferences_as_coco_annotations(
2 preds=preds,
3 img_files=img_files,
4 transforms=valid_tfms,
5 class_map=class_map,
/usr/local/lib/python3.8/dist-packages/icevision/data/convert_records_to_coco_style.py in export_batch_inferences_as_coco_annotations(preds, img_files, transforms, class_map, output_filepath, info, licenses)
127 # process_bbox_predictions happens inplace, thus no new variable
128 for p in preds:
--> 129 process_bbox_predictions(
130 p, PIL.Image.open(Path(p.pred.filepath)), transforms.tfms_list
131 )
NameError: name 'process_bbox_predictions' is not defined
There is no process_bbox_predictions anywhere in the repository or in convert_records_to_coco_style.py. OTOH inference.ipynb was updated in Aug 2022 and convert_records_to_coco_style.py in 2021. Was there an associated change which was never committed?
The text was updated successfully, but these errors were encountered: