From 23f9a38744cc45753f665a5a92998f89ad27dfa2 Mon Sep 17 00:00:00 2001 From: rizar Date: Fri, 15 Feb 2019 15:34:16 +0000 Subject: [PATCH] print more digits --- scripts/evaluate.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/evaluate.py b/scripts/evaluate.py index 42855906..30c3c326 100755 --- a/scripts/evaluate.py +++ b/scripts/evaluate.py @@ -82,7 +82,7 @@ def main(args, seed, episodes): num_frames_per_episode = utils.synthesize(logs["num_frames_per_episode"]) if args.model is not None: - print("F {} | FPS {:.0f} | D {} | R:xsmM {:.2f} {:.2f} {:.2f} {:.2f} | S {:.2f} | F:xsmM {:.1f} {:.1f} {} {}" + print("F {} | FPS {:.0f} | D {} | R:xsmM {:.3f} {:.3f} {:.3f} {:.3f} | S {:.3f} | F:xsmM {:.1f} {:.1f} {} {}" .format(num_frames, fps, duration, *return_per_episode.values(), success_per_episode['mean'], @@ -97,6 +97,7 @@ def main(args, seed, episodes): if n > 0: print("{} worst episodes:".format(n)) for i in indexes[:n]: + print(logs['seed_per_episode'][i]) if args.model is not None: print("- episode {}: R={}, F={}".format(i, logs["return_per_episode"][i], logs["num_frames_per_episode"][i])) else: