ttfnet_darknet53.yml 587 字节
Newer Older
F
Feng Ni 已提交
1
architecture: TTFNet
2
pretrain_weights: https://paddledet.bj.bcebos.com/models/pretrained/DarkNet53_pretrained.pdparams
F
Feng Ni 已提交
3 4 5 6 7 8 9 10 11 12

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

DarkNet:
  depth: 53
  freeze_at: 0
13
  return_idx: [1, 2, 3, 4]
F
Feng Ni 已提交
14 15 16
  norm_type: bn
  norm_decay: 0.0004

17 18
# use default config
# TTFFPN:
F
Feng Ni 已提交
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34

TTFHead:
  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