Log All Hyperparameters/Arguments #7135
Unanswered
AlessandroW
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment 2 replies
-
Outside the LightningModule I believe you should be able to just call |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, is there a best practice for logging all arguments passed to the
ArgumentParser
?Due to using the
DataModule
, the data related arguments are not tracked by theLightningModule
My goal is to:
a) log all parameters in the
hparams.yaml
b) log a subset in TensorBoard.
My "solution" is:
Then, in
Trainer.pre_dispatch()
all hyperparameters will be logged.This means all hyperparameters will be logged in TensorFlow but that is okay for now.
Does a better way exist already?
Beta Was this translation helpful? Give feedback.
All reactions