I\'m using Ubuntu 16.04, Cuda 8.0 and cudann-v5.1. I uninstalled Tensorflow-CPU version and reinstalled tensorflow-GPU enabled. Followed the instructions given here: https:/
In my case I previously had nvidia 387.34 and later uninstalled it using
sudo apt-get purge nvidia*
Then I installed driver 384.111, added /usr/lib/nvidia-384
to my LD_LIBRARY_PATH but tensorflow was still asking for libnvidia-fatbinaryloader.so.387.34
I realized that /usr/lib/x86_64-linux-gnu
and /usr/lib/i386-linux-gnu
still had libcuda.so.387.34
Once I deleted these files from both these directories tensorflow picked up the correct version of 384.
Do apt-get remove nvidia-{{version}}
for uninstalling. Then do sudo apt-get purge nvidia*
. This will be more foolproof I guess.