Lightning CLI and config.yaml structure for multiple Trainer subcommands #15507
Unanswered
alzaia
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
You can use |
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.
-
Hello, I'm trying to group all my Trainer subcommands and args in the same config.yaml file while making use of the Lightning CLI. The structure of my config.yaml would be something like this:
And then I would use this an input when I'm fitting the model:
Or this command when I rather just want to predict:
What is the standard (cleaner) way of doing this?
Beta Was this translation helpful? Give feedback.
All reactions