Skip to content

Training a simple MLP binary classifier... loss is not decreasing #2254

Answered by jheek
rosikand asked this question in Q&A
Discussion options

You must be logged in to vote

You don't need to apply the softmax in your model because optax.softmax_cross_entropy does this for you. I'm also a bit unsure about the one_hot_labels computation, you might want to double check if it is producing something sensible.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@marcvanzee
Comment options

Answer selected by rosikand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants