Skip to content

Commit

Permalink
print the seed of the failed job
Browse files Browse the repository at this point in the history
  • Loading branch information
rizar committed Jan 23, 2019
1 parent e3959f1 commit 6b62987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/make_agent_demos.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def generate_demos(n_episodes, valid, seed, shift=0):
break
if reward == 0:
if args.on_exception == 'crash':
raise Exception("mission failed")
raise Exception("mission failed, the seed is {}".format(seed + len(demos)))
logger.info("mission failed")
except Exception:
if args.on_exception == 'crash':
Expand Down

0 comments on commit 6b62987

Please sign in to comment.