Open Mehanik opened 6 months ago
automated-dataset-annotation-and-evaluation-with-grounding-dino.ipynb
It seems that in latest supervision version, function detections_to_voc_xml was renamed and its signature was changed.
supervision
detections_to_voc_xml
Correct usage will probably be:
xml_string = sv.dataset.formats.pascal_voc.detections_to_pascal_voc( detections=detections, classes=CLASSES, filename=image_name, image_shape=image.shape )
supervision==0.17.1
No response
Search before asking
Notebook name
automated-dataset-annotation-and-evaluation-with-grounding-dino.ipynb
Bug
It seems that in latest
supervision
version, functiondetections_to_voc_xml
was renamed and its signature was changed.Correct usage will probably be:
Environment
supervision==0.17.1
Minimal Reproducible Example
No response
Additional
No response
Are you willing to submit a PR?