You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <[email protected]>
Copy file name to clipboardexpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ but cannot always guarantee backwards compatibility. Changes that may **break co
11
11
12
12
**Improved**
13
13
- Added support for `PathLike` to the `save()` and `load()` functions of `ForecastingModel`. [#1754](https://github.com/unit8co/darts/pull/1754) by [Simon Sudrich](https://github.com/sudrich).
14
+
- Fixed an issue with `TorchForecastingModel.load_from_checkpoint()` not properly loading the loss function and metrics. [#1749](https://github.com/unit8co/darts/pull/1749) by [Antoine Madrona](https://github.com/madtoinou).
14
15
15
16
**Fixed**
16
17
- Fixed an issue not considering original component names for `TimeSeries.plot()` when providing a label prefix. [#1783](https://github.com/unit8co/darts/pull/1783) by [Simon Sudrich](https://github.com/sudrich).
0 commit comments