Scripting a model defined in a LightningCLI yaml #20867
Unanswered
nicolas-busca
asked this question in
Lightning App API: LightningApp, LightningFlow, LightningWork
Replies: 2 comments 3 replies
-
For what is worth, I'm doing:
but it feels a bit contrived... |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you train a model that does |
Beta Was this translation helpful? Give feedback.
3 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 Lightning!
I'm looking for a way to script a model defined via a LightningCLI yaml.
I could parse the yaml and instantiate all the classes, etc, but
since lightning is able to load a model from a checkpoint via --ckpt_path,
all the infrastructure must be there already.
However, --ckpt_path isn't available when run=False in LightningCLI, so
I am unable to load the model's weights.
What is the recommended path forward?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions