Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnpicklingError: invalid load key, '<'. #27

Closed
josejhlee opened this issue Feb 10, 2022 · 9 comments
Closed

UnpicklingError: invalid load key, '<'. #27

josejhlee opened this issue Feb 10, 2022 · 9 comments

Comments

@josejhlee
Copy link

Hello authors,

I have an error when using the pretrained checkpoints when torch.load(args.ckpt) is run in generate.py (or any piece of code with the function). I tried re-downloading the model as proposed in this issue.
The only change I made to accommodate my CUDA 11 version was to instal pytorch with conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch. Thanks for you attention, it is much appreciated.

@josejhlee
Copy link
Author

Solved by manually downloading through the google drive link!

@brando90
Copy link

related: learnables/learn2learn#310

@chLFF
Copy link

chLFF commented Mar 4, 2022

Solved by manually downloading through the google drive link!

Can you plz share the google drive link or the checkpoints file? The links in download.sh are disabled. And i can not find the google drive link.

@josejhlee
Copy link
Author

@chLFF I am able to open the links without a problem. Which want do you want? And do the authors consent in this?

@chLFF
Copy link

chLFF commented Mar 4, 2022

@josejhlee The link says 'i'm sorry. the link has expired.' I want celeba_hq_256_8x8.pt and celeba_hq_5M_256_8x8.pt, thank you. I didn't get consent yet but i think this work is open-source.

@josejhlee
Copy link
Author

josejhlee commented Mar 4, 2022

@chLFF
Yeah, doesn't seem like they closed on purpose.
Let me know if these are the ones that you asked for.
celeba_hq_8x8_20M_revised
https://drive.google.com/file/d/1BCvVb8ipydQMFU4ZsuMcW3pKSubtALd3/view?usp=sharing
celeba_hq_8x8_5M_revised:
https://drive.google.com/file/d/17OxdwVK--WjZXrHe1iupMQSP9VscaHm0/view?usp=sharing

@chLFF
Copy link

chLFF commented Mar 4, 2022

@josejhlee 'celeba_hq_8x8_20M_revised' is one of i need, thanks! Do you have 5M-image-trained model of CelebA-256? I believe its name is celeba_hq_5M_256_8x8.pt.

@josejhlee
Copy link
Author

@chLFF My bad, I edited the link above!

@chLFF
Copy link

chLFF commented Mar 4, 2022

@josejhlee This helps me a lot, thank you! 고맙다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants