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.

point_rend.py 884 B

2 years ago
1234567891011121314151617181920212223242526272829303132
  1. # Copyright (c) OpenMMLab. All rights reserved.
  2. from ..builder import DETECTORS
  3. from .two_stage import TwoStageDetector
  4. @DETECTORS.register_module()
  5. class PointRend(TwoStageDetector):
  6. """PointRend: Image Segmentation as Rendering
  7. This detector is the implementation of
  8. `PointRend <https://arxiv.org/abs/1912.08193>`_.
  9. """
  10. def __init__(self,
  11. backbone,
  12. rpn_head,
  13. roi_head,
  14. train_cfg,
  15. test_cfg,
  16. neck=None,
  17. pretrained=None,
  18. init_cfg=None):
  19. super(PointRend, self).__init__(
  20. backbone=backbone,
  21. neck=neck,
  22. rpn_head=rpn_head,
  23. roi_head=roi_head,
  24. train_cfg=train_cfg,
  25. test_cfg=test_cfg,
  26. pretrained=pretrained,
  27. init_cfg=init_cfg)

No Description

Contributors (3)