load torch pretrained model error :Exception: /home/jcc/torch/install/share/lua/5.1/torch/File.lua:343: unknown Torch class <nn.gModule> stack traceback:
brisker opened this issue · comments
cccpr commented
load torch pretrained model error :Exception: /home/jcc/torch/install/share/lua/5.1/torch/File.lua:343: unknown Torch class <nn.gModule> stack traceback:
with
import PyTorchAug
import PyTorch
already done
Achal Dave commented
This seems to be the same issue as #24 . Try adding PyTorch.require('nngraph')
.