Tensorflow: No Gradients Provided For Any Variable
I am new to tensorflow and I am building a network but failing to compute/apply the gradients for it. I get the error: ValueError: No gradients provided for any variable: ((None, t
Solution 1:
I always have the tf.nn.softmax_cross_entropy_with_logits() used so that I have the logits as first argument and the labels as second. Can you try this?
Post a Comment for "Tensorflow: No Gradients Provided For Any Variable"