950223281271f23a55f14ca664a2d7b5316d8f00,examples/ale/train_categorical_dqn_ale.py,,main,#,25

Before Change



    // In training, life loss is considered as terminal states
    env = atari_wrappers.wrap_deepmind(atari_wrappers.make_atari(args.env))
    env.seed(train_seed)

    // In testing, an episode is terminated  when all lives are lost
    eval_env = atari_wrappers.wrap_deepmind(
        atari_wrappers.make_atari(args.env),

After Change


    parser.add_argument("--batch-size", type=int, default=32)
    parser.add_argument("--logging-level", type=int, default=20,
                        help="Logging level. 10:DEBUG, 20:INFO etc.")
    parser.add_argument("--render", action="store_true", default=False,
                        help="Render env states in a GUI window.")
    parser.add_argument("--monitor", action="store_true", default=False,
                        help="Monitor env. Videos and additional information"
                             " are saved as output files.")
    args = parser.parse_args()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: chainer/chainerrl
Commit Name: 950223281271f23a55f14ca664a2d7b5316d8f00
Time: 2018-04-20
Author: muupan@gmail.com
File Name: examples/ale/train_categorical_dqn_ale.py
Class Name:
Method Name: main


Project Name: tensorlayer/tensorlayer
Commit Name: 8b68349d43621619fe799ab4afc21da7f1fb2515
Time: 2019-06-10
Author: 34995488+Tokarev-TT-33@users.noreply.github.com
File Name: examples/reinforcement_learning/tutorial_PG.py
Class Name:
Method Name:


Project Name: chainer/chainerrl
Commit Name: 950223281271f23a55f14ca664a2d7b5316d8f00
Time: 2018-04-20
Author: muupan@gmail.com
File Name: examples/ale/train_dqn_ale.py
Class Name:
Method Name: main