-
Notifications
You must be signed in to change notification settings - Fork 433
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multiple calls to
Trainer.fit()
(#948)
This PR allows for arguments to be specified when calling `Trainer.fit()` instead of when constructing the trainer. 1. Refactored `Trainer.init` to move out shared helper code, so it can be re-used when passing in parameters on `fit`. 2. Modified the signature of `fit` to take training parameters. If not specified on `Trainer.__init__`, parameters must be specified on `fit`. 3. Rearranged the position of arguments in the `Trainer` and `TrainerHparams` classes to group by functionality. Re-ordered the docstrings to be in the same order as the arguments.
- Loading branch information
1 parent
3289073
commit b1e89b4
Showing
14 changed files
with
1,900 additions
and
916 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.