in the test assignment, Cost Function section, I used

cost = tf.reduce_mean(tf.nn.softmax_cross_entropy_with_logits(logits=logits, labels=labels))

but the output was

AssertionError: Test does not match. Did you get the mean of your cost functions?

I don’t know what was wrong here… That only one line of code which cost me 40 points to pass the test… Anybody can help?

Hi, @panicpotatoe.

You’re not using the right loss function :slight_smile:

1 Like