code: def _parse_images(images_dir, split):
      paths_patt = os.path.join(images_dir, split, "*", "*")
      images_map = {}
      for image_path in etau.get_glob_matches(paths_patt):
          uuid = os.path.splitext(os.path.basename(image_path))[0][
              : -len("_leftImg8bit")
          ]
          images_map[uuid] = image_path
  
      return images_map
  
imports: import logging
  import os
  import eta.core.serial
  import eta.core.utils
  import fiftyone.core.dataset
  import fiftyone.core.fields
  import fiftyone.core.labels
  import fiftyone.core.media
  import fiftyone.core.sample
  import fiftyone.core.utils
  import fiftyone.utils.data
  import fiftyone.types
label_desc: Use image node_id 10 for calling a global function with example usage: _parse_images(images_dir, split) and returns: images_map