We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1290952 commit 6420e75Copy full SHA for 6420e75
src/gluonts/torch/model/estimator.py
@@ -228,7 +228,8 @@ def train_model(
228
f"Loading best model from {checkpoint.best_model_path}"
229
)
230
best_model = training_network.__class__.load_from_checkpoint(
231
- checkpoint.best_model_path
+ checkpoint.best_model_path,
232
+ weights_only=False,
233
234
else:
235
best_model = training_network
0 commit comments