Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

(Easy)Echo epoch number to console while training #712

Closed
wants to merge 1 commit into from

Conversation

kmalik22
Copy link

Summary:
We output a bunch of training metrics to the console, but not the epoch number. This diff adds epoch number - very useful to monitor progress of long training runs

Output before diff:
Stage.EVAL
loss: 1.219663
Accuracy: 96.70

Output after diff:
Stage.EVAL
Epoch:10
loss: 1.219663
Accuracy: 96.70

Differential Revision: D15924282

Summary:
We output a bunch of training metrics to the console, but not the epoch number. This diff adds epoch number - very useful to monitor progress of long training runs

Output before diff:
`Stage.EVAL`
`loss: 1.219663`
`Accuracy: 96.70`

Output after diff:
`Stage.EVAL`
**`Epoch:10`**
`loss: 1.219663`
`Accuracy: 96.70`

Differential Revision: D15924282

fbshipit-source-id: 538ea4a7c1ba93ef69e8777208264757ddb07593
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jun 20, 2019
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in a445f19.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants