detrium.data.datasets.coco

Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved Mostly copy-paste from https://github.com/pytorch/vision/blob/13b35ff/references/detection/coco_utils.py Copyright(c) 2023 lyuwenyu. All Rights Reserved.

导出符号 · CocoDetection、MSCOCO_CLASS_NAMES、mscoco_category2name、mscoco_category2label、mscoco_label2category

class CocoDetection(torchvision.datasets.CocoDetection, DetDataset)
名称类型默认值
img_folder——
ann_file——
transforms——
return_masks—False
remap_mscoco_category—False