Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Add gradient norm to train output #54

Open
twuebi opened this issue May 20, 2019 · 4 comments
Open

Add gradient norm to train output #54

twuebi opened this issue May 20, 2019 · 4 comments
Labels
feature New feature or request
Milestone

Comments

@twuebi
Copy link
Collaborator

twuebi commented May 20, 2019

Printing the gradient norm alongside the training output can be helpful when tuning learning rates and for finding the gradient clipping threshold.

@danieldk danieldk added this to the release-0.4 milestone May 21, 2019
@danieldk danieldk added the feature New feature or request label May 21, 2019
@danieldk
Copy link
Member

The output is already a bit wide. I wonder if we really need the progress bar. It looks nice, but it takes up a lot of space and does not provide more information than just a percentage.

With the progress bar removed, we could add some more data points.

@danieldk danieldk modified the milestones: release-0.4, release-0.5 Jun 27, 2019
@twuebi
Copy link
Collaborator Author

twuebi commented Jun 27, 2019

I'm leaning towards already covered through Tensorboard. If we want to add it to the console: do we need a process bar or would a simple XY/YZ or XY% suffice?

@danieldk
Copy link
Member

At least Tensorboard makes it possible to monitor a lot more things without things getting too crowded. In the terminal output I am typically only interested in the train/validation accuracy and sometimes loss. There already is a lot of visual information that make these kinda hard to spot. So now that you mention Tensorboard, maybe that is the best solution.

@twuebi
Copy link
Collaborator Author

twuebi commented Jun 27, 2019

That's already there for all models but the RNN.

@danieldk danieldk modified the milestones: release-0.5, release-0.6 Jul 30, 2019
@danieldk danieldk modified the milestones: release-0.6, release-0.11 Oct 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request
Development

No branches or pull requests

2 participants