移动paddle_detection
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
metric: COCO
|
||||
num_classes: 80
|
||||
|
||||
TrainDataset:
|
||||
name: COCODataSet
|
||||
image_dir: train2017
|
||||
anno_path: annotations/instances_train2017.json
|
||||
dataset_dir: dataset/coco
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd']
|
||||
|
||||
EvalDataset:
|
||||
name: COCODataSet
|
||||
image_dir: val2017
|
||||
anno_path: annotations/instances_val2017.json
|
||||
dataset_dir: dataset/coco
|
||||
allow_empty: true
|
||||
|
||||
TestDataset:
|
||||
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'
|
||||
@@ -0,0 +1,20 @@
|
||||
metric: COCO
|
||||
num_classes: 80
|
||||
|
||||
TrainDataset:
|
||||
name: COCODataSet
|
||||
image_dir: train2017
|
||||
anno_path: annotations/instances_train2017.json
|
||||
dataset_dir: dataset/coco
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'gt_poly', 'is_crowd']
|
||||
|
||||
EvalDataset:
|
||||
name: COCODataSet
|
||||
image_dir: val2017
|
||||
anno_path: annotations/instances_val2017.json
|
||||
dataset_dir: dataset/coco
|
||||
|
||||
TestDataset:
|
||||
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'
|
||||
@@ -0,0 +1,28 @@
|
||||
metric: CULaneMetric
|
||||
num_classes: 5 # 4 lanes + background
|
||||
|
||||
cut_height: &cut_height 270
|
||||
dataset_dir: &dataset_dir dataset/culane
|
||||
|
||||
TrainDataset:
|
||||
name: CULaneDataSet
|
||||
dataset_dir: *dataset_dir
|
||||
list_path: 'list/train_gt.txt'
|
||||
split: train
|
||||
cut_height: *cut_height
|
||||
|
||||
|
||||
EvalDataset:
|
||||
name: CULaneDataSet
|
||||
dataset_dir: *dataset_dir
|
||||
list_path: 'list/test.txt'
|
||||
split: test
|
||||
cut_height: *cut_height
|
||||
|
||||
|
||||
TestDataset:
|
||||
name: CULaneDataSet
|
||||
dataset_dir: *dataset_dir
|
||||
list_path: 'list/test.txt'
|
||||
split: test
|
||||
cut_height: *cut_height
|
||||
@@ -0,0 +1,21 @@
|
||||
metric: RBOX
|
||||
num_classes: 15
|
||||
|
||||
TrainDataset:
|
||||
!COCODataSet
|
||||
image_dir: trainval1024/images
|
||||
anno_path: trainval1024/DOTA_trainval1024.json
|
||||
dataset_dir: dataset/dota/
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd', 'gt_poly']
|
||||
|
||||
EvalDataset:
|
||||
!COCODataSet
|
||||
image_dir: trainval1024/images
|
||||
anno_path: trainval1024/DOTA_trainval1024.json
|
||||
dataset_dir: dataset/dota/
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd', 'gt_poly']
|
||||
|
||||
TestDataset:
|
||||
!ImageFolder
|
||||
anno_path: test1024/DOTA_test1024.json
|
||||
dataset_dir: dataset/dota/
|
||||
@@ -0,0 +1,21 @@
|
||||
metric: RBOX
|
||||
num_classes: 15
|
||||
|
||||
TrainDataset:
|
||||
!COCODataSet
|
||||
image_dir: trainval1024/images
|
||||
anno_path: trainval1024/DOTA_trainval1024.json
|
||||
dataset_dir: dataset/dota_ms/
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd', 'gt_poly']
|
||||
|
||||
EvalDataset:
|
||||
!COCODataSet
|
||||
image_dir: trainval1024/images
|
||||
anno_path: trainval1024/DOTA_trainval1024.json
|
||||
dataset_dir: dataset/dota_ms/
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd', 'gt_poly']
|
||||
|
||||
TestDataset:
|
||||
!ImageFolder
|
||||
anno_path: test1024/DOTA_test1024.json
|
||||
dataset_dir: dataset/dota_ms/
|
||||
@@ -0,0 +1,25 @@
|
||||
metric: MCMOT
|
||||
num_classes: 10
|
||||
# using VisDrone2019 MOT dataset with 10 classes as default, you can modify it for your needs.
|
||||
|
||||
# for MCMOT training
|
||||
TrainDataset:
|
||||
!MCMOTDataSet
|
||||
dataset_dir: dataset/mot
|
||||
image_lists: ['visdrone_mcmot.train']
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'gt_ide']
|
||||
label_list: label_list.txt
|
||||
|
||||
# for MCMOT evaluation
|
||||
# If you want to change the MCMOT evaluation dataset, please modify 'data_root'
|
||||
EvalMOTDataset:
|
||||
!MOTImageFolder
|
||||
dataset_dir: dataset/mot
|
||||
data_root: visdrone_mcmot/images/val
|
||||
keep_ori_im: False # set True if save visualization images or video, or used in DeepSORT
|
||||
|
||||
# for MCMOT video inference
|
||||
TestMOTDataset:
|
||||
!MOTImageFolder
|
||||
dataset_dir: dataset/mot
|
||||
keep_ori_im: True # set True if save visualization images or video
|
||||
@@ -0,0 +1,23 @@
|
||||
metric: MOT
|
||||
num_classes: 1
|
||||
|
||||
# for MOT training
|
||||
TrainDataset:
|
||||
!MOTDataSet
|
||||
dataset_dir: dataset/mot
|
||||
image_lists: ['mot17.train', 'caltech.all', 'cuhksysu.train', 'prw.train', 'citypersons.train', 'eth.train']
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'gt_ide']
|
||||
|
||||
# for MOT evaluation
|
||||
# If you want to change the MOT evaluation dataset, please modify 'data_root'
|
||||
EvalMOTDataset:
|
||||
!MOTImageFolder
|
||||
dataset_dir: dataset/mot
|
||||
data_root: MOT16/images/train
|
||||
keep_ori_im: False # set True if save visualization images or video, or used in DeepSORT
|
||||
|
||||
# for MOT video inference
|
||||
TestMOTDataset:
|
||||
!MOTImageFolder
|
||||
dataset_dir: dataset/mot
|
||||
keep_ori_im: True # set True if save visualization images or video
|
||||
@@ -0,0 +1,21 @@
|
||||
metric: COCO
|
||||
num_classes: 365
|
||||
|
||||
TrainDataset:
|
||||
!COCODataSet
|
||||
image_dir: train
|
||||
anno_path: annotations/zhiyuan_objv2_train.json
|
||||
dataset_dir: dataset/objects365
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd']
|
||||
|
||||
EvalDataset:
|
||||
!COCODataSet
|
||||
image_dir: val
|
||||
anno_path: annotations/zhiyuan_objv2_val.json
|
||||
dataset_dir: dataset/objects365
|
||||
allow_empty: true
|
||||
|
||||
TestDataset:
|
||||
!ImageFolder
|
||||
anno_path: annotations/zhiyuan_objv2_val.json
|
||||
dataset_dir: dataset/objects365/
|
||||
@@ -0,0 +1,21 @@
|
||||
metric: VOC
|
||||
map_type: integral
|
||||
num_classes: 4
|
||||
|
||||
TrainDataset:
|
||||
name: VOCDataSet
|
||||
dataset_dir: dataset/roadsign_voc
|
||||
anno_path: train.txt
|
||||
label_list: label_list.txt
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'difficult']
|
||||
|
||||
EvalDataset:
|
||||
name: VOCDataSet
|
||||
dataset_dir: dataset/roadsign_voc
|
||||
anno_path: valid.txt
|
||||
label_list: label_list.txt
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'difficult']
|
||||
|
||||
TestDataset:
|
||||
name: ImageFolder
|
||||
anno_path: dataset/roadsign_voc/label_list.txt
|
||||
@@ -0,0 +1,47 @@
|
||||
metric: SNIPERCOCO
|
||||
num_classes: 80
|
||||
|
||||
TrainDataset:
|
||||
!SniperCOCODataSet
|
||||
image_dir: train2017
|
||||
anno_path: annotations/instances_train2017.json
|
||||
dataset_dir: dataset/coco
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd']
|
||||
allow_empty: true
|
||||
is_trainset: true
|
||||
image_target_sizes: [2000, 1000]
|
||||
valid_box_ratio_ranges: [[-1, 0.1],[0.08, -1]]
|
||||
chip_target_size: 512
|
||||
chip_target_stride: 200
|
||||
use_neg_chip: false
|
||||
max_neg_num_per_im: 8
|
||||
|
||||
|
||||
EvalDataset:
|
||||
!SniperCOCODataSet
|
||||
image_dir: val2017
|
||||
anno_path: annotations/instances_val2017.json
|
||||
dataset_dir: dataset/coco
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd']
|
||||
allow_empty: true
|
||||
is_trainset: false
|
||||
image_target_sizes: [2000, 1000]
|
||||
valid_box_ratio_ranges: [[-1, 0.1], [0.08, -1]]
|
||||
chip_target_size: 512
|
||||
chip_target_stride: 200
|
||||
max_per_img: -1
|
||||
nms_thresh: 0.5
|
||||
|
||||
TestDataset:
|
||||
!SniperCOCODataSet
|
||||
image_dir: val2017
|
||||
dataset_dir: dataset/coco
|
||||
is_trainset: false
|
||||
image_target_sizes: [2000, 1000]
|
||||
valid_box_ratio_ranges: [[-1, 0.1],[0.08, -1]]
|
||||
chip_target_size: 500
|
||||
chip_target_stride: 200
|
||||
max_per_img: -1
|
||||
nms_thresh: 0.5
|
||||
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
metric: SNIPERCOCO
|
||||
num_classes: 9
|
||||
|
||||
TrainDataset:
|
||||
!SniperCOCODataSet
|
||||
image_dir: train
|
||||
anno_path: annotations/train.json
|
||||
dataset_dir: dataset/VisDrone2019_coco
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd']
|
||||
allow_empty: true
|
||||
is_trainset: true
|
||||
image_target_sizes: [8145, 2742]
|
||||
valid_box_ratio_ranges: [[-1, 0.03142857142857144], [0.02333211853008726, -1]]
|
||||
chip_target_size: 1536
|
||||
chip_target_stride: 1184
|
||||
use_neg_chip: false
|
||||
max_neg_num_per_im: 8
|
||||
|
||||
|
||||
EvalDataset:
|
||||
!SniperCOCODataSet
|
||||
image_dir: val
|
||||
anno_path: annotations/val.json
|
||||
dataset_dir: dataset/VisDrone2019_coco
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd']
|
||||
allow_empty: true
|
||||
is_trainset: false
|
||||
image_target_sizes: [8145, 2742]
|
||||
valid_box_ratio_ranges: [[-1, 0.03142857142857144], [0.02333211853008726, -1]]
|
||||
chip_target_size: 1536
|
||||
chip_target_stride: 1184
|
||||
max_per_img: -1
|
||||
nms_thresh: 0.5
|
||||
|
||||
TestDataset:
|
||||
!SniperCOCODataSet
|
||||
image_dir: val
|
||||
dataset_dir: dataset/VisDrone2019_coco
|
||||
is_trainset: false
|
||||
image_target_sizes: [8145, 2742]
|
||||
valid_box_ratio_ranges: [[-1, 0.03142857142857144], [0.02333211853008726, -1]]
|
||||
chip_target_size: 1536
|
||||
chip_target_stride: 1184
|
||||
max_per_img: -1
|
||||
nms_thresh: 0.5
|
||||
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
metric: RBOX
|
||||
num_classes: 9
|
||||
|
||||
TrainDataset:
|
||||
!COCODataSet
|
||||
image_dir: images
|
||||
anno_path: annotations/train.json
|
||||
dataset_dir: dataset/spine_coco
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd', 'gt_poly']
|
||||
|
||||
EvalDataset:
|
||||
!COCODataSet
|
||||
image_dir: images
|
||||
anno_path: annotations/valid.json
|
||||
dataset_dir: dataset/spine_coco
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd', 'gt_poly']
|
||||
|
||||
TestDataset:
|
||||
!ImageFolder
|
||||
anno_path: annotations/valid.json
|
||||
dataset_dir: dataset/spine_coco
|
||||
@@ -0,0 +1,22 @@
|
||||
metric: COCO
|
||||
num_classes: 10
|
||||
|
||||
TrainDataset:
|
||||
!COCODataSet
|
||||
image_dir: VisDrone2019-DET-train
|
||||
anno_path: train.json
|
||||
dataset_dir: dataset/visdrone
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd']
|
||||
|
||||
EvalDataset:
|
||||
!COCODataSet
|
||||
image_dir: VisDrone2019-DET-val
|
||||
anno_path: val.json
|
||||
# image_dir: test_dev
|
||||
# anno_path: test_dev.json
|
||||
dataset_dir: dataset/visdrone
|
||||
|
||||
TestDataset:
|
||||
!ImageFolder
|
||||
anno_path: val.json
|
||||
dataset_dir: dataset/visdrone
|
||||
@@ -0,0 +1,21 @@
|
||||
metric: VOC
|
||||
map_type: 11point
|
||||
num_classes: 20
|
||||
|
||||
TrainDataset:
|
||||
name: VOCDataSet
|
||||
dataset_dir: dataset/voc
|
||||
anno_path: trainval.txt
|
||||
label_list: label_list.txt
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'difficult']
|
||||
|
||||
EvalDataset:
|
||||
name: VOCDataSet
|
||||
dataset_dir: dataset/voc
|
||||
anno_path: test.txt
|
||||
label_list: label_list.txt
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class', 'difficult']
|
||||
|
||||
TestDataset:
|
||||
name: ImageFolder
|
||||
anno_path: dataset/voc/label_list.txt
|
||||
@@ -0,0 +1,20 @@
|
||||
metric: WiderFace
|
||||
num_classes: 1
|
||||
|
||||
TrainDataset:
|
||||
!WIDERFaceDataSet
|
||||
dataset_dir: dataset/wider_face
|
||||
anno_path: wider_face_split/wider_face_train_bbx_gt.txt
|
||||
image_dir: WIDER_train/images
|
||||
data_fields: ['image', 'gt_bbox', 'gt_class']
|
||||
|
||||
EvalDataset:
|
||||
!WIDERFaceDataSet
|
||||
dataset_dir: dataset/wider_face
|
||||
anno_path: wider_face_split/wider_face_val_bbx_gt.txt
|
||||
image_dir: WIDER_val/images
|
||||
data_fields: ['image']
|
||||
|
||||
TestDataset:
|
||||
!ImageFolder
|
||||
use_default_label: true
|
||||
Reference in New Issue
Block a user