Ich benutze Ubuntu 16.04, Cuda 8.0 und cudann-v5.1. Ich habe die Tensorflow-CPU-Version deinstalliert und die Tensorflow-GPU neu installiert. Gefolgt von den hier gegebenen Anweisungen: https://alliseesolutions.wordpress.com/2016/09/08/install-gpu-tensorflow-from-sources-w-ubuntu-16-04-and-cuda-8-0-rc/ImportError: libnvidia-fatbinaryloader.so.375.39: Gemeinsame Objektdatei kann nicht geöffnet werden: Keine solche Datei oder Verzeichnis
aber wenn ich versuche, tensorflow zu laden, bekomme ich folgende Fehlermeldung:
>>> import tensorflow as tf
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py", line 24, in <module>
from tensorflow.python import *
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py", line 51, in <module>
from tensorflow.python import pywrap_tensorflow
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 56, in <module>
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
ImportError: libnvidia-fatbinaryloader.so.375.39: cannot open shared object file: No such file or directory
Failed to load the native TensorFlow runtime.
Das gleiche Problem hier. Bisher habe ich diese Fehlermeldung durch Hinzufügen von '/ usr/lib/nvidia-375' zu meiner' LD_LIBRARY_PATH' Umgebungsvariablen übergeben. Das ist aber wahrscheinlich nicht das Ende von Problemen, ich kämpfe direkt danach mit einem anderen, der ungelöst ist. –