adaa8aefa828c8b426e9ecf6e15f5990b3c1abef,baselines/deepq/experiments/enjoy_pong.py,,main,#,5

Before Change


def main():
    env = gym.make("PongNoFrameskip-v4")
    env = deepq.wrap_atari_dqn(env)
    act = deepq.load("pong_model.pkl")

    while True:
        obs, done = env.reset(), False
        episode_rew = 0

After Change


def main():
    env = gym.make("PongNoFrameskip-v4")
    env = deepq.wrap_atari_dqn(env)
    model = deepq.learn(
        env,
        "conv_only",
        convs=[(32, 8, 4), (64, 4, 2), (64, 3, 1)],
        hiddens=[256],
        dueling=True,
        total_timesteps=0
    )

    while True:
        obs, done = env.reset(), False
        episode_rew = 0
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: openai/baselines
Commit Name: adaa8aefa828c8b426e9ecf6e15f5990b3c1abef
Time: 2018-09-10
Author: peterzhokhoff@gmail.com
File Name: baselines/deepq/experiments/enjoy_pong.py
Class Name:
Method Name: main


Project Name: openai/baselines
Commit Name: 23b2333238e9850a230f0fa3ce95497d4c6c418b
Time: 2018-09-10
Author: peterzhokhoff@gmail.com
File Name: baselines/deepq/experiments/enjoy_mountaincar.py
Class Name:
Method Name: main


Project Name: openai/baselines
Commit Name: 23b2333238e9850a230f0fa3ce95497d4c6c418b
Time: 2018-09-10
Author: peterzhokhoff@gmail.com
File Name: baselines/deepq/experiments/enjoy_pong.py
Class Name:
Method Name: main


Project Name: openai/baselines
Commit Name: adaa8aefa828c8b426e9ecf6e15f5990b3c1abef
Time: 2018-09-10
Author: peterzhokhoff@gmail.com
File Name: baselines/deepq/experiments/enjoy_mountaincar.py
Class Name:
Method Name: main