关于有显卡有GPU但是由于各种原因缺失nvcuda.dll
TensorFlow会报这个错:
ImportError: Could not find 'nvcuda.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Typically it is installed in 'C:\Windows\System32'. If it is not present, ensure that you have a CUDA-capable GPU with the correct driver installed.
结局方法:重装驱动
nvdia官网>驱动下载>根据提示寻找自己电脑的驱动>下载>运行exe,我的建议是全部重装
重装完就ok了