Skip to content

Should I reset train state metrics after each epoch of training? #3284

Answered by cgarciae
davidshen84 asked this question in Q&A
Discussion options

You must be logged in to vote

In practice you probably just want use the per step metrics during training, that is, don't use cumulative metrics for training. Using cumulative metrics for training only makes sense to get a smooth plot on a notebook environment, tools such as tensorboard or wandb let you smooth the metrics later which is much more convenient as you can still see the real data and not miss loss spikes.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@cgarciae
Comment options

Answer selected by davidshen84
@cgarciae
Comment options

@chiamp
Comment options

chiamp Aug 22, 2023
Collaborator

@davidshen84
Comment options

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