EDIT: tensorflow-1.3.0-cp36-cp36m-linux_x86_64.whl
nun verschiedene Warnungen bekommen. Diese scheinen viel kleiner zu sein?Installation Tensorflow: Python - Tensorflow Version Mismatch Warnungen
2017-11-02 13:31:01.945114: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
2017-11-02 13:31:01.945138: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2017-11-02 13:31:01.945154: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2017-11-02 13:31:01.945158: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2017-11-02 13:31:01.945166: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
Ich bin auf Ubuntu 17.10 mit Python 3.6.3 installiert. I tensorflow Rad-Datei in virtualenv installiert
mitexport TF_BINARY_URL=../Downloads/tensorflow-1.4.0-cp36-cp36m-manylinux1_x86_64.whl
pip3 install --upgrade $TF_BINARY_URL
Dann unter den Beispielcode ausgeführt wird I-Code bekommen ein paar Warnungen scheint
AI/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.5 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.6
return f(*args, **kwds)
2017-11-02 12:32:13.054316: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
Das Beispiel zur Validierung nach der Installation alle Fehler zu laufen. Sollte ich sie einfach ignorieren? Habe ich die falsche Raddatei heruntergeladen?
import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))
Das hat nicht funktioniert, aber ich änderte beide 34 bis 36 meiner python-Version zu entsprechen. Ich habe Original Post mit meinen Ergebnissen aktualisiert. –
Ich glaube nicht, dass diese Warnung in Zukunft irgendwelche Probleme verursachen wird, weil diese für Berechnungszwecke sind. Wenn mich jemand in Zukunft wissen sollte –
Ja - soweit ich verstehe, ist es jetzt in Ordnung. Kann einfach schneller laufen, wenn ich aus der Quelle kompiliert habe. Danke! –