ttfnet_darknet53.yml 813 字节
Newer Older
F
Feng Ni 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
architecture: TTFNet
pretrain_weights: https://paddle-imagenet-models-name.bj.bcebos.com/DarkNet53_pretrained.tar
load_static_weights: True

TTFNet:
  backbone: DarkNet
  neck: TTFFPN
  ttf_head: TTFHead
  post_process: BBoxPostProcess

DarkNet:
  depth: 53
  freeze_at: 0
  return_idx: [0, 1, 2, 3, 4]
  norm_type: bn
  norm_decay: 0.0004

TTFFPN:
  planes: [256, 128, 64]
  shortcut_num: [1, 2, 3]
  ch_in: [1024, 256, 128]

TTFHead:
  hm_head:
    name: HMHead
    ch_in: 64
    ch_out: 128
    conv_num: 2
  wh_head:
    name: WHHead
    ch_in: 64
    ch_out: 64
    conv_num: 2
  hm_loss:
    name: CTFocalLoss
    loss_weight: 1.
  wh_loss:
    name: GIoULoss
    loss_weight: 5.
    reduction: sum


BBoxPostProcess:
  decode:
    name: TTFBox
    max_per_img: 100
    score_thresh: 0.01
    down_ratio: 4