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

pretrained weight #2

Open
SaharR1372 opened this issue Aug 9, 2022 · 2 comments
Open

pretrained weight #2

SaharR1372 opened this issue Aug 9, 2022 · 2 comments

Comments

@SaharR1372
Copy link

Hi, Thanks to your amazing work. I was trying to test the model, I put the pretrained weight exactly as should be according to test file details but still I have bellow error, would you please let me know what is the problem?
root: pretrained>gen_net_8x or 16x>archive...
Error:
Exception: the per-trained generator file is not found.

@hamidreza-dastmalchi
Copy link
Owner

Hi Sahar,
Thank you for your interest in the work. I hope it would be helpful for your future research.
Regarding the issue, have you already downloaded the pre-trained weights and put them in a folder named pretrained located in the root? If not, please download the pretrained weights, create a new folder in the root entitled "pretrained" and place the downloaded weights in it. You can download the weights from the below link:
https://drive.google.com/drive/folders/18V1kPDHW6F05L0xOOODNHZHO566SA6iC

@HeChengHui
Copy link

@hamidreza-dastmalchi
I have the pretrained models placed in ...\WIPA-Face-Super-Resolution\pretrained, with gen_net_8x.zip, gen_net_16x.zip and sface.pth inside the pretrained folder.

I tried running python test.py and got the following error:

WIPA-Face-Super-Resolution\test.py", line 64, in <module>
    raise Exception("the pre-trained generator file is not found.")
Exception: the pre-trained generator file is not found.

Any advice?

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