gfl_r50_fpn.yml 939 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. architecture: GFL
  2. pretrain_weights: https://paddledet.bj.bcebos.com/models/pretrained/ResNet50_cos_pretrained.pdparams
  3. GFL:
  4. backbone: ResNet
  5. neck: FPN
  6. head: GFLHead
  7. ResNet:
  8. depth: 50
  9. variant: b
  10. norm_type: bn
  11. freeze_at: 0
  12. return_idx: [1,2,3]
  13. num_stages: 4
  14. FPN:
  15. out_channel: 256
  16. spatial_scales: [0.125, 0.0625, 0.03125]
  17. extra_stage: 2
  18. has_extra_convs: true
  19. use_c5: false
  20. GFLHead:
  21. conv_feat:
  22. name: FCOSFeat
  23. feat_in: 256
  24. feat_out: 256
  25. num_convs: 4
  26. norm_type: "gn"
  27. use_dcn: false
  28. fpn_stride: [8, 16, 32, 64, 128]
  29. prior_prob: 0.01
  30. reg_max: 16
  31. loss_class:
  32. name: QualityFocalLoss
  33. use_sigmoid: True
  34. beta: 2.0
  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. nms:
  43. name: MultiClassNMS
  44. nms_top_k: 1000
  45. keep_top_k: 100
  46. score_threshold: 0.025
  47. nms_threshold: 0.6