Skip to content

Question regarding TrainingListener and CheckpointsTrainingListener #565

Answered by zachgk
hmf asked this question in Q&A
Discussion options

You must be logged in to vote

Most of the training listeners only save files when training is over, not every epoch. But, each listener has their own behavior that they add to the training process individually. The defaults are just pre-made collections of listeners. The TrainingListener.Defaults.logging is just named because it contains the LoggingTrainingListener which logs to the stdout.

If you want the CheckpointsTrainingListener to log every epoch, right now it looks like you have to set the step in the constructor to 1 (or n for every nth epoch). This seems a bit odd to me, so maybe this listener needs to be changed. You would think that a Checkpoints listener would default to checkpointing every epoch.

For the …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hmf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants