网站建设案例机构,架设仿冒网站挂马,安阳网络推广,培训班在哪个网站找这是因为在torch新版本中删除了load_lua
解决办法:首先命令行运行pip install torchfile安装torchfile,然后将utils.py第7行中的from torch.utils.serialization import load_lua改为import torchfile,最后将utils.py第90行中的load_lua改为torchfile.load这是因为在torch新版本中删除了load_lua
解决办法:首先命令行运行pip install torchfile安装torchfile,然后将utils.py第7行中的from torch.utils.serialization import load_lua改为import torchfile,最后将utils.py第90行中的load_lua改为torchfile.load