Created
November 27, 2015 19:51
-
-
Save jfsantos/d631cfde0698b6013817 to your computer and use it in GitHub Desktop.
char-rnn issue with new nn.Identity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
creating an lstm with 2 layers | |
setting forget gate biases to 1 in LSTM layer 1 | |
setting forget gate biases to 1 in LSTM layer 2 | |
number of parameters in the model: 240321 | |
cloning rnn | |
cloning criterion | |
/Users/jfsantos/torch/install/bin/luajit: /Users/jfsantos/torch/install/share/lua/5.1/nn/Identity.lua:13: bad argument #1 to 'set' (expecting number or Tensor or Storage at /tmp/luarocks_torch-scm-1-8315/torch7/generic/Tensor.c:1089) | |
stack traceback: | |
[C]: in function 'set' | |
/Users/jfsantos/torch/install/share/lua/5.1/nn/Identity.lua:13: in function 'func' | |
...jfsantos/torch/install/share/lua/5.1/nngraph/gmodule.lua:252: in function 'neteval' | |
...jfsantos/torch/install/share/lua/5.1/nngraph/gmodule.lua:287: in function 'forward' | |
train.lua:270: in function 'opfunc' | |
...s/jfsantos/torch/install/share/lua/5.1/optim/rmsprop.lua:32: in function 'rmsprop' | |
train.lua:314: in main chunk | |
[C]: in function 'dofile' | |
...ntos/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk | |
[C]: at 0x0103718320 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment