-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Can't use None (anymore) in checkpoint_callback #2547
Comments
@williamFalcon I saw that this issue was mentioned and supposedly fixed in the merge, but I just tested with master and I'm still getting the same error |
This is the error I get when I set Edit: master...s-rog:patch-1 simple enough change I suppose... unless I'm missing something? |
@s-rog I think your proposed fix is good. In case user sets checkpoint_callback to None, we should not try to set a path there. |
Would you like to submit this in a PR? |
🐛 Bug
using None in checkpoint_callback now errors out
To Reproduce
trainer = Trainer(checkpoint_callback=None)
Ran into this issue from upgrading to masters, was using masters from a few commits ago before
Edit:
False
casuses the same error as wellThe text was updated successfully, but these errors were encountered: