args, args.outdir, argv=sys.argv)
print("Output files are saved in {}".format(args.outdir))
if args.seed is not None:
misc.set_random_seed(args.seed)
def make_env(for_eval):
env = gym.make(args.env)
if args.monitor:
env = gym.wrappers.Monitor(env, args.outdir)
After Change
args = parser.parse_args()
// Set a random seed used in ChainerRL
misc.set_random_seed(args.seed, gpus=(args.gpu,))
args.outdir = experiments.prepare_output_dir(
args, args.outdir, argv=sys.argv)
print("Output files are saved in {}".format(args.outdir))