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

RuntimeError: The size of tensor a (3) must match the size of tensor b (516) at non-singleton dimension 0 #33

Open
efsunsezer opened this issue May 26, 2021 · 0 comments

Comments

@efsunsezer
Copy link

Hi when I use ped2 (args.method == 'pred) in Evaluate.py following line

torch.mean(loss_func_mse((outputs[0]+1)/2, (imgs[0,3*4:]+1)/2)).item() causes

RuntimeError: The size of tensor a (3) must match the size of tensor b (516) at non-singleton dimension 0.

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