[PYTHON] If you think tensorflow doesn't recognize your GPU on AWS

I prepared an EC2 instance for deep learning on AWS and ran the test code, but it didn't recognize the GPU.

As a result of various investigations, I noticed that I was using tensorflow for CPU.

$ conda install tensorflow-gpu

Solved with (in the case of anaconda). To install from pip, see here.

Recommended Posts

If you think tensorflow doesn't recognize your GPU on AWS
Run TensorFlow on a GPU instance on AWS
Try Tensorflow with a GPU instance on AWS
Run GPU version tensorflow on AWS EC2 Spot Instances
Use jupyter on AWS GPU instance
What to do if you forget your login password on Manjaro Linux
June 2017 version to build Tensorflow / Keras environment on GPU instance of AWS
Until you publish your Django application (+ MySQL) on AWS EC2 (+ RDS (+ S3))
I installed TensorFlow (GPU version) on Ubuntu
Import your own functions on AWS Glue