mask-rcnn_regnetx-800MF_fpn_ms-poly-3x_coco.py 740 B

1234567891011121314151617181920212223242526
  1. _base_ = [
  2. '../common/ms-poly_3x_coco-instance.py',
  3. '../_base_/models/mask-rcnn_r50_fpn.py'
  4. ]
  5. model = dict(
  6. backbone=dict(
  7. _delete_=True,
  8. type='RegNet',
  9. arch='regnetx_800mf',
  10. out_indices=(0, 1, 2, 3),
  11. frozen_stages=1,
  12. norm_cfg=dict(type='BN', requires_grad=True),
  13. norm_eval=True,
  14. style='pytorch',
  15. init_cfg=dict(
  16. type='Pretrained', checkpoint='open-mmlab://regnetx_800mf')),
  17. neck=dict(
  18. type='FPN',
  19. in_channels=[64, 128, 288, 672],
  20. out_channels=256,
  21. num_outs=5))
  22. optim_wrapper = dict(
  23. optimizer=dict(type='SGD', lr=0.02, momentum=0.9, weight_decay=0.00005),
  24. clip_grad=dict(max_norm=35, norm_type=2))