Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

启动程序提示的错误 #12

Open
codeinfall opened this issue Apr 2, 2020 · 1 comment
Open

启动程序提示的错误 #12

codeinfall opened this issue Apr 2, 2020 · 1 comment

Comments

@codeinfall
Copy link

codeinfall commented Apr 2, 2020

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

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants