57544b1ff9f97d4da9f64d25c8ea5a3d8d247ffc,rllib/examples/nested_action_spaces.py,,,#,12
Before Change
for _ in range(100):
results = trainer.train()
print(results)
if results["episode_reward_mean"] > args.stop:
sys.exit(0) // Learnt, exit gracefully.
sys.exit(1) // Done, but did not learn, exit with error.
After Change
"use_pytorch": args.torch,
}
stop = {
"training_iteration": args.stop_iters,
"episode_reward_mean": args.stop_reward,
"timesteps_total": args.stop_timesteps,
}
results = tune.run(args.run, config=config, stop=stop)
if args.as_test:
check_learning_achieved(results, args.stop_reward)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: ray-project/ray
Commit Name: 57544b1ff9f97d4da9f64d25c8ea5a3d8d247ffc
Time: 2020-05-11
Author: sven@anyscale.io
File Name: rllib/examples/nested_action_spaces.py
Class Name:
Method Name:
Project Name: ray-project/ray
Commit Name: d9f1874e3489edc915228dcfdae64d5294034464
Time: 2020-10-27
Author: sven@anyscale.io
File Name: rllib/tests/test_rollout_worker.py
Class Name: TestRolloutWorker
Method Name: test_global_vars_update
Project Name: NTMC-Community/MatchZoo
Commit Name: f640854cdaa14fede8b48a3c11072a211bad349d
Time: 2017-08-14
Author: fanyixing111@hotmail.com
File Name: matchzoo/inputs/preprocess.py
Class Name:
Method Name: