ppyoloe_plus_crn.yml 930 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. use_alpha: True
  18. CustomCSPPAN:
  19. out_channels: [768, 384, 192]
  20. stage_num: 1
  21. block_num: 3
  22. act: 'swish'
  23. spp: true
  24. PPYOLOEHead:
  25. fpn_strides: [32, 16, 8]
  26. grid_cell_scale: 5.0
  27. grid_cell_offset: 0.5
  28. static_assigner_epoch: 30
  29. use_varifocal_loss: True
  30. loss_weight: {class: 1.0, iou: 2.5, dfl: 0.5}
  31. static_assigner:
  32. name: ATSSAssigner
  33. topk: 9
  34. assigner:
  35. name: TaskAlignedAssigner
  36. topk: 13
  37. alpha: 1.0
  38. beta: 6.0
  39. nms:
  40. name: MultiClassNMS
  41. nms_top_k: 1000
  42. keep_top_k: 300
  43. score_threshold: 0.01
  44. nms_threshold: 0.7