youyuge34 / Anime-InPainting

An application tool of edge-connect, which can do anime inpainting and drawing. 动漫人物图片自动修复,去马赛克,填补,去瑕疵
Other
1.08k stars 152 forks source link

启动程序提示的错误 #12

Open codeinfall opened 4 years ago

codeinfall commented 4 years ago

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

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

youyuge34 commented 4 years ago

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