picodet_esnet.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. architecture: PicoDet
  2. pretrain_weights: https://paddledet.bj.bcebos.com/models/pretrained/ESNet_x1_0_pretrained.pdparams
  3. PicoDet:
  4. backbone: ESNet
  5. neck: CSPPAN
  6. head: PicoHead
  7. ESNet:
  8. scale: 1.0
  9. feature_maps: [4, 11, 14]
  10. act: hard_swish
  11. channel_ratio: [0.875, 0.5, 1.0, 0.625, 0.5, 0.75, 0.625, 0.625, 0.5, 0.625, 1.0, 0.625, 0.75]
  12. CSPPAN:
  13. out_channels: 128
  14. use_depthwise: True
  15. num_csp_blocks: 1
  16. num_features: 4
  17. PicoHead:
  18. conv_feat:
  19. name: PicoFeat
  20. feat_in: 128
  21. feat_out: 128
  22. num_convs: 4
  23. num_fpn_stride: 4
  24. norm_type: bn
  25. share_cls_reg: True
  26. fpn_stride: [8, 16, 32, 64]
  27. feat_in_chan: 128
  28. prior_prob: 0.01
  29. reg_max: 7
  30. cell_offset: 0.5
  31. loss_class:
  32. name: VarifocalLoss
  33. use_sigmoid: True
  34. iou_weighted: True
  35. loss_weight: 1.0
  36. loss_dfl:
  37. name: DistributionFocalLoss
  38. loss_weight: 0.25
  39. loss_bbox:
  40. name: GIoULoss
  41. loss_weight: 2.0
  42. assigner:
  43. name: SimOTAAssigner
  44. candidate_topk: 10
  45. iou_weight: 6
  46. nms:
  47. name: MultiClassNMS
  48. nms_top_k: 1000
  49. keep_top_k: 100
  50. score_threshold: 0.025
  51. nms_threshold: 0.6