Skip to content

getParameters problem #166

Description

@mhmtsarigul

Hello.

I try to retrain a pretrained model with optim package. But when i call getParameters, i get an arror.

"/home/msg/torch/install/bin/luajit: /home/msg/torch/install/share/lua/5.1/nn/Module.lua:251: attempt to index a number value
stack traceback:
/home/msg/torch/install/share/lua/5.1/nn/Module.lua:251: in function 'flatten'
/home/msg/torch/install/share/lua/5.1/nn/Module.lua:326: in function 'getParameters'
/home/msg/imagenet-multiGPU.torch-master/train.lua:149: in main chunk
[C]: in function 'dofile'
main.lua:41: in main chunk
[C]: in function 'dofile'
.../msg/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00406670
"

What can i do to fix this problem.

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