34e04890315412b0cbb385420948ff0a0629e177,examples/openai_gym.py,,main,#,38

Before Change


    if args.agent_config:
        config = Configuration.from_json(args.agent_config)
    else:
        config = Configuration()

    config.default(default)

    if args.network_config:

After Change


    if args.agent_config:
        agent_config = Configuration.from_json(args.agent_config)
    else:
        raise TensorForceError("No agent configuration provided.")
    agent_config["states"] = environment.states
    agent_config["actions"] = environment.actions

    if args.network_config:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: reinforceio/tensorforce
Commit Name: 34e04890315412b0cbb385420948ff0a0629e177
Time: 2017-06-10
Author: aok25@cl.cam.ac.uk
File Name: examples/openai_gym.py
Class Name:
Method Name: main


Project Name: reinforceio/tensorforce
Commit Name: 88caabc1afc64121fa68b91e9b6c6515d566c8ec
Time: 2017-06-11
Author: mi.schaarschmidt@gmail.com
File Name: examples/lab_main.py
Class Name:
Method Name: main


Project Name: reinforceio/tensorforce
Commit Name: 4d6ddd9feb47ee747340169678d5da8f33e5611c
Time: 2017-05-28
Author: mi.schaarschmidt@gmail.com
File Name: examples/openai_gym_async.py
Class Name:
Method Name: main


Project Name: reinforceio/tensorforce
Commit Name: 34e04890315412b0cbb385420948ff0a0629e177
Time: 2017-06-10
Author: aok25@cl.cam.ac.uk
File Name: examples/openai_gym_async.py
Class Name:
Method Name: main