code: def create_oxford_flowers_disk_folder(
      input_path: str, output_path: str
  ):
      images_path = os.path.join(input_path, "jpg")
      labels_path = os.path.join(input_path, "imagelabels.mat")
      setids_path = os.path.join(input_path, "setid.mat")
      set_ids = scipy.io.loadmat(setids_path)
      labels = scipy.io.loadmat(labels_path)
      splits = [
          ("trnid", "train"),
          ("valid", "train"),
          ("tstid", "test"),
      ]
      for input_split, output_split in splits:
          print(f"Processing split {input_split} to {output_split}...")
          create_oxford_flowers_split(
              images_path,
              labels["labels"][0],
              image_ids=set_ids[input_split][0],
              output_path=os.path.join(output_path, output_split),
          )
  
file_path: vissl/extra_scripts/datasets/create_oxford_flowers_data_files.py
imports: import argparse
  import os
  import shutil
  import numpy
  import scipy.io
  from tqdm import tqdm
  from vissl.utils.download import download_and_extract_archive, download_url
label_desc: Use image node_id 3 for calling a global function with example usage: create_oxford_flowers_disk_folder(input_path, output_path) without return types