class_docstr: Implementation of `HTC <https://arxiv.org/abs/1901.07518>`_
class_docstr_tok: ["Implementation","of","`","HTC","<","https",":","\/\/arxiv.org\/abs\/1901.07518",">","`","_"]
docstr: bool: whether the detector has a semantic head
docstr_tok: ["bool",":","whether","the","detector","has","a","semantic","head"]
code: def with_semantic(self):
      """bool: whether the detector has a semantic head"""
      return self.roi_head.with_semantic
  
imports: from ..builder import DETECTORS
  from .cascade_rcnn import CascadeRCNN
label_desc: Use image node_id 2 for calling the HybridTaskCascade obj's underlying member method code with example usage: obj.with_semantic() and returns: self