-
- environment
- Linux this problem
- is mispositioned
-
-
-
- 0. Do you have the correct cuda and cudnn versions installed?
- 1. Do you have cudnn and where?Where are the DLL files such as CUDNN64_7.DLL in the compressed package (the number changes after different versions)?2. Did you add the folder containing cudnn64_7.dll (the number changes after different versions) to the environment variable path?
-
-
-
h2> environment
系统:window10 *64
显卡:gtx970
python环境:3.5.4
tensorflow:1.8.0
cuda:cuda9.0
cudnn:cuDNN v7.1.1 (Feb 28, 2018), for CUDA 9.0
this problem in Linux
系统:window10 *64
显卡:gtx970
python环境:3.5.4
tensorflow:1.8.0
cuda:cuda9.0
cudnn:cuDNN v7.1.1 (Feb 28, 2018), for CUDA 9.0
in addition to the cause mentioned in this article, the following may also refer to reference:
http://kawahara.ca/tensorflow-failed-call-to-cuinit-cuda_error_unknown/ p>
is mispositioned
0. Have you installed the correct cuda and cudnn versions to match?
as of 2018.5.4 the installation tutorial of tensorflow official website is cuda9.0+cudnn7.0+ the latest tensorflow (1.8.0)
must strictly match the three versions (tf version with 1.7 and 1.6 although no problem was found)
official website original words:
if one of your packages is different from the above version, change to the specified version. In particular, the cuDNN version must match exactly : if cudnn64_7.dll cannot be found, TensorFlow will not load. To use different versions of cuDNN, you must build from source code.
if you use cuda9.1 you may encounter problems, either in win or Linux, as the latest version of tf is compiled against cuda9.0. Based on cuda9.1 tf under Linux build can see my articles at https://blog.csdn.net/u014561933/article/details/79995536.
if you don’t use cudnn7.0 like I do you’ll get the error I mentioned in the title, although I’m using cudnn7.1 for version 9.0. The website says matches exactly :
if this is your problem, just reinstall and restart.
1. Do you have cudnn installed and where?Where are the DLL files such as CUDNN64_7.DLL in the compressed package (the number changes after different versions)?
you need to make sure that all the files in the cudnn package like bin, include, lib/x64 are copied to the corresponding files in cuda.
2. Did you add the folder containing cudnn64_7.dll (the number changes after different versions) to the environment variable path?
is generally in cuda/bin, this directory will be added automatically in Windows installation, Linux requires manual operation.
Read More:
- failed call to cuInit: CUDA_ERROR_UNKNOWN: unknown error
- Tensorflow 2.1.0 error resolution: failed call to cuinit: CUDA_ ERROR_ NO_ DEVICE: no CUDA-capable device is detected
- Resolved failed call to cuinit: CUDA_ ERROR_ NO_ DEVICE
- linux/tensorflow: failed call to cuDevicePrimaryCtxRetain: CUDA_ERROR_INVALID_DEVICE
- To solve the problem of importerror when installing tensorflow: libcublas.so . 10.0, failed to load the native tensorflow runtime error
- Record a problem of no module named ‘tensorflow. Examples’ and’ tensorflow. Examples. Tutorials’ in tensorflow 2.0
- pycuda._driver.Error:cuInit failed:unknown error
- Error in tensorflow loading model valueerror: unknown layer: functional
- Registering in Windows10 regsvr32 xxx.ocx reported an error but the call to DIIRegisterServer failed with error code 0x80040200…
- Error: cudaGetDevice() failed. Status: CUDA driver version is insufficient for CUDA runtime version
- FCOS No CUDA runtime is found, using CUDA_HOME=’/usr/local/cuda-10.0′
- Tensorflow error: module ‘tensorflow’ has no attribute ‘xxx’
- PHP error Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Fatal error:
- Using pip to install tensorflow: tensorflow — is not a supported wheel on this platform
- Tensorflow operation report error modulenotfounderror: no module named ‘tensorflow. Python. Types’ solution
- Tensorflow UnknownError (see above for traceback): Failed to get convolution algorithm. This is pro
- Fabric appears when trying to use application call: Unknown: access denied: Channel [mychannel] creator org [org1msp]
- How to install cuda10.01in Ubuntu18.04
- Solution: Failed to load the native TensorFlow runtime.
- Solution to CUDA installation failure problem visual studio integration failed