picodet_s_416_coco_lcnet.yml 846 字节
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_416_reader.yml',
]

G
Guanghua Yu 已提交
9 10
pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPLCNet_x0_75_pretrained.pdparams
weights: output/picodet_s_416_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
LCNet:
17
  scale: 0.75
G
Guanghua Yu 已提交
18
  feature_maps: [3, 4, 5]
19

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

G
Guanghua Yu 已提交
23
PicoHeadV2:
24 25 26 27 28 29 30 31
  conv_feat:
    name: PicoFeat
    feat_in: 96
    feat_out: 96
    num_convs: 2
    num_fpn_stride: 4
    norm_type: bn
    share_cls_reg: True
G
Guanghua Yu 已提交
32
    use_se: True
33
  feat_in_chan: 96
G
Guanghua Yu 已提交
34 35 36 37 38 39 40 41 42 43 44 45

TrainReader:
  batch_size: 48

LearningRate:
  base_lr: 0.24
  schedulers:
  - !CosineDecay
    max_epochs: 300
  - !LinearWarmup
    start_factor: 0.1
    steps: 300