exdark_detection.yml 546 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
metric: COCO
num_classes: 12

TrainDataset:
  !COCODataSet
    image_dir: images
    anno_path: coco_annotations/train.json
    dataset_dir: dataset/Exdark/
    data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd']

EvalDataset:
  !COCODataSet
    image_dir: images
    anno_path: coco_annotations/val.json
    dataset_dir: dataset/Exdark/

TestDataset:
  !ImageFolder
    anno_path: coco_annotations/val.json # also support txt (like VOC's label_list.txt)
    dataset_dir: dataset/Exdark/ # if set, anno_path will be 'dataset_dir/anno_path'