hughperkins / pytorch

Python wrappers for torch and lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

This seems to be the same issue as #24 . Try adding PyTorch.require('nngraph').