github roboflow/supervision 0.11.0
supervision-0.11.0

latest releases: 0.25.0rc2, 0.25.0rc1, 0.24.0...
16 months ago

🚀 Added

>>> import supervision as sv

>>> ds = sv.DetectionDataset.from_coco(
...     images_directory_path='...',
...     annotations_path='...'
... )

>>> ds.as_coco(
...     images_directory_path='...',
...     annotations_path='...'
... )
>>> import supervision as sv

>>> ds_1 = sv.DetectionDataset(...)
>>> len(ds_1)
100
>>> ds_1.classes
['dog', 'person']

>>> ds_2 = sv.DetectionDataset(...)
>>> len(ds_2)
200
>>> ds_2.classes
['cat']

>>> ds_merged = sv.DetectionDataset.merge([ds_1, ds_2])
>>> len(ds_merged)
300
>>> ds_merged.classes
['cat', 'dog', 'person']

Snap (47)

🛠️ Fixed

  • Incorrect loading of YOLO dataset class names from data.yaml. (#157)

🏆 Contributors

@SkalskiP @hardikdava

Don't miss a new supervision release

NewReleases is sending notifications on new releases.