Spaces:
Running on Zero
Running on Zero
Download engine/data/dataset/__init__.py from hugging-apps/deimv2-object-detection: direct link, hf CLI and curl.
- Browser
- Download file 463 Bytes
-
https://huggingface.co/spaces/hugging-apps/deimv2-object-detection/resolve/main/engine/data/dataset/__init__.py
- Command line
-
hf download hf://spaces/hugging-apps/deimv2-object-detection/engine/data/dataset/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/hugging-apps/deimv2-object-detection/resolve/main/engine/data/dataset/__init__.py
463 Bytes
| """ | |
| Copied from RT-DETR (https://github.com/lyuwenyu/RT-DETR) | |
| Copyright(c) 2023 lyuwenyu. All Rights Reserved. | |
| """ | |
| # from ._dataset import DetDataset | |
| from .coco_dataset import CocoDetection | |
| from .coco_dataset import ( | |
| mscoco_category2name, | |
| mscoco_category2label, | |
| mscoco_label2category, | |
| ) | |
| from .coco_eval import CocoEvaluator | |
| from .coco_utils import get_coco_api_from_dataset | |
| from .voc_detection import VOCDetection | |
| from .voc_eval import VOCEvaluator | |