picodet_xs_320_coco_lcnet.yml 820 字节
Newer Older
1 2 3
_BASE_: [
  '../datasets/coco_detection.yml',
  '../runtime.yml',
G
Guanghua Yu 已提交
4
  '_base_/picodet_v2.yml',
5
  '_base_/optimizer_300e.yml',
G
Guanghua Yu 已提交
6
  '_base_/picodet_320_reader.yml',
7 8
]

G
Guanghua Yu 已提交
9 10
pretrain_weights: https://paddledet.bj.bcebos.com/models/pretrained/LCNet_x0_35_pretrained.pdparams
weights: output/picodet_xs_320_coco/best_model
11 12
find_unused_parameters: True
use_ema: true
G
Guanghua Yu 已提交
13
epoch: 300
14 15
snapshot_epoch: 10

G
Guanghua Yu 已提交
16 17 18
LCNet:
  scale: 0.35
  feature_maps: [3, 4, 5]
19

G
Guanghua Yu 已提交
20
LCPAN:
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
  out_channels: 96

PicoHeadV2:
  conv_feat:
    name: PicoFeat
    feat_in: 96
    feat_out: 96
    num_convs: 2
    num_fpn_stride: 4
    norm_type: bn
    share_cls_reg: True
    use_se: True
  feat_in_chan: 96

TrainReader:
G
Guanghua Yu 已提交
36
  batch_size: 64
37 38

LearningRate:
G
Guanghua Yu 已提交
39
  base_lr: 0.32
40 41 42 43 44 45
  schedulers:
  - !CosineDecay
    max_epochs: 300
  - !LinearWarmup
    start_factor: 0.1
    steps: 300