forked from unit8co/darts
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix/ loading metrics and loss in load_from_checkpoint (unit8co#1759)
* fix: loss_fn and torch_metrics are properly restored when calling laoding_from_checkpoint() * fix: moved fix to the PL on_save/on_load methods instead of load_from_checkpoint() * fix: address reviewer comments, loss and metrics objects are saved in the constructor * update changelog --------- Co-authored-by: Dennis Bader <dennis.bader@gmx.ch>
- Loading branch information
1 parent
df67dec
commit e4a22dd
Showing
4 changed files
with
111 additions
and
18 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