8869aca69bde091652b0af255743114967f83952,examples/gym/train_ppo_gym.py,,main,#,96

Before Change



    logging.getLogger().setLevel(args.logger_level)

    if args.seed is not None:
        misc.set_random_seed(args.seed)

    args.outdir = experiments.prepare_output_dir(args, args.outdir)

    def make_env(test):
        env = gym.make(args.env)

After Change


    logging.basicConfig(level=args.logger_level)

    // 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)

    def make_env(test):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: chainer/chainerrl
Commit Name: 8869aca69bde091652b0af255743114967f83952
Time: 2018-02-15
Author: muupan@gmail.com
File Name: examples/gym/train_ppo_gym.py
Class Name:
Method Name: main


Project Name: chainer/chainerrl
Commit Name: 8869aca69bde091652b0af255743114967f83952
Time: 2018-02-15
Author: muupan@gmail.com
File Name: examples/gym/train_ddpg_gym.py
Class Name:
Method Name: main


Project Name: chainer/chainerrl
Commit Name: 8869aca69bde091652b0af255743114967f83952
Time: 2018-02-15
Author: muupan@gmail.com
File Name: examples/gym/train_reinforce_gym.py
Class Name:
Method Name: main