Keras with TensorFlow doesn't use GPU but use the CPU

I have installed tensorflow 1.4.1 with:

pip install tensorflow==1.4.1

I have to use this version of tensorflow.

After I installed Keras with:

pip install Keras==2.1.5

Finally I installed TensorFlow-gpu with:

pip install tensorflow-gpu==1.4.1

When I run my code, I searched with:

nvidia-smi

if there was my process but it didn’t. What can i do?
P.s.
Cuda 8.0 is installed correctly.
tensorboard version 1.10.0
tensorflow-tensorboard version 0.4.0

Probably I used a wrong category, could you move to the right one?

Hi @mrcaptainalex ,

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our Community organized so users can more easily find information.

As you’ll notice, your Topic is now in the Project Development Help board. No action is needed on your part; you can continue the conversation as normal here.

Let me know if you have any other questions or if I can help with anything else.

Cheers!