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

RuntimeError: Couldn't load custom C++ ops. #146

Open
Asaa511 opened this issue Jan 12, 2024 · 2 comments
Open

RuntimeError: Couldn't load custom C++ ops. #146

Asaa511 opened this issue Jan 12, 2024 · 2 comments
Labels
no further question / 无更多信息 no further question and is about to be closed.

Comments

@Asaa511
Copy link

Asaa511 commented Jan 12, 2024

2024-01-12.log
image
image

RuntimeError: Couldn't load custom C++ ops. This can happen if your PyTorch and torchvision versions are incompatible, or if you had errors while compiling torchvision from source. For further information on the compatible versions, check https://github.com/pytorch/vision#installation for the compatibility matrix. Please check your PyTorch version with torch.__version__ and your torchvision version with torchvision.__version__ and verify if they are compatible, and if not please reinstall torchvision so that it matches your PyTorch install.

错误信息如上,我想这不是工具的问题,而可能是安装出问题了但我不知道如何解决这个问题,所以请求您的帮助。

@Asaa511
Copy link
Author

Asaa511 commented Jan 12, 2024

源代码安装,pycharm运行

@infstellar
Copy link
Owner

要用3.7.6的python版本

@infstellar infstellar added the no further question / 无更多信息 no further question and is about to be closed. label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no further question / 无更多信息 no further question and is about to be closed.
Projects
None yet
Development

No branches or pull requests

2 participants