Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a tensorboard log for final training loss value. #455

Open
rnyak opened this issue Dec 16, 2019 · 2 comments
Open

Add a tensorboard log for final training loss value. #455

rnyak opened this issue Dec 16, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@rnyak
Copy link

rnyak commented Dec 16, 2019

Describe the bug
When I check the loss plot on TensorBoard, I see that validation steps are much higher than training steps. See the screenshot below. why training ends 1062 steps before the validation steps? What's the logic behind?

image

Minimum Reproducible Example
A short code snippet which reproduces the exception

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

@rnyak
Copy link
Author

rnyak commented Dec 18, 2019

@benleetownsend any explanation on that? Thanks in advance.

@benleetownsend
Copy link
Contributor

So, we explicitly run validation on the final model no matter the val interval. This is for the purpose of keep_best_model, otherwise we can accidentally waste the final set of steps. We just follow the default logging schedules for the training loss. If you wanted to track loss values near the end of training you could change your val_interval such that a final value will come near the end of training.

I'm going to rename this issue to track the feature of adding a final step loss log for training

Hopefully this helps/answers your question.

@benleetownsend benleetownsend added the enhancement New feature or request label Dec 24, 2019
@benleetownsend benleetownsend changed the title loss plot of train and val sets Add a tensorboard log for final training loss value. Dec 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants