pcb_detection.yml 539 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: 6

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

EvalDataset:
  !COCODataSet
    image_dir: images
    anno_path: pcb_cocoanno/val.json
    dataset_dir: dataset/PCB_coco/

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