I have tensorflow-gpu installed, as when I run
pip uninstall tensorflow-gpu
>>>tensorflow-gpu-1.14.0
in cmd, the packages show up whereas just tensorflow doesn’t.
When I run this code in Spyder
from tensorflow.python.client import device_lib
print(device_lib.list_local_devices())
The following output shows up:
[name: "/device:CPU:0"
device_type: "CPU"
memory_limit: 268435456
locality {
}
incarnation: 17826709755029049601
]
I have a GTX 770 and have CUDA 10.0 toolkit installed.