Skip to content

Fix incorrect epoch loss reporting in training and validation#2

Open
SarthakJagota wants to merge 1 commit into
ccapetz:mainfrom
SarthakJagota:fix/epoch-loss-logging
Open

Fix incorrect epoch loss reporting in training and validation#2
SarthakJagota wants to merge 1 commit into
ccapetz:mainfrom
SarthakJagota:fix/epoch-loss-logging

Conversation

@SarthakJagota

Copy link
Copy Markdown

The training and validation loops were printing the loss from the last batch instead of the averaged epoch loss.

This PR updates the log statements to report epoch_loss, which correctly reflects the mean loss over all batches in the epoch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant