class_docstr: Dataset used to parallelize the transformation of the dataset via a DataLoader
code: def __getitem__(self, idx: int):
      image_path = self.images[idx]
      image_name = os.path.split(image_path)[1]
      image = Image.open(image_path)
      if image.mode == "L":
          image = image.convert("RGB")
      target = self.targets[idx]
      image.save(
          os.path.join(self.output_path, self.split, target, image_name)
      )
      return True
  
file_path: vissl/extra_scripts/datasets/create_food101_data_files.py
imports: import argparse
  import os
  from PIL import Image
  from torch.utils.data import DataLoader
  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 the Food101 obj's underlying member method code with example usage: obj.__getitem__(idx) and returns: True