-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write custom loss function code to match Yang's loss function #39
Comments
|
Yang's code is actually a shortcut to categorical cross-entropy loss. The first line of code above -- the lookup of at the Then In Keras code, categorical cross-entropy does a |
Confirmed that Keras is taking averages over batches: "For training loss, keras does a running average over the batches. For validation loss, a conventional average over all the batches in validation data is performed. The training accuracy is the average of the accuracy values for each batch of training data during training." |
"running average over the batches": what are the parameters for the running average?
|
No description provided.
The text was updated successfully, but these errors were encountered: