Error in training resolved
ushagayatri opened this issue · 0 comments
ushagayatri commented
To switch to tensorflow 0.9 on python 3-
so now i am using python 3 and Tensorflow 0.9.
export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/tensorflow-0.9.0rc0-py3-none-any.whl
python3 -m pip install $TF_BINARY_URL
Then at line 82
replace this -
losses = tf.nn.softmax_cross_entropy_with_logits(self.scores, self.input_y)
with -
losses = tf.nn.softmax_cross_entropy_with_logits(labels = self.input_y, logits = self.scores) # only named arguments accepted
This worked for me! @jiegzhan , Do you agree with this?