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.

2 years ago
12345678910111213141516
  1. # Copyright (c) OpenMMLab. All rights reserved.
  2. from ..builder import DETECTORS
  3. from .cascade_rcnn import CascadeRCNN
  4. @DETECTORS.register_module()
  5. class HybridTaskCascade(CascadeRCNN):
  6. """Implementation of `HTC <https://arxiv.org/abs/1901.07518>`_"""
  7. def __init__(self, **kwargs):
  8. super(HybridTaskCascade, self).__init__(**kwargs)
  9. @property
  10. def with_semantic(self):
  11. """bool: whether the detector has a semantic head"""
  12. return self.roi_head.with_semantic

No Description

Contributors (3)