code: def load_data(
      self,
      folder: PATH_TYPE,
      mask_folder: Optional[PATH_TYPE] = None,
      num_classes: Optional[int] = None,
      labels_map: Optional[Dict[int, Tuple[int, int, int]]] = None,
  ) -> List[Dict[str, Any]]:
      self.load_labels_map(num_classes, labels_map)
      files = os.listdir(folder)
      files.sort()
      if mask_folder is not None:
          mask_files = {
              os.path.splitext(file)[0]: file
              for file in os.listdir(mask_folder)
          }
          file_names = [os.path.splitext(file)[0] for file in files]
  
          if len(set(file_names) - mask_files.keys()) != 0:
              raise ValueError(
                  f"Found inconsistent files in input folder: {folder} and mask folder: {mask_folder}. All input "
                  f"files must have a corresponding mask file with the same name."
              )
  
          files = [os.path.join(folder, file) for file in files]
          mask_files = [
              os.path.join(mask_folder, mask_files[file_name])
              for file_name in file_names
          ]
          return super().load_data(files, mask_files)
      return super().load_data(
          [os.path.join(folder, file) for file in files]
      )
  
imports: import os
  from typing import Any, Dict, List, Optional, Tuple, Union
  import numpy
  from flash.core.data.io.input import DataKeys, Input
  from flash.core.data.utilities.loading import IMG_EXTENSIONS, NP_EXTENSIONS, load_image
  from flash.core.data.utilities.paths import PATH_TYPE, filter_valid_files
  from flash.core.data.utilities.samples import to_samples
  from flash.core.integrations.fiftyone.utils import FiftyOneLabelUtilities
  from flash.core.utilities.imports import _FIFTYONE_AVAILABLE, lazy_import
  from flash.image.data import ImageFilesInput, ImageNumpyInput, ImageTensorInput
  from flash.image.segmentation.output import SegmentationLabelsOutput
label_desc: Use image node_id 1 for calling the SemanticSegmentationFolderInput obj's underlying member method code with example usage: obj.load_data(folder, mask_folder, num_classes, labels_map) and returns: super, super