在spyer里的Run->Configuration per file...(Ctrl+F6)->command line options 输入
全部改为绝对路径
RuntimeError: (PreconditionNotMet) The third-party dynamic library (cublas64_102.dll;cublas64_10.dll) that Paddle depends on is not configured correctly.
原因CUDA和飞桨版本不匹配
解决办法:
找到NVIDIA GPU Computing Toolkit安装目录:
例如:路径为C:Program FilesNVIDIA GPU Computing ToolkitCUDAv10.0bin
在bin路径下将cublas64_100.dll复制后重命名为cublas64_10.dll
在bin路径下将cusolver64_100复制后重命名为cusolver64_10
需要重启电脑