class_docstr: BoxInst box head used in https://arxiv.org/abs/2012.02310.
class_docstr_tok: ["BoxInst","box","head","used","in","https",":","\/\/arxiv.org\/abs\/2012.02310","."]
code: def __init__(self, *args, **kwargs) -> None:
      super().__init__(*args, **kwargs)
  
file_path: mmdetection/mmdet/models/dense_heads/boxinst_head.py
imports: from typing import List
  import torch
  import torch.nn.functional
  from mmengine import MessageHub
  from mmengine.structures import InstanceData
  from torch import Tensor
  from mmdet.registry import MODELS
  from mmdet.utils import InstanceList
  from ..utils.misc import unfold_wo_center
  from .condinst_head import CondInstBboxHead, CondInstMaskHead
label_desc: Use image node_id 1 to create a new BoxInstBboxHead object from inherited base classes: CondInstBboxHead with example: obj = BoxInstBboxHead()