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

Output images are completely black #2

Open
MFarooqAit opened this issue Aug 3, 2020 · 8 comments
Open

Output images are completely black #2

MFarooqAit opened this issue Aug 3, 2020 · 8 comments

Comments

@MFarooqAit
Copy link

Dear author,
Thank you so much for sharing the simplified code of ESRGAN.

I have used your training code for my own dataset, but testing code produced completely black super resolved images.

Kindly guide.
Best,
Farooq

@purijs
Copy link

purijs commented Oct 20, 2020

Same issue, were you able to resolve it?

@MFarooqAit
Copy link
Author

MFarooqAit commented Oct 20, 2020

Dear purijis,
Try to load your trained model by editing the test.py file, e.g,
net.load_state_dict(torch.load('checkpoints/generator_100.pth'))

Results are still not very impressive.

@purijs
Copy link

purijs commented Oct 22, 2020

Dear purijis,
Try to load your trained model by editing the test.py file, e.g,
net.load_state_dict(torch.load('checkpoints/generator_100.pth'))

Results are still not very impressive.

Thanks, also the loss values keep fluctuating for me, is it happening for you too? I tried training on 100 images for 500 epochs

@MFarooqAit
Copy link
Author

I did not observed it, but results are not very good on my dataset (1600 images) trained for 200 epochs.

@purijs
Copy link

purijs commented Oct 25, 2020

I did not observed it, but results are not very good on my dataset (1600 images) trained for 200 epochs.

Right, for me, model is also not generalising well for test data, what other approaches or gan models are you trying?

@thunanguyen
Copy link

thunanguyen commented Oct 28, 2020

I think we need to train around 100k epochs to have a good GAN guys

@thunanguyen
Copy link

thunanguyen commented Nov 4, 2020 via email

@veb-101
Copy link

veb-101 commented Jan 22, 2021

Any updates on this?

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

4 participants