Having installed tensorflow GPU (running on a measly NVIDIA GeForce 950), I would like to compare performance with the CPU.
I am running the tensorFlow MNIST tutorial c
To turn off GPU, simply add this at the top of your script.
import os os.environ["CUDA_VISIBLE_DEVICES"] = "-1"
(Comment it out when you want to use the GPU again)