megvii-research / DCLS-SR

Official PyTorch implementation of the paper "Deep Constrained Least Squares for Blind Image Super-Resolution", CVPR 2022.
MIT License
219 stars 18 forks source link

关于setting2的测试情况 #33

Open SinWorld7 opened 1 year ago

SinWorld7 commented 1 year ago

首先感谢您优秀的工作。 我在setting1测试的时候psnr和论文中表述一样。但在setting2测试的时候报错了。我的DIV2KRK数据集下载的应该是没问题的。请问这是怎么一回事呢? 未命名图片3 我看了下输出日志和setting1时相比模型参数量变少了很多,但print的网络没什么问题。报的错好像是SR图像和GT图像大小不对应。请教您这是哪里出了问题呢? 未命名图片 未命名图片2

Algolzw commented 1 year ago

有可能是在制作lmdb的时候图没有对应上(多半是因为DIV2KRK图像命名问题),你可以检查一下测试时输入的LR和HR是否是对应的。

SinWorld7 commented 1 year ago

好的感谢您,我重新检查试一下。

SinWorld7 commented 1 year ago

有可能是在制作lmdb的时候图没有对应上(多半是因为DIV2KRK图像命名问题),你可以检查一下测试时输入的LR和HR是否是对应的。

我直接下的数据集就转lmdb了,确实GT里的命名和LR不一样。改了现在可以了。感谢,祝您生活愉快!

m-usman98 commented 1 year ago

有可能是在制作lmdb的时候图没有对应上(多半是因为DIV2KRK图像命名问题),你可以检查一下测试时输入的LR和HR是否是对应的。

Hey! I wonder whether or not the model is trained on the HR images processed by generate_mod_LR_bic.py. It'd be a great favor if you could answer my question.

Algolzw commented 1 year ago

Hi, all training pairs are generated using:

python3 codes/scripts/generate_mod_blur_LR_bic.py