6a97a4005b61d59b09d4ae3af3464c69e64c0e36,examples/gym/train_c51_gym.py,,main,#,36

Before Change


        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))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: chainer/chainerrl
Commit Name: 6a97a4005b61d59b09d4ae3af3464c69e64c0e36
Time: 2018-03-16
Author: muupan@gmail.com
File Name: examples/gym/train_c51_gym.py
Class Name:
Method Name: main


Project Name: chainer/chainerrl
Commit Name: c78e37a1301e07b523e201b82bbd1683434e0d6b
Time: 2018-10-08
Author: muupan@gmail.com
File Name: examples/gym/train_a2c_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_dqn_gym.py
Class Name:
Method Name: main