Hello,
When I submit val data, I encounter the following message. How to fix it
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
Traceback (most recent call last):
File "/tmp/codalab/tmprN3rZN/run/program/evaluation.py", line 108, in
compute_psnr(ref_im,res_im)
File "/tmp/codalab/tmprN3rZN/run/program/evaluation.py", line 43, in compute_psnr
return output_psnr_mse(
File "/tmp/codalab/tmprN3rZN/run/program/evaluation.py", line 18, in output_psnr_mse
squared_error = np.square(img_orig - img_out)
ValueError: operands could not be broadcast together with shapes (5998,3998,4) (5998,3998,3)
Because the test image is a RGBA image.
Posted by: gyc2000 @ Feb. 13, 2023, 8:28 a.m.