1d4823c0ec446e93d00df8ca654db4b45b63b3d4,rllib/agents/dqn/tests/test_dqn.py,TestDQN,test_dqn_compilation,#TestDQN#,13
Before Change
print(results)
// tf.
tf_config = config.copy()
tf_config["eager"] = False
trainer = dqn.DQNTrainer(config=tf_config, env="CartPole-v0")
num_iterations = 1
for i in range(num_iterations):
results = trainer.train()
print(results)
// Eager.
eager_config = config.copy()
eager_config["eager"] = True
eager_ctx = eager_mode()
eager_ctx.__enter__()
After Change
config["num_workers"] = 0 // Run locally.
num_iterations = 2
for _ in framework_iterator(config, frameworks=["tf", "eager"]):
// Rainbow.
rainbow_config = config.copy()
rainbow_config["num_atoms"] = 10
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: ray-project/ray
Commit Name: 1d4823c0ec446e93d00df8ca654db4b45b63b3d4
Time: 2020-04-03
Author: sven@anyscale.io
File Name: rllib/agents/dqn/tests/test_dqn.py
Class Name: TestDQN
Method Name: test_dqn_compilation
Project Name: ray-project/ray
Commit Name: 20ef4a860325d1735df038d4e4b8c7de5e013ed3
Time: 2020-03-11
Author: sven@anyscale.io
File Name: rllib/tests/test_avail_actions_qmix.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: 244aafdcf89ae814975c8c4e3faf0bd4995c7878
Time: 2020-09-05
Author: sven@anyscale.io
File Name: rllib/utils/exploration/tests/test_curiosity.py
Class Name: TestCuriosity
Method Name: test_curiosity_on_large_frozen_lake