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.

grid_rcnn.py 926 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 GridRCNN(TwoStageDetector):
  6. """Grid R-CNN.
  7. This detector is the implementation of:
  8. - Grid R-CNN (https://arxiv.org/abs/1811.12030)
  9. - Grid R-CNN Plus: Faster and Better (https://arxiv.org/abs/1906.05688)
  10. """
  11. def __init__(self,
  12. backbone,
  13. rpn_head,
  14. roi_head,
  15. train_cfg,
  16. test_cfg,
  17. neck=None,
  18. pretrained=None,
  19. init_cfg=None):
  20. super(GridRCNN, self).__init__(
  21. backbone=backbone,
  22. neck=neck,
  23. rpn_head=rpn_head,
  24. roi_head=roi_head,
  25. train_cfg=train_cfg,
  26. test_cfg=test_cfg,
  27. pretrained=pretrained,
  28. init_cfg=init_cfg)

No Description

Contributors (2)