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

main_moco.py 'def accuracy' : view size is not compatible with input tensor's size and stride #2

Open
AmeeraBawazir opened this issue Oct 20, 2021 · 0 comments

Comments

@AmeeraBawazir
Copy link

AmeeraBawazir commented Oct 20, 2021

when running main_moco.py script, there is an error with the function view(-1) in 'def accuracy' function, using reshape(-1) fixes the issue
cezannec/capsule_net_pytorch#4 (comment)

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