Closed yang-yee closed 1 month ago
Why did I encounter image size mismatch during the testing process of HATSRx2.yml? Do I need to modify anything? Thanks.
File " /media/lab512-dell/Data2/yjq/HAT-nain/basicsr /metrics/psnr_ssin.py",line 28,in calculate_psnrassert ing.shape == ing2.shape,(f 'Image shapes are different:{ing. shape},{ing2.shape}. ") AssertionError: Inage shapes are different: (682,1024,3),(680,1024,3).
Why did I encounter image size mismatch during the testing process of HATSRx2.yml? Do I need to modify anything? Thanks.
File " /media/lab512-dell/Data2/yjq/HAT-nain/basicsr /metrics/psnr_ssin.py",line 28,in calculate_psnrassert ing.shape == ing2.shape,(f 'Image shapes are different:{ing. shape},{ing2.shape}. ") AssertionError: Inage shapes are different: (682,1024,3),(680,1024,3).