ssd_vgg16_300.yml 861 字节
Newer Older
Q
qingqing01 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
architecture: SSD
pretrain_weights: https://paddlemodels.bj.bcebos.com/object_detection/dygraph/VGG16_caffe_pretrained.pdparams

# Model Achitecture
SSD:
  # model feat info flow
  backbone: VGG
  ssd_head: SSDHead
  # post process
  post_process: BBoxPostProcess

VGG:
  depth: 16
  normalizations: [20., -1, -1, -1, -1, -1]

SSDHead:
17 18 19 20 21 22 23 24 25 26
  anchor_generator:
    steps: [8, 16, 32, 64, 100, 300]
    aspect_ratios: [[2.], [2., 3.], [2., 3.], [2., 3.], [2.], [2.]]
    min_ratio: 20
    max_ratio: 90
    min_sizes: [30.0, 60.0, 111.0, 162.0, 213.0, 264.0]
    max_sizes: [60.0, 111.0, 162.0, 213.0, 264.0, 315.0]
    offset: 0.5
    flip: true
    min_max_aspect_ratios_order: true
Q
qingqing01 已提交
27 28 29 30 31 32 33 34 35 36 37

BBoxPostProcess:
  decode:
    name: SSDBox
  nms:
    name: MultiClassNMS
    keep_top_k: 200
    score_threshold: 0.01
    nms_threshold: 0.45
    nms_top_k: 400
    nms_eta: 1.0