Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit05-8 Adding Functionalities with Callback #68

Open
chanhdpham opened this issue Jun 28, 2023 · 0 comments
Open

Unit05-8 Adding Functionalities with Callback #68

chanhdpham opened this issue Jun 28, 2023 · 0 comments

Comments

@chanhdpham
Copy link

The slides seem wrong. The slides are inconsistent with the API document about the Callback class.
In the slides:
from pytorch_lightning.callbacks import Callback
Class MyCustomCallback(Callback):
...
In the "Callback API" document:
Class MyCustomCallback(lightning.Callback):
...
I defined MyCustomCallback class for exercise 2 and it give me runtime error at trainer = L.Trainer(...
When I used lightning.Callback, it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant