faster-rcnn_regnetx-3.2GF_fpn_ms-3x_coco.py 831 B

12345678910111213141516171819202122232425
  1. _base_ = ['../common/ms_3x_coco.py', '../_base_/models/faster-rcnn_r50_fpn.py']
  2. model = dict(
  3. data_preprocessor=dict(
  4. # The mean and std are used in PyCls when training RegNets
  5. mean=[103.53, 116.28, 123.675],
  6. std=[57.375, 57.12, 58.395],
  7. bgr_to_rgb=False),
  8. backbone=dict(
  9. _delete_=True,
  10. type='RegNet',
  11. arch='regnetx_3.2gf',
  12. out_indices=(0, 1, 2, 3),
  13. frozen_stages=1,
  14. norm_cfg=dict(type='BN', requires_grad=True),
  15. norm_eval=True,
  16. style='pytorch',
  17. init_cfg=dict(
  18. type='Pretrained', checkpoint='open-mmlab://regnetx_3.2gf')),
  19. neck=dict(
  20. type='FPN',
  21. in_channels=[96, 192, 432, 1008],
  22. out_channels=256,
  23. num_outs=5))
  24. optim_wrapper = dict(optimizer=dict(weight_decay=0.00005))