244aafdcf89ae814975c8c4e3faf0bd4995c7878,rllib/utils/exploration/tests/test_curiosity.py,TestCuriosity,test_curiosity_on_large_frozen_lake,#TestCuriosity#,88
Before Change
}
trainer = ppo.PPOTrainer(config=config)
rewards_w = 0.0
for _ in range(num_iterations):
result = trainer.train()
rewards_w += result["episode_reward_mean"]
print(result)
rewards_w /= num_iterations
trainer.stop()
// W/o Curiosity.
After Change
for _ in range(num_iterations):
result = trainer.train()
print(result)
if result["episode_reward_mean"] >= 0.001:
print("Learnt something!")
learnt = True
break
trainer.stop()
self.assertTrue(learnt)
// // W/o Curiosity. Expect to learn nothing.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
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
Project Name: dmlc/dgl
Commit Name: 22ccf4365af620d10387b207aa103287c34d9247
Time: 2021-02-08
Author: wmjlyjemaine@gmail.com
File Name: benchmarks/benchmarks/model_speed/bench_pinsage.py
Class Name:
Method Name: track_time
Project Name: dmlc/dgl
Commit Name: 22ccf4365af620d10387b207aa103287c34d9247
Time: 2021-02-08
Author: wmjlyjemaine@gmail.com
File Name: benchmarks/benchmarks/model_speed/bench_rgcn_hetero_ns.py
Class Name:
Method Name: track_time