mask-rcnn_x101-32x8d_fpn_1x_coco.py 683 B

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