Use tf.softmax_cross_entropy_with_logits to calculate loss (#181)
* Use the tensorflow cross entropy function to prevent nan losses. * Correct double softmax and use mean for loss.
Showing
Please register or sign in to comment
* Use the tensorflow cross entropy function to prevent nan losses. * Correct double softmax and use mean for loss.