Use the code below to download and process the smaller variant of the Imagenet dataset.
Credit: https://github.com/basavyr/insta_exp/blob/main/src/utils.py#L204
def download_and_prepare_tiny_imagenet():
base_name = "tiny-imagenet-200"
url = f"http://cs231n.stanford.edu/{base_name}.zip"
zip_path = os.path.join(DATASETS_DIR, f"{base_name}.zip")
extract_path = os.path.join(DATASETS_DIR, base_name)