mirror of
https://github.com/wassname/ray.git
synced 2026-07-07 17:03:03 +08:00
[tune] Tune experiment analysis improvements (#10645)
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
This commit is contained in:
@@ -166,7 +166,7 @@ analysis = tune.run(train_mnist, num_samples=10, search_alg=hyperopt_search)
|
||||
# __run_analysis_begin__
|
||||
import os
|
||||
|
||||
df = analysis.dataframe()
|
||||
df = analysis.results_df
|
||||
logdir = analysis.get_best_logdir("mean_accuracy", mode="max")
|
||||
state_dict = torch.load(os.path.join(logdir, "model.pth"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user