Make save_hyperparameters
consistent for CLI and hardcoded training for custom python objects
#20432
Labels
save_hyperparameters
consistent for CLI and hardcoded training for custom python objects
#20432
Description & Motivation
Problem
Given the script below, when running running it with lightning CLI, then
hparams.yaml
becomesWhen running the hardcoded training script instead,
hparams.yaml
becomesIn other words, even though the hyperparameters are the same,
hparams.yaml
look different. Maybe an alternative question is what's the best practice to define more complex hyperparameters.Script below
Pitch
No response
Alternatives
No response
Additional context
No response
cc @Borda
The text was updated successfully, but these errors were encountered: