code: def _fetch_datalist(self, request, datastore: Datastore):
      ds = super()._fetch_datalist(request, datastore)
  
      out_body = (
          datastore.label_map.get("OutBody", 3)
          if isinstance(datastore, CVATDatastore)
          else 1
      )
      load = LoadImage(dtype=np.uint8, image_only=True)
  
      for d in ds:
          label = d.get("label")
          if (
              label is not None
              and isinstance(label, str)
              and os.path.exists(label)
          ):
              d["label"] = int(
                  torch.max(
                      torch.where(load(d["label"]) == out_body, 1, 0)
                  )
              )
      return ds
  
file_path: MONAILabel/sample-apps/endoscopy/lib/trainers/inbody.py
imports: import logging
  import os.path
  from typing import Dict, Optional
  import numpy
  import torch
  from monai.transforms import LoadImage
  from monailabel.datastore.cvat import CVATDatastore
  from monailabel.interfaces.datastore import Datastore
  from monailabel.tasks.train.bundle import BundleConstants, BundleTrainTask
label_desc: Use image node_id 2 for calling the InBody obj's underlying member method code with example usage: obj._fetch_datalist(request, datastore) and returns: ds