code: def create_dtd_disk_folder(input_path: str, output_path: str):
      images_path = os.path.join(input_path, "images")
      splits = [
          ("train", "labels/train1.txt"),
          ("val", "labels/val1.txt"),
          ("test", "labels/test1.txt"),
          ("trainval", "labels/train1.txt"),
          ("trainval", "labels/val1.txt"),
      ]
      for split_name, split_rel_path in splits:
          create_dtd_split(
              images_path=images_path,
              split_path=os.path.join(input_path, split_rel_path),
              output_path=os.path.join(output_path, split_name),
          )
  
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 3 for calling a global function with example usage: create_dtd_disk_folder(input_path, output_path) without return types