yuanzhi-zhu/DiffPIR

for RuntimeError

Opened this issue · 1 comments

您好,感谢您百忙之中阅读评论。
我在运行代码时更换了测试集,出现如下报错
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 66 but got size 67 for tensor number 1 in the list.
想请教一下是什么原因?

大概率是图片尺寸不对?这个方法默认的输出图片尺寸是256*256的,这是来自使用的模型的限制