image-super-resolution
image-super-resolution copied to clipboard
unreproducible results as introduction
dear authors,
I try to use the demo code and the baboon image in your introduction as below:
import numpy as np
from PIL import Image
from ISR.models import RDN
import matplotlib.pyplot as plt
img = Image.open('./input/sx.jpg')
lr_img = np.array(img)
rdn = RDN(weights='psnr-large')
sr_img = rdn.predict(lr_img, by_patch_of_size=50)
res = Image.fromarray(sr_img)
plt.imshow(res)
plt.show()
I test different modes of weight with psnr-large/psnr-small/noise-cancel. However, none of these could generate your result. Same problem also mentioned in #186
I think I must miss something, is there any suggestion?
regards
Hi, are you able to reproduce the results on colab?
@cfrancesco no, it didn't work, the result seems not change.
Could you post a screenshot of the results?
@cfrancesco sure, both the input and output like the image here https://github.com/idealo/image-super-resolution/blob/master/figures/baboon-compare.png, the output may be slightly different from the input, but one can not figure out with eyes' observation.