75028b69a20261c44081f807a4a18d6d4bcb2929,cistar-dev/build-tester.py,,,#,9
Before Change
[15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15])
exp.env.terminate()
After Change
cfg_params = {"type_list": ["rl"], "start_time": 0, "end_time":3000, "cfg_path":"debug/cfg/", "num_cars":num_cars, "type_counts":{"rl": auton_cars}, "use_flows":True, "period":"1"}
initial_positions = [("top", 0), ("top", 70), ("top", 140), \
("left", 0), ("left", 70), ("left", 140), \
("bottom", 0), ("bottom", 70), ("bottom", 140), \
("right", 0), ("right", 70), ("right", 140)]
initial_config = {"positions": initial_positions, "shuffle": False}
scenario = LoopScenario("test-exp", num_cars, type_params, cfg_params, net_params, initial_config=initial_config, generator_class=CircleGenerator)
////data path needs to be relative to cfg location
exp = SumoExperiment(SimpleVelocityEnvironment, env_params, sumo_binary, sumo_params, scenario)
logging.info("Experiment Set Up complete")
print("experiment initialized")
env = normalize(exp.env)
for seed in [1, 5, 10, 73, 56]:
policy = GaussianMLPPolicy(
env_spec=env.spec,
hidden_sizes=(16,)
)
baseline = LinearFeatureBaseline(env_spec=env.spec)
algo = TRPO(
env=env,
policy=policy,
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: flow-project/flow
Commit Name: 75028b69a20261c44081f807a4a18d6d4bcb2929
Time: 2017-02-21
Author: dicksteinleah@gmail.com
File Name: cistar-dev/build-tester.py
Class Name:
Method Name:
Project Name: rlworkgroup/garage
Commit Name: d5b9e633295886d91a008c9280e555ff69e02c40
Time: 2018-09-21
Author: 35857569+gonzaiva@users.noreply.github.com
File Name: scripts/run_experiment.py
Class Name:
Method Name: run_experiment
Project Name: danforthcenter/plantcv
Commit Name: e628b2e6c566b9dd70d8eab50c00df23bb0cecea
Time: 2020-08-17
Author: noahfahlgren@gmail.com
File Name: plantcv/parallel/multiprocess.py
Class Name:
Method Name: multiprocess
Project Name: eth-cscs/reframe
Commit Name: ccaa108a2dd93f92967eb20a47e7559c9144b35f
Time: 2020-03-11
Author: manitaras@cscs.ch
File Name: unittests/test_policies.py
Class Name: TestSerialExecutionPolicy
Method Name: test_sigterm