-
Notifications
You must be signed in to change notification settings - Fork 33
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
Replicating Paper results using pretrained weights #7
Comments
Thanks for your attention! |
Hi
Could you please provide the script that you use to calculate the PSNR. Thanks |
I am sorry for the previous misleading comments. I have corrected it. if size(img2, 3) == 3, imdff = double(img1) - double(img2); rmse = sqrt(mean(imdff.^2)); In addition, we also adopt the script used in NTIRE2017, which uses full RGB channels and ignores the (6 + scale) pixels from the border for comparison. The PSNR score is 30.338. The detailed script is shown as if ischar(F) boundarypixels = 0; if max(F(:)) > 1 |
Hi,
Thank you so much for such fast responses. I have a few doubts regarding training the model. I think opening a separate issue for it would be much better. |
Hi @kuihua
I use Python 3 and TensorFlow 1.12.0 |
Hi Kui, Thanks |
Hi Aditya, In addition, I am sorry for your waiting in terms of the source codes of NIQE. The mail is intercepted and returned twice. Regards, |
Hi Kui
On running the script, I am able to get |
Hi,
For replicating the results of the paper, here are the steps I followed:
Downloaded pretrained weights using this link. I downloaded epoch44 as that was the latest model available at the link.
Placed
TEST1200
images crops of size512x512
intest_data
directory.Placed the files
checkpoint
,epoch44.data-00000-of-00001
andepoch44.index
inMSPFN/model/MSPFN
Replaced the lines in
MSPFN/model/test/test_MSPFN.py
img_path = '.\\test_data\\TEST100\\inputcrop\\'
toimg_path = './test_data/TEST1200/inputcrop/
save_path = '.\\test_data\\MSPFN\\'
tosave_path = './test_data/MSPFN/
saver.restore(sess, '../MSPFN/epoch50')
tosaver.restore(sess, '../MSPFN/epoch44')
Calculate the PSNR.
However, I get a PSNR of
30.34
as compared to32.39
reported in the paper.Could you please tell what other modifications are required to replicated the results of the paper.
Thanks
The text was updated successfully, but these errors were encountered: