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

(新人请教)Torch not compiled with CUDA enabled,怎么解决 #113

Open
yyouuoyy opened this issue Aug 17, 2023 · 3 comments
Open

Comments

@yyouuoyy
Copy link

No description provided.

@yyouuoyy
Copy link
Author

我已经解决了,我把yolo.py里面的cuda改为False,但我的电脑是安装cuda10.2的,且有CPU的,不知道具体原因

@bubbliiiing
Copy link
Owner

你有GPU吗

@ongYuan
Copy link

ongYuan commented Apr 1, 2024

首先cuda要在电脑的环境变量中的系统变量中添加路径,然后cuda版本要与torch版本匹配,具体教程在CSDN中可以找到

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

3 participants