-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
TensorBoardLogger should be able to add metric names in hparams #1111
Comments
Hi! thanks for your contribution!, great first issue! |
Since this is specific to tensorboard and other loggers handle hparams and metrics differently, it is better to use the SummaryWriter object directly. You can always do that with |
I think if Lightning offers such a logger mechanism, it should offer an abstraction to enable this functionality. I'd be fine with having a |
@tstumm that sounds good to me, would you mind to send a PR? |
@tstumm with logger you can access directly to the base TensorBoard so whatever is allowed there you could be able to do also here... May point some example of this Tensofoard functionality/use-case? |
It was introduced here recently: #1630 |
@awaelchli Is there a plan to automatically log all metrics for hparams tab in TensorBoard? I mean all metrics returned in |
I'm not up to date with the logger features atm. Will reopen to keep track of your suggestion and also because I just saw that there is still a bugfix in the works here: #1647 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
🚀 Feature
TensorBoard allows investigating the effect of hyperparameters in the hparams tab. Unfortunately, the
log_hyperparams
function inTensorBoardLogger
cannot add any information about which of the logged metrics is actually a "metric" which can be used for such a comparison.Motivation
I would like to use the built-in hparams module of TensorBoard to evaluate my trainings.
Pitch
PyTorch-Lightning should give me the possibility to define the metrics of my model in some way such that any logger is able to derive which metric may be used for hyperparameter validation, as well as other possible characteristics which may be defined for those.
Additional context
The
hparams
method of a summary takes the following parameters:metric_dict
is basically a dictionary mapping metric names to values, whereas the values are omitted in the function itself.The text was updated successfully, but these errors were encountered: