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

cp variable in line 215 of polyinterp.lua is one dimensional #77

Open
gauravpandeyamu opened this issue Oct 1, 2015 · 0 comments
Open

Comments

@gauravpandeyamu
Copy link

While training an autoencoder for mnist that uses optim.lbfgs, my program crashes at line 215 of polyinterp.lua with the error

bad argument #2 to '?' (too many indices provided at ~/torch/pkg/torch/generic/Tensor.c:894)

On inspection, I found that the cp variable is a one-dimensional tensor, but the program expects it to be two dimensional.

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