dvlab-research / SNR-Aware-Low-Light-Enhance

This is the official implementation for the paper "SNR-aware low-light image enhancement" in CVPR2022
168 stars 20 forks source link

RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 376 but got size 375 for tensor number 1 in the list. #18

Open liuQan opened 10 months ago

liuQan commented 10 months ago

image 当我进行运行test.py 脚本时,出现这样的错误,照片时随机在网上找的,请问这个问题该怎么解决?? 谢谢,是我图片的问题吗、我用其他的照片可以测试成功。

QHua-Lin commented 2 weeks ago

I meet the same problem and that it may was because the image size is too small. I will try to solve the bug from this angle.