I am getting this error :
tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot assign a device for operation tower_0/DeserializeSparse: Could not satisfy explicit device specification '/device:GPU:0' because no supported kernel for GPU devices is available.
Colocation Debug Info:
Colocation group had the following types and supported devices:
Root Member(assigned_device_name_index_=-1 requested_device_name_='/device:GPU:0' assigned_device_name_='' resource_device_name_='' supported_device_types_=[CPU] possible_devices_=[]
DeserializeSparse: CPU
Colocation members, user-requested devices, and framework assigned devices, if any:
tower_0/DeserializeSparse (DeserializeSparse) /device:GPU:0
Op: DeserializeSparse
Node attrs: dtype=DT_INT32, Tserialized=DT_VARIANT
Registered kernels:
device='CPU'; Tserialized in [DT_VARIANT]
device='CPU'; Tserialized in [DT_STRING]
[[{{node tower_0/DeserializeSparse}}]]
Is it due to cuda version ?
by the way I followed all what you did in “https://github.com/mozilla/DeepSpeech”
Here is all the command I executed :
virtualenv -p python3 $HOME/tmp/deepspeech-venv/
source $HOME/tmp/deepspeech-venv/bin/activate
pip install deepspeech-gpu==0.6.0a4
cd DeepSpeech
pip3 install -r requirements.txt
pip3 install $(python3 util/taskcluster.py --decoder)
pip3 uninstall tensorflow
pip3 install 'tensorflow-gpu==1.14.0'
And I have cuda10.0. Here is the output of nvcc -V :
nvcc: NVIDIA ® Cuda compiler driver
Copyright © 2005-2018 NVIDIA Corporation
Built on Sat_Aug_25_21:08:01_CDT_2018
Cuda compilation tools, release 10.0, V10.0.130
Then when I execute the command to train my model, I get the above error.