【报错】CUDA Error: CUDA driver version is insufficient for CUDA runtime version: Success darknet: ./src

问题

准备训练的时候发现报错:

CUDA Error: CUDA driver version is insufficient for CUDA runtime version: Success
darknet: ./src/utils.c:359: error: Assertion `0' failed.

输入nvidia-smi报错:

Failed to initialize NVML: Driver/library version mismatch

解决

一开始以为显卡掉了,Google了一下,一个答案说reboot,于是重启了一下,再次输入nvidia-smi和训练都正常了。

参考:https://stackoverflow.com/questions/65721900/failed-to-initialize-nvml-driver-library-version-mismatch-is-ubuntu-server

你可能感兴趣的:(报错,CUDA,报错)