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

pre_train question #15

Open
liyouxing opened this issue Aug 5, 2020 · 1 comment
Open

pre_train question #15

liyouxing opened this issue Aug 5, 2020 · 1 comment

Comments

@liyouxing
Copy link

hello,I'm a student, and i want to run the method and cite this paper,but the pre_train file decompress fail,can you reupload the file in github?thanks!

@liyouxing
Copy link
Author

I solved this problem after debug half a day. The pre train file don't need to decompress, ".tar" only a name extension.
So you only torch.load this file, but you should add "encoding='ISO-8859-1'".
i.e. Base.py-->load_gan--> ckpt = torch.load(ckpt_path) change to ckpt = torch.load(ckpt_path,encoding='ISO-8859-1')

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

1 participant