picodet_esnet.yml 1.1 KB
Newer Older
G
Guanghua Yu 已提交
1
architecture: PicoDet
2
pretrain_weights: https://paddledet.bj.bcebos.com/models/pretrained/ESNet_x1_0_pretrained.pdparams
G
Guanghua Yu 已提交
3 4

PicoDet:
5 6
  backbone: ESNet
  neck: CSPPAN
G
Guanghua Yu 已提交
7 8
  head: PicoHead

9
ESNet:
G
Guanghua Yu 已提交
10
  scale: 1.0
11 12 13
  feature_maps: [4, 11, 14]
  act: hard_swish
  channel_ratio: [0.875, 0.5, 1.0, 0.625, 0.5, 0.75, 0.625, 0.625, 0.5, 0.625, 1.0, 0.625, 0.75]
G
Guanghua Yu 已提交
14

15 16 17 18 19
CSPPAN:
  out_channels: 128
  use_depthwise: True
  num_csp_blocks: 1
  num_features: 4
G
Guanghua Yu 已提交
20 21 22 23

PicoHead:
  conv_feat:
    name: PicoFeat
G
Guanghua Yu 已提交
24 25
    feat_in: 128
    feat_out: 128
26 27
    num_convs: 4
    num_fpn_stride: 4
G
Guanghua Yu 已提交
28 29
    norm_type: bn
    share_cls_reg: True
30
  fpn_stride: [8, 16, 32, 64]
G
Guanghua Yu 已提交
31
  feat_in_chan: 128
G
Guanghua Yu 已提交
32 33 34
  prior_prob: 0.01
  reg_max: 7
  cell_offset: 0.5
35 36
  loss_class:
    name: VarifocalLoss
G
Guanghua Yu 已提交
37
    use_sigmoid: True
38
    iou_weighted: True
G
Guanghua Yu 已提交
39 40 41 42 43 44 45
    loss_weight: 1.0
  loss_dfl:
    name: DistributionFocalLoss
    loss_weight: 0.25
  loss_bbox:
    name: GIoULoss
    loss_weight: 2.0
46 47 48 49
  assigner:
    name: SimOTAAssigner
    candidate_topk: 10
    iou_weight: 6
G
Guanghua Yu 已提交
50 51 52 53 54 55
  nms:
    name: MultiClassNMS
    nms_top_k: 1000
    keep_top_k: 100
    score_threshold: 0.025
    nms_threshold: 0.6