Spaces:
Runtime error
Runtime error
# Copyright (c) Tencent Inc. All rights reserved. | |
from mmdet.datasets import LVISV1Dataset | |
from mmyolo.datasets.yolov5_coco import BatchShapePolicyDataset | |
from mmyolo.registry import DATASETS | |
class YOLOv5LVISV1Dataset(BatchShapePolicyDataset, LVISV1Dataset): | |
"""Dataset for YOLOv5 LVIS Dataset. | |
We only add `BatchShapePolicy` function compared with Objects365V1Dataset. | |
See `mmyolo/datasets/utils.py#BatchShapePolicy` for details | |
""" | |
pass | |