-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AssertionError: Image size should be larger than 32 due to the 4 downsamplings in ms-ssim #5
Comments
Hello, have you solved this problem? |
No, do you find the solution? |
change 'assert smaller_side > (win_size - 1)' to 'assert smaller_side >= (win_size - 1)' in package pytorch_ssim line 200 |
Thank you very much! |
I didn't think about modifying the internal code of the ms-ssim package before. |
I change it but it not work |
Oh,it work,Thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In
p32.ssim_main
, there isreal_data = data_tmp.reshape(-1, 3, 32, 32)
. However, when computing the mssim the image size should be larger than 32. How to solve this problem?The text was updated successfully, but these errors were encountered: