Callback with essential code #6830
Unanswered
SamKG
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment 1 reply
-
Hi @SamKG . Actually there isn't. There is the plugin API, but if you use these, your changes won't work for all the training types that are currently implemented as plugins. Usually this is done by hooks. What is your usecase for that? |
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 was wondering if there was a callback-like api for essential code? (i.e. code that modifies batches, or changes model behavior)
Currently we are doing this by explicitly keeping a list of callbacks in the LightningModule, but this is not very maintainable in the long run.
Beta Was this translation helpful? Give feedback.
All reactions