-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Checkpooint Callback not called when training GAN from documentation #969
Comments
Hey, thanks for your contribution! Great first issue! |
@PasqualeZingo could you reproduce the error in a Colab notebook and share the link? |
Sure thing, here it is: https://colab.research.google.com/drive/1wvZXP3WYxolfa4oA0mVnawtCXDr19eLd Thanks @jeremyjordan ! |
Ah ok I think I know what's going on here. If you look at the checkpointing callback, it's invoked with However, because you don't have a |
should we enable the checkpoint callback to use any metric across training or validation step? |
That would be ideal, in the mean time I can fool the validation loop into running for my use. Would it be worth updating the docs in the mean time to clarify about the checkpoint callback? |
Yes, we should be running this |
merged #1043 |
I tried to add a model checkpoint callback to the GAN example from the documentation (https://github.com/PyTorchLightning/pytorch-lightning/blob/master/pl_examples/domain_templates/gan.py), but it is failing silently; no checkpoints are being written. I can't find anything in the checkpoint docs that indicate why it is not working.
What's your environment?
The text was updated successfully, but these errors were encountered: