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.

queryinst.py 761 B

2 years ago
123456789101112131415161718192021222324252627
  1. from ..builder import DETECTORS
  2. from .sparse_rcnn import SparseRCNN
  3. @DETECTORS.register_module()
  4. class QueryInst(SparseRCNN):
  5. r"""Implementation of
  6. `Instances as Queries <http://arxiv.org/abs/2105.01928>`_"""
  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(QueryInst, 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)