Skip to content

Instantly share code, notes, and snippets.

@JakeCowton
Created November 12, 2019 18:38
Show Gist options
  • Save JakeCowton/82ee2954717066e96fce8cc1834d9f8b to your computer and use it in GitHub Desktop.
Save JakeCowton/82ee2954717066e96fce8cc1834d9f8b to your computer and use it in GitHub Desktop.
Convert supervisely annotations to Pascal VOC
# git clone git@github.com:supervisely/supervisely.git
# cd supervisely
# pip install -e .
# cd supervisely_lib
from export.pascal_voc import save_project_as_pascal_voc_detection
from project.project import OpenMode, Project
save_project_as_pascal_voc_detection("/path/to/empty/output/folder",
Project("/path/to/root/of/downloaded/supervisely/folder",
OpenMode(1)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment