Linked Questions
12 questions linked to/from How do I check if keras is using gpu version of tensorflow?
66 votes
2 answers
173k views
How to check if keras tensorflow backend is GPU or CPU version? [duplicate]
I understand that when installing tensorflow, you either install the GPU or CPU version. How can I check which one is installed (I use linux). If the GPU version is installed, would it be ...
454 votes
32 answers
907k views
How to tell if tensorflow is using gpu acceleration from inside python shell?
I have installed tensorflow in my ubuntu 16.04 using the second answer here with ubuntu's builtin apt cuda installation. Now my question is how can I test if tensorflow is really using gpu? I have a ...
243 votes
16 answers
457k views
How to get current available GPUs in tensorflow?
I have a plan to use distributed TensorFlow, and I saw TensorFlow can use GPUs for training and testing. In a cluster environment, each machine could have 0 or 1 or more GPUs, and I want to run my ...
5 votes
2 answers
36k views
How to ensure tensorflow is using the GPU
I installed CUDA v9.2 and corresponding cuDNN manually to install tensorflow gpu But I realized that tensorflow 1.8.0 requires CUDA 9.0 so I ran pip install tensorflow-gpu from the anaconda prompt (...
3 votes
4 answers
11k views
GPU is not used for calculations despite tensorflow-gpu installed
My computer has the following software installed: Anaconda (3), TensorFlow (GPU), and Keras. There are two Anaconda virtual environments - one with TensorFlow for Python 2.7 and one for 3.5, both GPU ...
6 votes
3 answers
11k views
How ensure that Keras is using GPU with tensorflow backend?
I've created virtual notebook on Paperspace cloud infrastructure with Tensorflow GPU P5000 virtual instance on the backend. When i am starting to train my network, it woks 2x SLOWER than on my MacBook ...
1 vote
1 answer
1k views
How to confirm that NVIDIA K2200 and Tensorflow-GPU are working together correctly?
I just installed two Nvidia K2200 GPU's, CUDA software, and CuDNN software on my Windows 10 computer. I went to check if everything is working well by following this Stack Overflow answer but I got a ...
1 vote
2 answers
2k views
tensorflow keras do not use all available resources
I'm quite new in deep learning and, in order to improve my knowledge, I've been reading some books and following a video course on line. In this videocourse I have to do an exercise with convolution ...
0 votes
2 answers
2k views
Why Keras does not see my GPU while TensorFlow does?
Following an answer from SO, I have run: # confirm TensorFlow sees the GPU from tensorflow.python.client import device_lib assert 'GPU' in str(device_lib.list_local_devices()) # confirm Keras sees ...
2 votes
1 answer
2k views
tensorflow and torch.cuda can find GPU but Keras only can't
I tried with How do I check if keras is using gpu version of tensorflow? answer. But I recognized only keras doesn't see GPU. I re-installed whole requirements including tensorflow-gpu, keras module, ...
1 vote
0 answers
291 views
Keras backend and tensorflow showing conflicting GPU devices
I know there have been multiple different posts regarding this matter, but it seems every time a new keras / tensorflow version is released, there's conflict with package versions and inevtibly the ...
0 votes
0 answers
44 views
Is this amount of training time correct for this amount of data?
I'm a newbie in keras tensorflow and python. Network structure :Resnet50(with imagenet weight, all layers freezed) + 2 Bi-LSTM with 256 units Number of images : 624000 Image size : 224x224x3 Batch ...