Skip to content

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

Open

Description

@gauravpandeyamu

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions