Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with latest supervision version: no detections_to_voc_xml #236

Open
1 of 2 tasks
Mehanik opened this issue Dec 26, 2023 · 0 comments
Open
1 of 2 tasks
Labels
bug Something isn't working

Comments

@Mehanik
Copy link

Mehanik commented Dec 26, 2023

Search before asking

  • I have searched the Roboflow Notebooks issues and found no similar bug report.

Notebook name

automated-dataset-annotation-and-evaluation-with-grounding-dino.ipynb

Bug

It seems that in latest supervision version, function detections_to_voc_xml was renamed and its signature was changed.

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
    )

Environment

supervision==0.17.1

Minimal Reproducible Example

No response

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@Mehanik Mehanik added the bug Something isn't working label Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant