You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I got an error with pytorch_lightning when splitting configure_optimizers and training_step functions in different cells from the definition of myclass, which is inherited from pl.LightningModule. If configure_optimizers and training_step functions are merged into the cell where the def of the class is, the error disappears, but not with %%add_to myclass.
TypeError: Can't instantiate abstract class myclass with abstract methods configure_optimizers, training_step
By the way, thank you for developing this great tool!
The text was updated successfully, but these errors were encountered:
Hi,
I got an error with pytorch_lightning when splitting configure_optimizers and training_step functions in different cells from the definition of myclass, which is inherited from pl.LightningModule. If configure_optimizers and training_step functions are merged into the cell where the def of the class is, the error disappears, but not with %%add_to myclass.
By the way, thank you for developing this great tool!
The text was updated successfully, but these errors were encountered: