mask-rcnn_x101-32x8d_fpn_ms-poly-3x_coco.py 742 B

12345678910111213141516171819202122232425
  1. _base_ = [
  2. '../common/ms-poly_3x_coco-instance.py',
  3. '../_base_/models/mask-rcnn_r50_fpn.py'
  4. ]
  5. model = dict(
  6. # ResNeXt-101-32x8d model trained with Caffe2 at FB,
  7. # so the mean and std need to be changed.
  8. data_preprocessor=dict(
  9. mean=[103.530, 116.280, 123.675],
  10. std=[57.375, 57.120, 58.395],
  11. bgr_to_rgb=False),
  12. backbone=dict(
  13. type='ResNeXt',
  14. depth=101,
  15. groups=32,
  16. base_width=8,
  17. num_stages=4,
  18. out_indices=(0, 1, 2, 3),
  19. frozen_stages=1,
  20. norm_cfg=dict(type='BN', requires_grad=False),
  21. style='pytorch',
  22. init_cfg=dict(
  23. type='Pretrained',
  24. checkpoint='open-mmlab://detectron2/resnext101_32x8d')))