-
Notifications
You must be signed in to change notification settings - Fork 1
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
SSIM calculate error #1
Comments
Hi, thanks for your interest in our work! |
I used the DIV2K link you provided. It's PNG file |
@stefenmax, sorry but I failed to reproduce your error. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, thanks for your work. When I want to reproduce the result using the DIV2K dataset. When calculate the ssim it raises the error
File "/mnt/new_ssd/stefen/code/AdaBM/src/utility.py", line 265, in ssim_matlab
(_, _, height, width) = img1.size()
ValueError: too many values to unpack (expected 4)
When I check the dimension of imag1, it has 5. Should I remove the first dimension? Thanks
(Pdb) img1.size()
torch.Size([1, 1, 3, 1336, 2020])
The text was updated successfully, but these errors were encountered: