Hi @ptrblck - thanks for replying.

ImageFolder expects to find valid image files in each subfolder and won’t unzip nested folders first.

Does it expect subfolders to be labelled such as test, train etc or is the requirement that images only exist in a subfolder? If I unzip the file provided in this PyTroch demo (DCGAN Tutorial — PyTorch Tutorials 1.10.0+cu102 documentation 1) it produces a folder with all images inside - i.e. not separate into subfolders. The confusion occurs when it states the …ImageFolder dataset class, which requires there to be subdirectories in the dataset’s root folder.