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

Before Change


    if args.agent_config:
        config.read_json(path + args.agent_config)

    logger.setLevel(log_levels[config.get("loglevel", "info")])

    preprocessing_config = config.get("preprocessing")
    // if preprocessing_config:

After Change


        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: 3

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: HyperGAN/HyperGAN
Commit Name: 2a81f8ef7347d462cf79772b4fd70e591c755f26
Time: 2017-06-01
Author: martyn@255bits.com
File Name: tests/gan_test.py
Class Name: GANTest
Method Name: test_default


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