AdaBins icon indicating copy to clipboard operation
AdaBins copied to clipboard

RuntimeError: Given groups=1, weight of size [256, 128, 1, 1], expected input[1, 98, 176, 144] to have 128 channels, but got 98 channels instead

Open 9796l opened this issue 2 years ago • 1 comments

excuse me,i used datasets which are same with nyu,but when i train the dataset,the problem is RuntimeError: Given groups=1, weight of size [256, 128, 1, 1], expected input[1, 98, 176, 144] to have 128 channels, but got 98 channels instead.

9796l avatar Dec 27 '22 03:12 9796l

I think it's because your image is too low resolution. I have encountered a similar issue and it is resolved after I resize (interpolated) the image to 640x480.

PeteBai avatar Jan 24 '23 00:01 PeteBai