code: def generate_relative_names(
      image_dir: Union[PurePath, str], files: List
  ) -> List:
      return [
          str(f.relative_to(Path(image_dir).absolute())) for f in files
      ]
  
file_path: imagededup/imagededup/utils/general_utils.py
imports: import json
  from multiprocessing import Pool
  from pathlib import Path, PurePath
  from typing import Callable, Dict, List, Union
  import tqdm
  from imagededup.utils.logger import return_logger
label_desc: Use image node_id 5 for calling a global function with example usage: generate_relative_names(image_dir, files) and returns: unknown