We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
with torch.no_grad(): preds = model(y).clamp(0.0, 1.0)
psnr = calc_psnr(y, preds) print('PSNR: {:.2f}'.format(psnr))
在test中的计算原图与生成的图的psnr也有问题吧?psnr = calc_psnr(y, preds) 这里的y是低分辨率图像的y通道,不是应当计算原图与preds的psnr吗? 有大佬知道吗?
The text was updated successfully, but these errors were encountered:
这里是错的 ,应该是 缩放前的图片
Sorry, something went wrong.
No branches or pull requests
with torch.no_grad():
preds = model(y).clamp(0.0, 1.0)
在test中的计算原图与生成的图的psnr也有问题吧?psnr = calc_psnr(y, preds) 这里的y是低分辨率图像的y通道,不是应当计算原图与preds的psnr吗?
有大佬知道吗?
The text was updated successfully, but these errors were encountered: