From 3363fbfa09198841d30c1953073a1611e5ebae0d Mon Sep 17 00:00:00 2001 From: Yasuaki Hamano Date: Tue, 4 Aug 2020 08:25:01 +0900 Subject: [PATCH] function call utils.set_random_seed was duplicated --- examples/gym/train_dqn_gym.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/gym/train_dqn_gym.py b/examples/gym/train_dqn_gym.py index 1b8d48c36..2714d9cdd 100644 --- a/examples/gym/train_dqn_gym.py +++ b/examples/gym/train_dqn_gym.py @@ -93,9 +93,6 @@ def main(): args.outdir = experiments.prepare_output_dir(args, args.outdir, argv=sys.argv) print("Output files are saved in {}".format(args.outdir)) - # Set a random seed used in PFRL. - utils.set_random_seed(args.seed) - # Set different random seeds for different subprocesses. # If seed=0 and processes=4, subprocess seeds are [0, 1, 2, 3]. # If seed=1 and processes=4, subprocess seeds are [4, 5, 6, 7].