code: def file2id(folder_path, file_path, split_str="_"):
      image_id = os.path.normpath(
          os.path.relpath(file_path, start=folder_path)
      )
      if split_str in image_id:
          image_id = os.path.splitext(image_id)[0].split(split_str)[0]
      else:
          image_id = os.path.splitext(image_id)[0]
      return image_id
  
imports: import os
  import shutil
  import uuid
  import numpy
  import numpy.testing
  import pandas
  import pytest
  import torch
  from autogluon.core.utils.loaders import load_zip
  from autogluon.multimodal import MultiModalPredictor
label_desc: Use image node_id 1 for calling a global function with example usage: file2id(folder_path, file_path, split_str) and returns: image_id