youyuge34/Anime-InPainting

启动程序提示的错误

codeinfall opened this issue · 1 comments

请问这个问题是怎样产生的?怎样解决?

python tool_patch.py --edge --path model/getchu/
Traceback (most recent call last): File "tool_patch.py", line 53, in <module> from main import main File "E:\Git\Anime-InPainting-master\main.py", line 5, in <module> import torch File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\__init__.py", line 84, in <module> from torch._C import * ImportError: DLL load failed: 找不到指定的模块。

pip安装的whl文件:torch-1.0.0-cp37-cp37m-win_amd64.whl

@MEANSW 查了下应该是python版本问题,建议换python3.6或3.5.4,之后重新安装对应版本的pytorch