gpu_symbol / configs /dataset /coco_detection.yml
himipo's picture
first
63e9186
task: detection
evaluator:
type: CocoEvaluator
iou_types: ['bbox']
num_classes: 16
remap_mscoco_category: False # カテゴリIDが0-15に変更済みのためFalse
train_dataloader:
type: DataLoader
dataset:
type: CocoDetection
img_folder: /content/DEIMv2/dataset/train/images
ann_file: /content/DEIMv2/dataset/train/annotations/train_annotations.json
return_masks: False
transforms:
type: Compose
ops: ~
shuffle: True
num_workers: 2
drop_last: True
collate_fn:
type: BatchImageCollateFunction
val_dataloader:
type: DataLoader
dataset:
type: CocoDetection
img_folder: /content/DEIMv2/dataset/validation/images
ann_file: /content/DEIMv2/dataset/validation/annotations/validation_annotations.json
return_masks: False
transforms:
type: Compose
ops: ~
shuffle: False
num_workers: 2
drop_last: False
collate_fn:
type: BatchImageCollateFunction