def METHOD_NAME(self, cfg_file):
    """Test init htc RoI head."""
    # Normal HTC RoI head
    roi_head_cfg = get_roi_head_cfg(cfg_file)
    roi_head = MODELS.build(roi_head_cfg)
    assert roi_head.with_bbox
    assert roi_head.with_mask
    assert roi_head.with_semantic