Puzer / stylegan-encoder

StyleGAN Encoder - converts real images to latent space
Other
1.07k stars 165 forks source link

Error while using encodie_images.py file when trying to run it in colab #29

Open KShivendu opened 4 years ago

KShivendu commented 4 years ago

Traceback (most recent call last): File "encode_images.py", line 80, in <module> main() File "encode_images.py", line 51, in main generator_network, discriminator_network, Gs_network = pickle.load(f) _pickle.UnpicklingError: invalid load key, '\x0a'.

I have duplicated pickle file in my Google drive as the quota was exceeding. But, now I am getting this error. Is is because of copying or something else ?

According to this Stackoverlow post , maybe the file itself has been corrupted. If it's the case , Is there any mirror link for the same file which can be used safely ?

ApurvaDani commented 4 years ago

Facing a similar error. Did you find a solution for this?

KShivendu commented 4 years ago

Nope.

JohnParkerLee commented 4 years ago

Trying to set 'get links' settings to 'Anyone with the link' image