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 e7b117c commit 5f329a6Copy full SHA for 5f329a6
pytorch/pytorch_checkpoint.py
@@ -92,7 +92,7 @@ def objective(trial):
92
trial_number = RetryFailedTrialCallback.retried_trial_number(trial)
93
94
if trial_number is not None:
95
- study = optuna.load_study(study_name="pytorch_checkpoint", storage="sqlite:///example.db")
+ study = trial.study
96
artifact_id = study.trials[trial_number].user_attrs["artifact_id"]
97
download_artifact(
98
artifact_store=artifact_store, file_path="./tmp_model.pt", artifact_id=artifact_id
0 commit comments