报错内容:
UserWarning: You are using GPU version Paddle, but your CUDA device is not set properly. CPU device will be used by default.
"You are using GPU version Paddle, but your CUDA device is not set properly. CPU device will be used by default."
Traceback (most recent call last):
File "D:/python-pic/exm4/fruits/01_fruits.py", line 178, in <module>
place=fluid.CUDAPlace(0)#GPU上执行
OSError: (External) CUDA error(35), CUDA driver version is insufficient for CUDA runtime version.
[Hint: 'cudaErrorInsufficientDriver'. This indicates that the installed NVIDIA CUDA driver is older than the CUDA runtime library. This is not a supported configuration.Users should install an updated NVIDIA display driver to allow the application to run.] (at ..\paddle\fluid\platform\gpu_info.cc:108)
原因:
This indicates that the installed NVIDIA CUDA driver is older than the CUDA runtime library. This is not a supported configuration.Users should install an updated NVIDIA display driver to allow the application to run.
这表明安装的NVIDIA CUDA驱动程序比CUDA运行时库旧。这是一个不受支持的配置。用户应该安装一个更新的NVIDIA显示驱动程序,以允许应用程序运行。
解决办法:更新显卡驱动