-
Notifications
You must be signed in to change notification settings - Fork 81
Description
I cloned torch, followed by
luarocks install torch
luarocks install nn
luarocks install cutorch
luarocks install cunn
luarocks install torchx
luarocks install dpnn
However the below command (require 'dpnn') results in an error
th> require 'dpnn'
<torch-dir>/install/share/lua/5.1/trepl/init.lua:389: <torch-dir>/install/share/lua/5.1/trepl/init.lua:389: <torch-dir>/install/share/lua/5.1/torch/init.lua:102: class nn.Constant has been already assigned a parent class
stack traceback:
[C]: in function 'error'
<torch-dir>/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
[string "_RESULT={require 'dpnn'}"]:1: in main chunk
[C]: in function 'xpcall'
<torch-dir>/install/share/lua/5.1/trepl/init.lua:661: in function 'repl'
...rath/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:204: in main chunk
[C]: at 0x004064f0
note: <torch-dir> is the torch home directory