ppyoloe_plus_crn_tiny_auxhead.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. architecture: PPYOLOEWithAuxHead
  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. PPYOLOEWithAuxHead:
  8. backbone: CSPResNet
  9. neck: CustomCSPPAN
  10. yolo_head: PPYOLOEHead
  11. aux_head: SimpleConvHead
  12. post_process: ~
  13. CSPResNet:
  14. layers: [3, 6, 6, 3]
  15. channels: [64, 128, 256, 512, 1024]
  16. return_idx: [1, 2, 3]
  17. use_large_stem: True
  18. use_alpha: True
  19. CustomCSPPAN:
  20. out_channels: [384, 384, 384]
  21. stage_num: 1
  22. block_num: 3
  23. act: 'swish'
  24. spp: true
  25. SimpleConvHead:
  26. feat_in: 288
  27. feat_out: 288
  28. num_convs: 1
  29. fpn_strides: [32, 16, 8]
  30. norm_type: 'gn'
  31. act: 'LeakyReLU'
  32. reg_max: 16
  33. PPYOLOEHead:
  34. fpn_strides: [32, 16, 8]
  35. grid_cell_scale: 5.0
  36. grid_cell_offset: 0.5
  37. static_assigner_epoch: 100
  38. use_varifocal_loss: True
  39. loss_weight: {class: 1.0, iou: 2.5, dfl: 0.5}
  40. attn_conv: 'repvgg' #
  41. static_assigner:
  42. name: ATSSAssigner
  43. topk: 9
  44. assigner:
  45. name: TaskAlignedAssigner
  46. topk: 13
  47. alpha: 1.0
  48. beta: 6.0
  49. is_close_gt: True #
  50. nms:
  51. name: MultiClassNMS
  52. nms_top_k: 1000
  53. keep_top_k: 300
  54. score_threshold: 0.01
  55. nms_threshold: 0.7