What happens if i overwrite the callback of the pytorch-lighting multiple times? #16763
Unanswered
chenaoxuan
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 0 comments
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.
-
I observed that the method on_train_batch_end() exists in the Class: pythorch_lightning.callbacks.Callback, meanwhile, this method also exists in pytorch_lightning.callbacks.ModelCheckpoint. What happens if I write two classes to inherit the above two classes and rewrite this method?
Will they work at the same time?
Beta Was this translation helpful? Give feedback.
All reactions