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

ValueError: No gradients provided for any variable #4

Closed
leiup opened this issue Sep 11, 2017 · 4 comments
Closed

ValueError: No gradients provided for any variable #4

leiup opened this issue Sep 11, 2017 · 4 comments

Comments

@leiup
Copy link

leiup commented Sep 11, 2017

When running the training codes, there exists one problem: "ValueError: No gradients provided for any variable, check your graph for ops that do not support gradients". How to solve it? Thanks.

@andrewliao11
Copy link
Owner

what's your tf version? Using tf.0.12 should be fine

@leiup
Copy link
Author

leiup commented Sep 12, 2017

I use tf 1.0. How to update the source codes? Thank you very much!

@andrewliao11
Copy link
Owner

Hi @leihe001 , in fact, I can't reproduce the error you encountered.
On the other hand, I just change the requirement to tf.0.12. I'll first close this issue and you can reopen it when you fail in tf.0.12 environment.

@leiup
Copy link
Author

leiup commented Sep 13, 2017

OK, thank you all the same!

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

2 participants