Trainer Args from YAML file? #10721
Unanswered
FeryET
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
Dear @FeryET. I would advise you to use the LightningCLI, it would generate automatically the YAML file for you. |
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.
-
Hi.
I'm trying to refactor my code, and one of the things I would like to do is to move most of my configurations to a YAML file, which supports a way better hierarchical configuration pattern, and is more readable and more configurable. I can write a manual interface for parsing the YAML file and creating a Trainer instance with it, but I was wondering is there any better way to do this?
Beta Was this translation helpful? Give feedback.
All reactions