Registration of custom callbacks in LightningCLI (PL 1.9.0) #17602
Unanswered
machur
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment 1 reply
-
It is not clear what exactly your are struggling with. Your custom callback you can always provide by giving the full import path. If you want to be able to specify only by name, just import the module. This is explained at https://lightning.ai/docs/pytorch/stable/cli/lightning_cli_intermediate_2.html#classes-from-any-package |
Beta Was this translation helpful? Give feedback.
1 reply
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 using pytorch-lightning in version 1.9.0 and I'm struggling to add my own custom callback to LightningCLI. I've seen that in earlier versions there were a couple of different registries to do so (including CALLBACK_REGISTRY). It looks like that mechanism has been removed in PL version 1.9.0 and higher. Would you please advice?
Beta Was this translation helpful? Give feedback.
All reactions