tensorflow - ImportError: cannot import name learn -
i followed below url creating docker , install tensorflow on vm.
http://www.netinstructions.com/how-to-install-and-run-tensorflow-on-a-windows-pc/
everything gone fine. when tried run below code, see error message below
import tensorflow tf tensorflow.contrib import learn importerror traceback (most recent call last) <ipython-input-9-e8c8ddf46f14> in <module>() 1 import tensorflow tf ----> 2 tensorflow.contrib import learn importerror: cannot import name learn
please let me know how solve issue.
you should not import manually.
once have done import tensorflow tf
, can use tf.contrib.learn
.
please follow examples.
Comments
Post a Comment