You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

mask_rcnn.py 803 B

2 years ago
123456789101112131415161718192021222324252627
  1. # Copyright (c) OpenMMLab. All rights reserved.
  2. from ..builder import DETECTORS
  3. from .two_stage import TwoStageDetector
  4. @DETECTORS.register_module()
  5. class MaskRCNN(TwoStageDetector):
  6. """Implementation of `Mask R-CNN <https://arxiv.org/abs/1703.06870>`_"""
  7. def __init__(self,
  8. backbone,
  9. rpn_head,
  10. roi_head,
  11. train_cfg,
  12. test_cfg,
  13. neck=None,
  14. pretrained=None,
  15. init_cfg=None):
  16. super(MaskRCNN, self).__init__(
  17. backbone=backbone,
  18. neck=neck,
  19. rpn_head=rpn_head,
  20. roi_head=roi_head,
  21. train_cfg=train_cfg,
  22. test_cfg=test_cfg,
  23. pretrained=pretrained,
  24. init_cfg=init_cfg)

No Description

Contributors (3)