zsyOAOA / ResShift

ResShift: Efficient Diffusion Model for Image Super-resolution by Residual Shifting (NeurIPS@2023 Spotlight, TPAMI@2024)
Other
962 stars 50 forks source link

当测试的图片大小过小的时候该如何调整? #104

Closed 4C4247 closed 2 weeks ago

4C4247 commented 3 weeks ago

如题在输入尺寸为16×16的数据集上,fasting test报错尺寸不合规。我该着重修改哪个部分?

zsyOAOA commented 2 weeks ago

https://github.com/zsyOAOA/ResShift/blob/journal/sampler.py#L177

4C4247 commented 2 weeks ago

https://github.com/zsyOAOA/ResShift/blob/journal/sampler.py#L177

好的谢谢!~