Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Commit

Permalink
bug-fix in local_batch_run_coach and rename to run_multiple_seeds
Browse files Browse the repository at this point in the history
  • Loading branch information
Gal Leibovich committed Aug 23, 2018
1 parent a447138 commit 9bb7bd2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@
gpu_list = force_list(gpu)
curr_gpu_idx = 0
for level in levels:
if dir_prefix != "":
dir_prefix += "_"
for seed in range(num_seeds):
# select the next gpu for this run
set_gpu(gpu_list[curr_gpu_idx])

command = ['python3', 'rl_coach/coach.py', '-ns', '-p', '{}'.format(preset),
'--seed', '{}'.format(seed), '-n', '{}'.format(num_workers)]
if dir_prefix != "":
dir_prefix += "_"
if args.use_cpu:
command.append("-c")
if args.evaluation_worker:
Expand Down

0 comments on commit 9bb7bd2

Please sign in to comment.