coco_detection.yml 563 Bytes
Newer Older
wangkx1's avatar
wangkx1 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
metric: COCO
num_classes: 2 

TrainDataset:
  ! name: COCODataSet
  image_dir: train
  anno_path: annotations/train.json
  dataset_dir: Datasets/Point.v11i.coco
  data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd']

EvalDataset:
  ! name: COCODataSet
  image_dir: valid
  anno_path: annotations/valid.json
  dataset_dir: Datasets/Point.v11i.coco

TestDataset:
  ! name: ImageFolder
  anno_path: annotations/valid.json # also support txt (like VOC's label_list.txt)
  dataset_dir: Datasets/Point.v11i.coco # if set, anno_path will be 'dataset_dir/anno_path'