coco_detection.yml 585 字节
Newer Older
Q
qingqing01 已提交
1 2 3 4
metric: COCO
num_classes: 80

TrainDataset:
5 6 7 8 9
  name: COCODataSet
  image_dir: train2017
  anno_path: annotations/instances_train2017.json
  dataset_dir: dataset/coco
  data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd']
Q
qingqing01 已提交
10 11

EvalDataset:
12 13 14 15 16
  name: COCODataSet
  image_dir: val2017
  anno_path: annotations/instances_val2017.json
  dataset_dir: dataset/coco
  allow_empty: true
Q
qingqing01 已提交
17 18

TestDataset:
19 20 21
  name: ImageFolder
  anno_path: annotations/instances_val2017.json # also support txt (like VOC's label_list.txt)
  dataset_dir: dataset/coco # if set, anno_path will be 'dataset_dir/anno_path'