Closed visonpon closed 7 years ago
It is because your model uses 'nngraph' but you did not require it before loading.
thanks, @albanD it works~
@albanD @visonpon so well what is the correct way load the model? Which parameter or settings I should change? Thanks in advance...
UPDATE
require 'nn'
require 'cunn'
require 'torch'
require 'cutorch'
require 'cudnn'
require 'nngraph'
m = torch.load('xxxxx.t7')
has worked for me! :smile:
then the error like this:
torch_install/torch/install****/Fiule.lua unknow torch class stack traceback:
[C]: in function 'error'.
anyone know why? thanks~