From 9df2e6e6f41a48cc6895d6fa658e767a3ec0339d Mon Sep 17 00:00:00 2001 From: Dennis Chung Date: Wed, 31 Oct 2018 04:26:40 +0800 Subject: [PATCH] [tune] Modify stop criteria in hyperopt example (#3102) Modify `training_iteraion` to `timesteps_total` because only `timesteps_total` is inside the reporter. --- python/ray/tune/examples/hyperopt_example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ray/tune/examples/hyperopt_example.py b/python/ray/tune/examples/hyperopt_example.py index 6d61b1321..2898bf26d 100644 --- a/python/ray/tune/examples/hyperopt_example.py +++ b/python/ray/tune/examples/hyperopt_example.py @@ -48,7 +48,7 @@ if __name__ == '__main__': "run": "exp", "num_samples": 10 if args.smoke_test else 1000, "stop": { - "training_iteration": 100 + "timesteps_total": 100 }, } }