Skip to content

Add epoch and validation loss to checkpoint#181

Open
calittle wants to merge 1 commit into
jcjohnson:masterfrom
calittle:patch-1
Open

Add epoch and validation loss to checkpoint#181
calittle wants to merge 1 commit into
jcjohnson:masterfrom
calittle:patch-1

Conversation

@calittle
Copy link
Copy Markdown

Update the checkpoint filename to include the epoch value and validation loss value so we sample against a checkpoint with a lower (or not!) validation loss. From Karpathy's char-rnn implementation.

Update the checkpoint filename to include the epoch value and validation loss value so we sample against a checkpoint with a lower (or not!) validation loss.
@ChrisCummins
Copy link
Copy Markdown
Collaborator

Looks good. I think versioning checkpoints on more parameters is a sensible idea. Quick question - why do we need to store both the epoch value, and iteration number? Can epochs not be derived from iteration count?

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.

2 participants