diff --git a/configs/datasets/coco_detection.yml b/configs/datasets/coco_detection.yml index ea09245144997cd1fd5254a258b51f2b93f334cd..176ba271c7910531ef1e6f8ed72572cd2a5d4efa 100644 --- a/configs/datasets/coco_detection.yml +++ b/configs/datasets/coco_detection.yml @@ -2,20 +2,20 @@ metric: COCO num_classes: 80 TrainDataset: - !COCODataSet - image_dir: train2017 - anno_path: annotations/instances_train2017.json - dataset_dir: dataset/coco - data_fields: ['image', 'gt_bbox', 'gt_class', 'is_crowd'] + 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: - !COCODataSet - image_dir: val2017 - anno_path: annotations/instances_val2017.json - dataset_dir: dataset/coco - allow_empty: true + name: COCODataSet + image_dir: val2017 + anno_path: annotations/instances_val2017.json + dataset_dir: dataset/coco + allow_empty: true TestDataset: - !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' + 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' diff --git a/configs/datasets/coco_instance.yml b/configs/datasets/coco_instance.yml index b04dbdca955a326ffc5eb13756e73ced83b92309..91c4ab8890e5353becf0deb43d9e0d256a991987 100644 --- a/configs/datasets/coco_instance.yml +++ b/configs/datasets/coco_instance.yml @@ -2,19 +2,19 @@ metric: COCO num_classes: 80 TrainDataset: - !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'] + 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: - !COCODataSet - image_dir: val2017 - anno_path: annotations/instances_val2017.json - dataset_dir: dataset/coco + name: COCODataSet + image_dir: val2017 + anno_path: annotations/instances_val2017.json + dataset_dir: dataset/coco TestDataset: - !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' + 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' diff --git a/configs/picodet/_base_/optimizer_300e.yml b/configs/picodet/_base_/optimizer_300e.yml index 0b3f5a12e46a7dd6e568824ec2cc71e3f23f541e..113707a03f6fd63dc075d0426c1a10b15d998140 100644 --- a/configs/picodet/_base_/optimizer_300e.yml +++ b/configs/picodet/_base_/optimizer_300e.yml @@ -3,9 +3,9 @@ epoch: 300 LearningRate: base_lr: 0.32 schedulers: - - !CosineDecay + - name: CosineDecay max_epochs: 300 - - !LinearWarmup + - name: LinearWarmup start_factor: 0.1 steps: 300 diff --git a/configs/picodet/legacy_model/_base_/optimizer_100e.yml b/configs/picodet/legacy_model/_base_/optimizer_100e.yml index 8adda6a64f2854a6cc158da247178291af5cca1c..c866b39985cbd3dfd80220798d90e6995299f4f2 100644 --- a/configs/picodet/legacy_model/_base_/optimizer_100e.yml +++ b/configs/picodet/legacy_model/_base_/optimizer_100e.yml @@ -3,9 +3,9 @@ epoch: 100 LearningRate: base_lr: 0.4 schedulers: - - !CosineDecay + - name: CosineDecay max_epochs: 100 - - !LinearWarmup + - name: LinearWarmup start_factor: 0.1 steps: 300 diff --git a/configs/picodet/legacy_model/_base_/optimizer_300e.yml b/configs/picodet/legacy_model/_base_/optimizer_300e.yml index 5a89bbbcef9140f16f236471fb5f7748c5416771..fa4c9094a23d39fcce343a529cacac9beb74a675 100644 --- a/configs/picodet/legacy_model/_base_/optimizer_300e.yml +++ b/configs/picodet/legacy_model/_base_/optimizer_300e.yml @@ -3,9 +3,9 @@ epoch: 300 LearningRate: base_lr: 0.4 schedulers: - - !CosineDecay + - name: CosineDecay max_epochs: 300 - - !LinearWarmup + - name: LinearWarmup start_factor: 0.1 steps: 300 diff --git a/configs/picodet/picodet_l_416_coco_lcnet.yml b/configs/picodet/picodet_l_416_coco_lcnet.yml index 8b97bd03e89fbd279512a5e09b13618d02695b8f..f508e21d7ea3ddc518b4618873d78b56625bb93f 100644 --- a/configs/picodet/picodet_l_416_coco_lcnet.yml +++ b/configs/picodet/picodet_l_416_coco_lcnet.yml @@ -35,9 +35,9 @@ PicoHeadV2: LearningRate: base_lr: 0.12 schedulers: - - !CosineDecay + - name: CosineDecay max_epochs: 300 - - !LinearWarmup + - name: LinearWarmup start_factor: 0.1 steps: 300 diff --git a/configs/picodet/picodet_m_320_coco_lcnet.yml b/configs/picodet/picodet_m_320_coco_lcnet.yml index cd9cca9cad7aa2a8dd0f3d11d85e7cbb8235b8a6..bd188c2188f73400e2423629aa8856137aa5082c 100644 --- a/configs/picodet/picodet_m_320_coco_lcnet.yml +++ b/configs/picodet/picodet_m_320_coco_lcnet.yml @@ -18,8 +18,8 @@ TrainReader: LearningRate: base_lr: 0.24 schedulers: - - !CosineDecay + - name: CosineDecay max_epochs: 300 - - !LinearWarmup + - name: LinearWarmup start_factor: 0.1 steps: 300 diff --git a/configs/picodet/picodet_m_416_coco_lcnet.yml b/configs/picodet/picodet_m_416_coco_lcnet.yml index 130303d39de17dc15564539fb5649e8cb66b1a78..c224f4e0975f04a7e76c0d80c511b730c02175d4 100644 --- a/configs/picodet/picodet_m_416_coco_lcnet.yml +++ b/configs/picodet/picodet_m_416_coco_lcnet.yml @@ -18,8 +18,8 @@ TrainReader: LearningRate: base_lr: 0.24 schedulers: - - !CosineDecay + - name: CosineDecay max_epochs: 300 - - !LinearWarmup + - name: LinearWarmup start_factor: 0.1 steps: 300 diff --git a/configs/picodet/picodet_xs_416_coco_lcnet.yml b/configs/picodet/picodet_xs_416_coco_lcnet.yml index 352fa951199407169d79c5c1f56a0a1f8dbe0088..8ca47d23a9c6541e9d02aac74fa43d31b8469ed9 100644 --- a/configs/picodet/picodet_xs_416_coco_lcnet.yml +++ b/configs/picodet/picodet_xs_416_coco_lcnet.yml @@ -38,8 +38,8 @@ TrainReader: LearningRate: base_lr: 0.28 schedulers: - - !CosineDecay + - name: CosineDecay max_epochs: 300 - - !LinearWarmup + - name: LinearWarmup start_factor: 0.1 steps: 300 diff --git a/configs/ppyoloe/_base_/optimizer_300e.yml b/configs/ppyoloe/_base_/optimizer_300e.yml index ab94c9c3ea313e3290117c1134132d92f3dd761f..d07bf4e53ef03571a04bda6353f798eabe24dfcd 100644 --- a/configs/ppyoloe/_base_/optimizer_300e.yml +++ b/configs/ppyoloe/_base_/optimizer_300e.yml @@ -3,9 +3,9 @@ epoch: 300 LearningRate: base_lr: 0.01 schedulers: - - !CosineDecay + - name: CosineDecay max_epochs: 360 - - !LinearWarmup + - name: LinearWarmup start_factor: 0. epochs: 5 diff --git a/configs/ppyoloe/_base_/optimizer_36e_xpu.yml b/configs/ppyoloe/_base_/optimizer_36e_xpu.yml index 59d76f4bae98e4774c2cee9cbc8c77ac341af35d..951938468bd767369a41a8318306d8301e5a62fb 100644 --- a/configs/ppyoloe/_base_/optimizer_36e_xpu.yml +++ b/configs/ppyoloe/_base_/optimizer_36e_xpu.yml @@ -3,9 +3,9 @@ epoch: 36 LearningRate: base_lr: 0.00125 schedulers: - - !CosineDecay + - name: CosineDecay max_epochs: 43 - - !LinearWarmup + - name: LinearWarmup start_factor: 0.001 steps: 2000 diff --git a/configs/ppyoloe/_base_/optimizer_400e.yml b/configs/ppyoloe/_base_/optimizer_400e.yml index de33fb749509bd2a3bbd6727aa698827ab634d12..0a8a5a6c377d2886e3c8e53b3d8fd03d7fba1146 100644 --- a/configs/ppyoloe/_base_/optimizer_400e.yml +++ b/configs/ppyoloe/_base_/optimizer_400e.yml @@ -3,9 +3,9 @@ epoch: 400 LearningRate: base_lr: 0.01 schedulers: - - !CosineDecay + - name: CosineDecay max_epochs: 480 - - !LinearWarmup + - name: LinearWarmup start_factor: 0. epochs: 5 diff --git a/configs/ppyoloe/_base_/optimizer_60e.yml b/configs/ppyoloe/_base_/optimizer_60e.yml index 6df9a5659ea2559bc7be2f1405b59a43303cc1d8..b261003db3aa56122022234bb0332b4db811ae63 100644 --- a/configs/ppyoloe/_base_/optimizer_60e.yml +++ b/configs/ppyoloe/_base_/optimizer_60e.yml @@ -3,9 +3,9 @@ epoch: 60 LearningRate: base_lr: 0.001 schedulers: - - !CosineDecay + - name: CosineDecay max_epochs: 72 - - !LinearWarmup + - name: LinearWarmup start_factor: 0. epochs: 1 diff --git a/configs/ppyoloe/_base_/optimizer_80e.yml b/configs/ppyoloe/_base_/optimizer_80e.yml index 7a8773df15aa103f3194f56634604d84a2a084eb..b6ba4ec31a9703c56d2e470b646354cfdfdb7ddc 100644 --- a/configs/ppyoloe/_base_/optimizer_80e.yml +++ b/configs/ppyoloe/_base_/optimizer_80e.yml @@ -3,9 +3,9 @@ epoch: 80 LearningRate: base_lr: 0.001 schedulers: - - !CosineDecay + - name: CosineDecay max_epochs: 96 - - !LinearWarmup + - name: LinearWarmup start_factor: 0. epochs: 5