0
点赞
收藏
分享

微信扫一扫

基于YOLOv7网络模型的高效SMD-PCBA检测

向上的萝卜白菜 2023-09-13 阅读 37

【存在问题】

有时候Ubuntu它自己会自动更新,使得之前能用得torch都用不了了。

输入nvidia-smi时,报错如下:

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

【解决办法】

进入cuda toolkit官网,

CUDA Toolkit 12.2 Update 2 Downloads | NVIDIA Developer

【nvidia-smi】

可以正确输出了

【nvcc -V】

输出不对,其实也没有关系的,在实际使用cuda时,我们会在子环境里安装cudatooltik

举报

相关推荐

0 条评论