tensorlayer / SRGAN

Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network
https://github.com/tensorlayer/tensorlayerx
3.32k stars 813 forks source link

Poor Evaluation Results #67

Open burgetrm opened 6 years ago

burgetrm commented 6 years ago

I have executed python main.py --mode srgan and got results in

Than executed: python main.py --mode evaluate and got valid_gen.png file: valid_gen

For this input image: valid_lr

Has anyone experienced the same issue? What can be wrong with the model?

zsdonghao commented 6 years ago

please make sure your model is for the TL version you are using

update the model and code here: https://github.com/tensorlayer/srgan/releases

wagamamaz commented 6 years ago

My result is good, that should be something wrong with the library version or other

burgetrm commented 6 years ago

Resolved, problem was with read priviledges to resulting model.

smiduthuri commented 6 years ago

Hi burgetrm, Can you elaborate a bit more on how you resolved the problem? I've been facing the same issue during evaluation.

burgetrm commented 6 years ago

In my case there were read priviledges problem - check wheather the file already exist on the given path and you have read and write priviledges.

Radim

Dne čt 5. 7. 2018 19:59 uživatel Sai Parthasarathy Miduthuri < notifications@github.com> napsal:

Hi burgetrm, Can you elaborate a bit more on how you resolved the problem? I've been facing the same issue during evaluation.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tensorlayer/srgan/issues/67#issuecomment-402788192, or mute the thread https://github.com/notifications/unsubscribe-auth/AdB04lzTAyM2oiE66r6TSn2uZd4xeG7Yks5uDkXmgaJpZM4Si0N4 .

smiduthuri commented 6 years ago

Thank you. I realized that I was facing issues due to the user permissions on the shared system I am using.

jeremy7710 commented 6 years ago

I have this issue too. And resolved. The reason is I didn't download the pre-trained model, I just download .npy file. You have to download .npz file.

link here. https://github.com/tensorlayer/srgan/releases/tag/1.2.0