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

G
Guanghua Yu 已提交
9 10
pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPLCNet_x2_0_pretrained.pdparams
weights: output/picodet_l_320_coco/best_model
11 12
find_unused_parameters: True
use_ema: true
G
Guanghua Yu 已提交
13
epoch: 200
14 15
snapshot_epoch: 10

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

G
Guanghua Yu 已提交
20
LCPAN:
G
Guanghua Yu 已提交
21 22
  out_channels: 160

G
Guanghua Yu 已提交
23
PicoHeadV2:
24 25
  conv_feat:
    name: PicoFeat
G
Guanghua Yu 已提交
26 27
    feat_in: 160
    feat_out: 160
28 29 30
    num_convs: 4
    num_fpn_stride: 4
    norm_type: bn
G
Guanghua Yu 已提交
31
    share_cls_reg: True
G
Guanghua Yu 已提交
32
    use_se: True
G
Guanghua Yu 已提交
33
  feat_in_chan: 160
34 35

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

TrainReader:
  batch_size: 12