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

predict.py performs 0 iterations #150

Open
ajeb78 opened this issue Dec 30, 2022 · 1 comment
Open

predict.py performs 0 iterations #150

ajeb78 opened this issue Dec 30, 2022 · 1 comment

Comments

@ajeb78
Copy link

ajeb78 commented Dec 30, 2022

I get the following output:

~/src/DeblurGAN2$ python3 ./predict.py test_img/000027.png 
0it [00:00, ?it/s]

I have fpn_inception.h5 in the working directory and have downloaded the .pth file and put it in my torch checkpoints cache, and fixed the error in the if name == "main": code section according to the reply to the other issue here. Any ideas why it's not running?

@semel1
Copy link

semel1 commented Jul 10, 2023

"... have downloaded the .pth..."

Where did you get it from?

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

2 participants