[rllib] Move repeat field to asv script (#2367)

This commit is contained in:
Eric Liang
2018-07-07 12:10:06 -07:00
committed by Richard Liaw
parent e32aed8717
commit 9a6e329325
10 changed files with 3 additions and 8 deletions
@@ -22,6 +22,8 @@ CONFIG_DIR = os.path.dirname(os.path.abspath(__file__))
def _evaulate_config(filename):
with open(os.path.join(CONFIG_DIR, filename)) as f:
experiments = yaml.load(f)
for _, config in experiments.items():
config["repeat"] = 3
ray.init()
trials = tune.run_experiments(experiments)
results = defaultdict(list)