4905e408033afe8716f7d9143599edb2a93e0b04,examples/atari/iqn/train_iqn.py,,main,#,25

Before Change


        with open(os.path.join(args.outdir, "bestscores.json"), "w") as f:
            // temporary hack to handle python 2/3 support issues.
            // json dumps does not support non-string literal dict keys
            json_stats = json.dumps(stats)
            print(str(json_stats), file=f)
        print("The results of the best scoring network:")
        for stat in stats:
            print(str(stat) + ":" + str(stats[stat]))

After Change


            max_episode_len=args.max_frames / 4,
            logger=None)
        with open(os.path.join(args.outdir, "bestscores.json"), "w") as f:
            json.dump(stats, f)
        print("The results of the best scoring network:")
        for stat in stats:
            print(str(stat) + ":" + str(stats[stat]))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: chainer/chainerrl
Commit Name: 4905e408033afe8716f7d9143599edb2a93e0b04
Time: 2019-06-09
Author: muupan@gmail.com
File Name: examples/atari/iqn/train_iqn.py
Class Name:
Method Name: main


Project Name: chainer/chainerrl
Commit Name: 4905e408033afe8716f7d9143599edb2a93e0b04
Time: 2019-06-09
Author: muupan@gmail.com
File Name: examples/atari/dqn/train_dqn.py
Class Name:
Method Name: main


Project Name: chainer/chainerrl
Commit Name: 4905e408033afe8716f7d9143599edb2a93e0b04
Time: 2019-06-09
Author: muupan@gmail.com
File Name: examples/atari/rainbow/train_rainbow.py
Class Name:
Method Name: main