TensorFlow Check GPU
tf.config.list_physical_devices('GPU')
Splendid Scarab
tf.config.list_physical_devices('GPU')
pip3 install 'tensorflow-gpu==2.7.0'
pip install --upgrade tensorflow-gpu --user
$ pip uninstall tensorflow
$ pip install tensorflow-gpu
pip3 uninstall tensorflow
pip3 install 'tensorflow-gpu==1.15.4'