Log hyper-parameters in logger #12273
Unanswered
talhaanwarch
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
Hi @talhaanwarch! Call class OurModel(LightningModule):
def __init__(self,scheduler):
super(OurModel,self).__init__()
+ self.save_hyperparameters()
self.scheduler=scheduler
self.model=CNNLSTM() https://pytorch-lightning.readthedocs.io/en/1.5.10/common/lightning_module.html#save-hyperparameters |
Beta Was this translation helpful? Give feedback.
0 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.
-
i am passing different hyper-parameters to my model and i want to log the output using logger. But in my case it create a new logger for each parameter. is there a way to have one logger and create multiple graph on it.
Here is the code where i want to check which scheduler work the best.
Beta Was this translation helpful? Give feedback.
All reactions