lua: /root/torch/install/share/lua/5.1/nn/Copy.lua:12: attempt to index a nil value
stack traceback:
/root/torch/install/share/lua/5.1/nn/Copy.lua:12: in function '__init'
/root/torch/install/share/lua/5.1/torch/init.lua:91: in function </root/torch/install/share/lua/5.1/torch/init.lua:87>
[C]: in function 'Copy'
/root/train_ocr/model/config.lua:62: in function 'createModel'
convert_t7.lua:100: in main chunk
I got an error in lua script:
The line 62 in config.lua:
The line 12 in Copy.lua:
I found that
torch.getmetatable(outtype)
returnsnil
. The value ofouttype
istorch.CudaTensor
Is there notorch.CudaTensor
now in torch7?