-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
support for yolo dataset loading and saving #86
Conversation
…ding' into feature/support_yolo_dataset_loading # Conflicts: # supervision/dataset/formats/yolo.py
…ding' into feature/support_yolo_dataset_loading # Conflicts: # supervision/dataset/formats/yolo.py
>>> project = rf.workspace(WORKSPACE_ID).project(PROJECT_ID) | ||
>>> dataset = project.version(PROJECT_VERSION).download("voc") | ||
|
||
>>> train_dataset = sv.Dataset.from_yolo( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 splits are separate sv Datasets?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah. You load every split as a separate sv.Dataset
but that is pretty much the standard approach. Torch Datasets and Dataloaders work the same way. But I think we will build some utils to split and merge datasets to.
Description
YOLO Dataset loader is designed to be as flexible as possible to allow data consistency for both mixed and non-mixed datasets. You can test API in this example notebook.
API