Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in training resolved #5

Open
ushagayatri opened this issue Apr 12, 2017 · 0 comments
Open

Error in training resolved #5

ushagayatri opened this issue Apr 12, 2017 · 0 comments

Comments

@ushagayatri
Copy link

ushagayatri commented Apr 12, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant