supervision/tests/dataset
Hee Jae Kim 9eba61de10
fix: populate class_name in DetectionDataset annotations (#2156)
DetectionDataset.__init__ now maps class_id to class names using
CLASS_NAME_DATA_FIELD so that LabelAnnotator displays human-readable
labels instead of raw integer IDs.

---------

Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2026-02-25 19:37:59 +01:00
..
formats Fix `detections_to_coco_annotations` function for empty polygons. (#1086) 2026-02-20 12:08:26 +01:00
__init__.py refactor: reorganize project structure and update module imports (#2112) 2026-02-03 15:24:47 +01:00
test_core.py fix: populate class_name in DetectionDataset annotations (#2156) 2026-02-25 19:37:59 +01:00
test_utils.py Add `match` arguments to all `pytest.raises` for more precise error validation in tests (#2145) 2026-02-10 21:22:55 +09:00