Hello,
I’m trying to follow the DCGAN tutorial on PyTroch on Google Colab however I keep coming across this FileNotFoundError. I’m loading in data like so:
# Loading in data

dataroot = "/content/drive/MyDrive/Colab_Notebooks/celeba"
!cd /content/drive/MyDrive/Colab_Notebooks/celeba 

!unzip -q /content/drive/MyDrive/Colab_Notebooks/celeba/img_align_celeba.zip -d img_align_celeba

dataset = dset.ImageFolder(root = dataroot,
                           transform = transforms.Compose([
                                       transforms.Resize(image_size),
                                       transforms.CenterCrop(image_size),
                                       transforms.ToTensor(),
                                       transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)),                    
                           ]))

I’m unzipping the zip that I downloaded into my G-Drive. I understand that ImageFolder expects subdirectories in the data’s root folder as stated here 2 however I’m still unsure whether it can handle zip file formats or requires them to be unzipped first? Furthermore, what if my dataset images do not have a particular like in my example where they are just facial images.