-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Add filename parameter to ModelCheckpoint #2584
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
Conversation
Borda
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@PyTorchLightning/core-contributors mind check this API update?
| def __init__(self, filepath: Optional[str] = None, monitor: str = 'val_loss', verbose: bool = False, | ||
| save_last: bool = False, save_top_k: int = 1, save_weights_only: bool = False, | ||
| mode: str = 'auto', period: int = 1, prefix: str = ''): | ||
| mode: str = 'auto', period: int = 1, prefix: str = '', filename: Optional[str] = None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing docs for the new parameter
|
This pull request is now in conflict... :( |
|
This pull request is now in conflict... :( |
|
I think this is a good feature, having separate dirpath and filename solves a lot of issues. I prefer it should be |
What does this PR do?
Adds filename parameter to ModelCheckpoint. See issue #2583.