To check which devices are available to TensorFlow you can use this and see if the GPU cards are available:
from tensorflow.python.client import device_lib print(device_lib.list_local_devices())
Edit Also, you should see this kind of logs if you use TensorFlow Cuda version :
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcublas.so.*.* locally I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcudnn.so.*.* locally I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcufft.so.*.* locally
Related Posts:
- What is the difference between model.fit() an model.evaluate() in Keras?
- ImportError: No module named ‘tensorflow.python’
- ImportError: No module named ‘keras’
- ImportError: libcublas.so.9.0: cannot open shared object file
- Can I run Keras model on gpu?
- What is the difference between sparse_categorical_crossentropy and categorical_crossentropy?
- LSTM Keras input shape confusion
- TensorFlow: Blas GEMM launch failed
- How to fix “AttributeError: module ‘tensorflow’ has no attribute ‘get_default_graph'”?
- Is there a tensorflow version that is compatible with Cuda 9.0 and cudnn 7.1
- Tensorflow 2.0 – AttributeError: module ‘tensorflow’ has no attribute ‘Session’
- ImportError: Failed to import pydot. You must install pydot and graphviz for `pydotprint` to work
- Tensorflow import error: No module named ‘tensorflow’
- ImportError: No module named tensorflow
- Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
- Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
- How to find which version of TensorFlow is installed in my system?
- Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
- How to fix ‘Object arrays cannot be loaded when allow_pickle=False’ for imdb.load_data() function?
- What is the meaning of the word logits in TensorFlow?
- Could not find a version that satisfies the requirement tensorflow
- Could not find a version that satisfies the requirement tensorflow
- Error Message : Cannot find or open the PDB file
- What is the use of train_on_batch() in keras?
- Convert a tensor to numpy array in Tensorflow?
- Convert a tensor to numpy array in Tensorflow?
- how to find libstdc++.so.6: that contain GLIBCXX_3.4.19 for RHEL 6?
- Convert a tensor to numpy array in Tensorflow?
- Tensorflow: why ‘pip uninstall tensorflow’ cannot find tensorflow
- Installing tensorflow with anaconda in windows
- Cannot uninstall Tensorflow
- Keras, how do I predict after I trained a model?
- error: Failed to load the native TensorFlow runtime
- NVIDIA NVML Driver/library version mismatch
- How to tell if tensorflow is using gpu acceleration from inside python shell?
- pip3: command not found
- ImportError: libcuda.so.1: cannot open shared object file
- Where do I call the BatchNormalization function in Keras?
- Import error when trying to import tensorflow with gpu
- How do I select which GPU to run a job on?
- What is the difference between np.mean and tf.reduce_mean?
- Failed to load the native TensorFlow runtime – TensorFlow 2.1
- Issues using Keras np_utils.to_categorical
- No Module Named ‘_pywrap_tensorflow_internal’
- ImportError: cannot import name ‘abs’
- Error compiling CUDA from Command Prompt
- Could not install packages due to an EnvironmentError: [WinError 5] Access is denied:
- Uninstalling TensorFlow from Anaconda environment
- Tensorflow can’t find “cudart64_90.dll” even though it is installed with Path variable set
- How to verify CuDNN installation?
- TypeError: softmax() got an unexpected keyword argument ‘axis’
- CUDA_ERROR_OUT_OF_MEMORY in tensorflow
- AttributeError: ‘Tensor’ object has no attribute ‘_keras_history’
- Get Confusion Matrix From a Keras Multiclass Model
- What’s the difference between scikit-learn and tensorflow? Is it possible to use them together?
- Error: OOM when allocating tensor with shape
- Understanding the ResourceExhaustedError: OOM when allocating tensor with shape
- tar: Unrecognized archive format error when trying to unpack flower_photos.tgz, TF tutorials on OSX
- can’t open tensorboard 0.0.0.0:6006 or localhost:6006
- Cross Validation in Keras
- ImportError: cannot import name np_utils
- getting ValueError : “Can only tuple-index with a MultiIndex “
- TensorFlow not found using pip
- Tensorflow: When should I use or not use `feed_dict`?
- NaN loss when training regression network
- Tensorflow: ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or directory
- No module named ‘tqdm’
- X Error of failed request: BadValue (integer parameter out of range for operation)
- Is it possible to run CUDA on AMD GPUs?
- What is the difference between ‘SAME’ and ‘VALID’ padding in tf.nn.max_pool of tensorflow?
- RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
- Install pip for python 3.5
- How to change python version in Anaconda?
- ImportError(‘Could not import PIL.Image. ‘ working with keras-ternsorflow
- AttributeError: ‘module’ object has no attribute ‘main’ for tf.app.run()
- How to downgrade tensorflow, multiple versions possible?
- TensorfloTensorflow installation error: not a supported wheel on this platformw installation error: not a supported wheel on this platform
- TensorFlow: how is dataset.train.next_batch defined?
- Does TensorFlow plan to support OpenCL?