ppyoloe_plus_crn.yml 893 字节
Newer Older
S
shangliang Xu 已提交
1 2 3 4
architecture: YOLOv3
norm_type: sync_bn
use_ema: true
ema_decay: 0.9998
5
custom_black_list: ['reduce_mean']
S
shangliang Xu 已提交
6 7 8 9 10 11 12 13 14 15 16 17

YOLOv3:
  backbone: CSPResNet
  neck: CustomCSPPAN
  yolo_head: PPYOLOEHead
  post_process: ~

CSPResNet:
  layers: [3, 6, 6, 3]
  channels: [64, 128, 256, 512, 1024]
  return_idx: [1, 2, 3]
  use_large_stem: True
18
  use_alpha: True
S
shangliang Xu 已提交
19 20 21 22 23 24 25 26 27 28 29 30

CustomCSPPAN:
  out_channels: [768, 384, 192]
  stage_num: 1
  block_num: 3
  act: 'swish'
  spp: true

PPYOLOEHead:
  fpn_strides: [32, 16, 8]
  grid_cell_scale: 5.0
  grid_cell_offset: 0.5
31
  static_assigner_epoch: 30
S
shangliang Xu 已提交
32 33 34 35 36 37 38 39 40 41 42 43
  use_varifocal_loss: True
  loss_weight: {class: 1.0, iou: 2.5, dfl: 0.5}
  static_assigner:
    name: ATSSAssigner
    topk: 9
  assigner:
    name: TaskAlignedAssigner
    topk: 13
    alpha: 1.0
    beta: 6.0
  nms:
    name: MultiClassNMS
44
    nms_top_k: 1000
45
    keep_top_k: 300
S
shangliang Xu 已提交
46
    score_threshold: 0.01
47
    nms_threshold: 0.7