ttfnet_darknet53.yml 608 字节
Newer Older
F
Feng Ni 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
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
14
  return_idx: [1, 2, 3, 4]
F
Feng Ni 已提交
15 16 17
  norm_type: bn
  norm_decay: 0.0004

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

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