code: def init_infers(self) -> Dict[str, InferTask]:
      infers: Dict[str, InferTask] = {}
      #################################################
      # Models
      #################################################
  
      for n, b in self.models.items():
          if "deepedit" in n:
              # Adding automatic inferer
              i = BundleInferTask(b, self.conf, type="segmentation")
              logger.info(f"+++ Adding Inferer:: {n}_seg => {i}")
              infers[n + "_seg"] = i
              # Adding inferer for managing clicks
              i = BundleInferTask(b, self.conf, type="deepedit")
              logger.info("+++ Adding DeepEdit Inferer")
              infers[n] = i
          else:
              i = BundleInferTask(b, self.conf)
              logger.info(f"+++ Adding Inferer:: {n} => {i}")
              infers[n] = i
  
      return infers
  
imports: import logging
  import os
  from typing import Dict
  from monai.transforms import Invertd, SaveImaged
  import monailabel
  from monailabel.interfaces.app import MONAILabelApp
  from monailabel.interfaces.tasks.infer_v2 import InferTask
  from monailabel.interfaces.tasks.scoring import ScoringMethod
  from monailabel.interfaces.tasks.strategy import Strategy
  from monailabel.interfaces.tasks.train import TrainTask
  from monailabel.tasks.activelearning.first import First
  from monailabel.tasks.activelearning.random import Random
  from monailabel.tasks.infer.bundle import BundleInferTask
  from monailabel.tasks.scoring.epistemic_v2 import EpistemicScoring
  from monailabel.tasks.train.bundle import BundleTrainTask
  from monailabel.utils.others.generic import get_bundle_models, strtobool
label_desc: Use image node_id 2 for calling the MyApp obj's underlying member method code with example usage: obj.init_infers() and returns: infers