You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
I am a beginner with PyTorch Lightning and have encountered an issue related to save_hyperparameters(). After reading the official documentation, I understand that save_hyperparameters() is used to save arguments for the LightningModule. However, I noticed that it doesn't save the model's initialization arguments.
For context, I am using WandB to log all parameters, but it only shows the parameters passed into the LightningModule, not the ones used to initialize the model, which I defined in a YAML configuration file.
I just do not know whether this is my coding, deliberate designed, or wandb's problem.
I’m wondering if I need to adjust my coding style or if there’s a better way to implement this to work seamlessly with WandB. Any advice would be appreciated!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
I am a beginner with PyTorch Lightning and have encountered an issue related to
save_hyperparameters()
. After reading the official documentation, I understand thatsave_hyperparameters()
is used to save arguments for the LightningModule. However, I noticed that it doesn't save the model's initialization arguments.For context, I am using WandB to log all parameters, but it only shows the parameters passed into the LightningModule, not the ones used to initialize the model, which I defined in a YAML configuration file.
I just do not know whether this is my coding, deliberate designed, or wandb's problem.
I’m wondering if I need to adjust my coding style or if there’s a better way to implement this to work seamlessly with WandB. Any advice would be appreciated!
Thanks your time in advance!
This is the part of my yaml for the experiment:
The wandb overview output after save_hyperparameter:
Beta Was this translation helpful? Give feedback.
All reactions