88caabc1afc64121fa68b91e9b6c6515d566c8ec,examples/lab_main.py,,main,#,38

Before Change



    env = DeepMindLab(args.level_id)

    config = Configuration({
        "repeat_actions": 1,
        "actions": env.actions,
        "action_shape": env.action_shape,
        "state_shape": env.state_shape,
        "max_episode_length": args.max_timesteps
    })
    // This is necessary to give bazel the correct path
    path = os.path.dirname(__file__)

    if args.network_config:

After Change


    else:
        raise TensorForceError("No agent configuration provided.")
    if not args.network_config:
        raise TensorForceError("No network configuration provided.")
    agent_config.default(dict(states=environment.states, actions=environment.actions, network=from_json(args.network_config)))

    // This is necessary to give bazel the correct path
    path = os.path.dirname(__file__)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


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: b2b58c0e9eb32f5d9a04472992bf86c6f3be8351
Time: 2017-05-27
Author: mi.schaarschmidt@gmail.com
File Name: examples/openai_gym.py
Class Name:
Method Name: main