Closed Phoebe-ovo closed 1 year ago
We don't save all model checkpoints during hyperparameter tuning, because that would consume significant amount of memory.
How to implement:
trial_reports
to trial_results
trial_results.append((report, model_state_dict))
where model_state_dict
is extracted from checkpoint.pt
located in the dir_
directory hereThank you!
I observed that: the checkpoint.pt only save: report, study, trail_reports, timer, random_state. I want to save the model parameters which can be loaded by anyone else.