Skip to content
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

Getting below runtime error when i try to validate the Model #9

Open
sunilbage opened this issue Sep 14, 2022 · 0 comments
Open

Getting below runtime error when i try to validate the Model #9

sunilbage opened this issue Sep 14, 2022 · 0 comments

Comments

@sunilbage
Copy link

Traceback (most recent call last):
File "E:\Softwares\AI_Tools\Image_Quality_Assesment\DISTS\DISTS_pytorch\DISTS_pt.py", line 139, in
score = model(ref, dist)
File "D:\ProgramData\Anaconda3\envs\DISTS\lib\site-packages\torch\nn\modules\module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "E:\Softwares\AI_Tools\Image_Quality_Assesment\DISTS\DISTS_pytorch\DISTS_pt.py", line 106, in forward
xy_cov = (feats0[k]feats1[k]).mean([2,3],keepdim=True) - x_meany_mean
RuntimeError: The size of tensor a (455) must match the size of tensor b (451) at non-singleton dimension 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant