adaa8aefa828c8b426e9ecf6e15f5990b3c1abef,baselines/deepq/experiments/train_mountaincar.py,,main,#,6

Before Change


def main():
    env = gym.make("MountainCar-v0")
    // Enabling layer_norm here is import for parameter space noise!
    model = deepq.models.mlp([64], layer_norm=True)
    act = deepq.learn(
        env,
        q_func=model,
        lr=1e-3,

After Change


    // Enabling layer_norm here is import for parameter space noise!
    act = deepq.learn(
        env,
        network=models.mlp(num_hidden=64, num_layers=1),
        lr=1e-3,
        total_timesteps=100000,
        buffer_size=50000,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: openai/baselines
Commit Name: adaa8aefa828c8b426e9ecf6e15f5990b3c1abef
Time: 2018-09-10
Author: peterzhokhoff@gmail.com
File Name: baselines/deepq/experiments/train_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/train_mountaincar.py
Class Name:
Method Name: main


Project Name: facebookresearch/Horizon
Commit Name: f2c3166671f997991f9be7db3721c0d1d9369c6e
Time: 2021-02-22
Author: kaiwenw@fb.com
File Name: reagent/models/mlp_scorer.py
Class Name: MLPScorer
Method Name: forward