Closed SuhyeonHa closed 5 years ago
I haven't seen such issue before. Just to make sure, which PyTorch version are you using? (c.f., #20 ) I recommend to use 0.4.1 for this repo.
I used Windows10, WSL(Windows Subsystem for Linux) and PyTorch 0.4.1.
I've been having the same problem. Can someone upload a direct link to the converted models so that we can run the code with PyTorch 1.1?
And same problem again, still no solution?
@SuhyeonHa I don't have windows environment, so I cannot test it, sorry.
For convenience, I share the converted version of the models (vgg_normalized.pth/decoder.pth). Please try it and let me know if something wrong happened. (There might need some modifications for exporting 0.4 to 1.0 or 1.1, but I don't have enough time to test it all)
@naoto0804 Hi, thanks for the excellent work! But could you please release the models ([vgg_normalised.pth, decoder.pth]) on OneDrive, too? I can't download the google or dropbox link in China... Thanks very much!
@sunyuxiu OK, can you tell me the email address to send the link?
Hmm, I'm using my company's OneDrive, and it does not allow me to share the link to addresses ended with qq.com; do you have another address?
It does not work; wait a moment, I'll host a server temporarily
@naoto0804 OK.Thank you!
https://www.hal.t.u-tokyo.ac.jp/~inoue/projects/tmp/decoder.pth
https://www.hal.t.u-tokyo.ac.jp/~inoue/projects/tmp/vgg_normalized.pth
@sunyuxiu Let me know when you finish downloading
@naoto0804 The decoder.pth model is OK to download.But the vgg pth is 404 Not Found.Sorry to reply too late.
I fixed the weight. Could you try it again?
@naoto0804 It is still 404 Not Found.Not Found The requested URL /~inoue/projects/tmp/vgg_normalized.pth was not found on this server.
I found there is a typo;
https://www.hal.t.u-tokyo.ac.jp/~inoue/projects/tmp/vgg_normalised.pth
@naoto0804 Thank you.I finished.
When I type this command,
python torch_to_pytorch.py --model models/vgg_normalised.t7
It produces errors as below.
Also If I type the next line,
python torch_to_pytorch.py --model models/decoder.t7
It shows like this.
It will be so thankful if you reply to the issue. :)