class_docstr: Fusion Head with Heuristic method.
class_docstr_tok: ["Fusion","Head","with","Heuristic","method","."]
code: def __init__(
      self,
      num_things_classes: int = 80,
      num_stuff_classes: int = 53,
      test_cfg: OptConfigType = None,
      init_cfg: OptMultiConfig = None,
      **kwargs,
  ) -> None:
      super().__init__(
          num_things_classes=num_things_classes,
          num_stuff_classes=num_stuff_classes,
          test_cfg=test_cfg,
          loss_panoptic=None,
          init_cfg=init_cfg,
          **kwargs,
      )
  
file_path: mmdetection/mmdet/models/seg_heads/panoptic_fusion_heads/heuristic_fusion_head.py
imports: from typing import List
  import torch
  from mmengine.structures import InstanceData, PixelData
  from torch import Tensor
  from mmdet.evaluation.functional import INSTANCE_OFFSET
  from mmdet.registry import MODELS
  from mmdet.utils import InstanceList, OptConfigType, OptMultiConfig, PixelList
  from .base_panoptic_fusion_head import BasePanopticFusionHead
label_desc: Use image node_id 1 to create a new HeuristicFusionHead object from inherited base classes: BasePanopticFusionHead with example: obj = HeuristicFusionHead(num_things_classes, num_stuff_classes, test_cfg, init_cfg)