pbaylies / stylegan-encoder

StyleGAN Encoder - converts real images to latent space
Other
740 stars 182 forks source link

OSError: Google Drive quota exceeded #46

Closed Zeltserj closed 4 years ago

Zeltserj commented 4 years ago

I'm trying to run train_resnet.py but I keep getting this:

OSError: Google Drive quota exceededOSError: Google Drive quota exceeded issue.

I tried to work around it by downloading the file in the default URL and uploading it to my own personal Google Drive, and then I get this error:

Downloading https://drive.google.com/open?id=1CeLTgZHwnwXG7rc0rXSxsf2uumBwRga6 ... done Traceback (most recent call last): File "train_resnet.py", line 242, in <module> generator_network, discriminator_network, Gs_network = pickle.load(f) _pickle.UnpicklingError: invalid load key, '<'.

Which I looked up and could not find anything useful. Any help on how to move forward and be able to train a resent / utilize the pretrained one?

pbaylies commented 4 years ago

Errors like that typically mean that you have a corrupted file. If you have no file present, then train_resnet.py will train a new one, but you might want to run it for a day or three.