andrewliao11 / CoGAN-tensorflow

Implement Coupled Generative Adversarial Networks in Tensorflow
101 stars 28 forks source link

ValueError: No gradients provided for any variable #4

Closed leiup closed 7 years ago

leiup commented 7 years ago

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 commented 7 years ago

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

leiup commented 7 years ago

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

andrewliao11 commented 7 years ago

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 commented 7 years ago

OK, thank you all the same!