from datasets import load_dataset data_dir = "processed" dataset = load_dataset("imagefolder", data_dir=data_dir)