Closed w268wang closed 7 years ago
Hello, @w268wang ! You need to use TensorFlow r1.0-rc0, to make Tutorials work. 0.11 is very (if we can say like that) old version.
Hi, @ruzrobert thank you for your reply!
I did a pip install tensorflow --upgrade
and it update my tensorflow to 0.12.1 (and I got the same error :( ) and the version of documents on the tensorflow website is r0.12.
Is r1.0 released and how can I get it?
Many thanks
There is even r1.0-rc1 released 21 hours ago, but I am on rc0 right now.
You can get links for downloads here:
https://github.com/tensorflow/tensorflow/commit/0174cb2541b540653859399491ff9c2192a3d29d
Specifically, for you, Mac OS X:
#
Mac OS X, CPU only, Python 3.4 or 3.5:
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.0.0rc0-py3-none-any.whl
I don't see a GPU version for Python 3 there.
Also, you can found GPU version of rc1 here:
https://www.tensorflow.org/versions/r1.0/get_started/os_setup
#
Mac OS X, GPU enabled, Python 3.4 or 3.5:
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/gpu/tensorflow_gpu-1.0.0rc1-py3-none-any.whl
#
Python 3
$ sudo pip3 install --upgrade $TF_BINARY_URL
Try that :)
Thanks a lot @ruzrobert ! That was embarrassing though... I will go checking the branches next time
I tried to run the ipynb file on my Mac and got this error
when trying to execute the second last line of the second last block
loss = tf.reduce_mean(tf.nn.nce_loss(nce_weights, nce_biases, train_labels, embed, num_sampled, voc_size))
I double checked the document, but still cannot fix the issue. Is there any idea what is going wrong? Python: 3.5 tensorflow: 0.11.0 OS: Sierra 10.12.2Many thanks