code: def create_dtd_split(
      images_path: str, split_path: str, output_path: str
  ):
      with open(split_path, "r") as split:
          for line in tqdm(split):
              image_relative_path = line.strip()
              label_name = os.path.split(image_relative_path)[0]
              label_path = os.path.join(output_path, label_name)
              os.makedirs(label_path, exist_ok=True)
              shutil.copy(
                  src=os.path.join(images_path, image_relative_path),
                  dst=label_path,
              )
  
file_path: vissl/extra_scripts/datasets/create_dtd_data_files.py
imports: import argparse
  import os
  import shutil
  from tqdm import tqdm
  from vissl.utils.download import download_and_extract_archive
  from vissl.utils.io import cleanup_dir
label_desc: Use image node_id 4 for calling a global function with example usage: create_dtd_split(images_path, split_path, output_path) without return types