If you are using conda, you may have installed tenorflow for the processor. Check the conda list environment to see if it is. If so, uninstall the package using conda remove tensorflow and install keras-gpu instead ( conda install -c anaconda keras-gpu . This will install everything you need to run the machine learning codes in the GPU.
PS First you need to check if you installed the drivers correctly using nvidia-smi . By default, it is not in your PATH variable, so you might also need to add a folder to your path. The .exe file can be found at C:\Program Files\NVIDIA Corporation\NVSMI
source share