Hi, thanks for sharing your source code and CLWD dataset.
I train your model from scratch on CLWD dataset. When I test the well-trained model, I find something wrong with your evaluation code. The default return format of imread in opencv is unsigned int8, so that it will lead to numeric overflow problem when you compute the psnr directly, in which it involves the subtraction operation. I think it should be converted to int32 or float32 before computing the psnr score.
Hi, thanks for sharing your source code and CLWD dataset.
I train your model from scratch on CLWD dataset. When I test the well-trained model, I find something wrong with your evaluation code. The default return format of
imreadin opencv is unsigned int8, so that it will lead to numeric overflow problem when you compute the psnr directly, in which it involves the subtraction operation. I think it should be converted to int32 or float32 before computing the psnr score.