ppyoloe_crn.yml 913 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. architecture: YOLOv3
  2. norm_type: sync_bn
  3. use_ema: true
  4. ema_decay: 0.9998
  5. ema_black_list: ['proj_conv.weight']
  6. custom_black_list: ['reduce_mean']
  7. YOLOv3:
  8. backbone: CSPResNet
  9. neck: CustomCSPPAN
  10. yolo_head: PPYOLOEHead
  11. post_process: ~
  12. CSPResNet:
  13. layers: [3, 6, 6, 3]
  14. channels: [64, 128, 256, 512, 1024]
  15. return_idx: [1, 2, 3]
  16. use_large_stem: True
  17. CustomCSPPAN:
  18. out_channels: [768, 384, 192]
  19. stage_num: 1
  20. block_num: 3
  21. act: 'swish'
  22. spp: true
  23. PPYOLOEHead:
  24. fpn_strides: [32, 16, 8]
  25. grid_cell_scale: 5.0
  26. grid_cell_offset: 0.5
  27. static_assigner_epoch: 100
  28. use_varifocal_loss: True
  29. loss_weight: {class: 1.0, iou: 2.5, dfl: 0.5}
  30. static_assigner:
  31. name: ATSSAssigner
  32. topk: 9
  33. assigner:
  34. name: TaskAlignedAssigner
  35. topk: 13
  36. alpha: 1.0
  37. beta: 6.0
  38. nms:
  39. name: MultiClassNMS
  40. nms_top_k: 1000
  41. keep_top_k: 300
  42. score_threshold: 0.01
  43. nms_threshold: 0.7