solov2_r50_enhance_coco.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. _BASE_: [
  2. '../datasets/coco_instance.yml',
  3. '../runtime.yml',
  4. '_base_/solov2_r50_fpn.yml',
  5. '_base_/optimizer_1x.yml',
  6. '_base_/solov2_light_reader.yml',
  7. ]
  8. pretrain_weights: https://paddledet.bj.bcebos.com/models/pretrained/ResNet50_vd_ssld_v2_pretrained.pdparams
  9. weights: output/solov2_r50_fpn_3x_coco/model_final
  10. epoch: 36
  11. use_ema: true
  12. ema_decay: 0.9998
  13. ResNet:
  14. depth: 50
  15. variant: d
  16. freeze_at: 0
  17. freeze_norm: false
  18. norm_type: sync_bn
  19. return_idx: [0,1,2,3]
  20. dcn_v2_stages: [1,2,3]
  21. lr_mult_list: [0.05, 0.05, 0.1, 0.15]
  22. num_stages: 4
  23. SOLOv2Head:
  24. seg_feat_channels: 256
  25. stacked_convs: 3
  26. num_grids: [40, 36, 24, 16, 12]
  27. kernel_out_channels: 128
  28. solov2_loss: SOLOv2Loss
  29. mask_nms: MaskMatrixNMS
  30. dcn_v2_stages: [2]
  31. drop_block: True
  32. SOLOv2MaskHead:
  33. mid_channels: 128
  34. out_channels: 128
  35. start_level: 0
  36. end_level: 3
  37. use_dcn_in_tower: True
  38. LearningRate:
  39. base_lr: 0.01
  40. schedulers:
  41. - !PiecewiseDecay
  42. gamma: 0.1
  43. milestones: [24, 33]
  44. - !LinearWarmup
  45. start_factor: 0.
  46. steps: 1000