mirror of
https://github.com/wassname/ray.git
synced 2026-08-06 13:31:10 +08:00
[rllib] Remove need to pass around registry (#2250)
* remove registry * fix * too many _ * fix * cloudpickle * Update registry.py * yapf * fix test * fix kv check
This commit is contained in:
@@ -59,8 +59,7 @@ def check_support(alg, config, stats):
|
||||
for o_name, obs_space in OBSERVATION_SPACES_TO_TEST.items():
|
||||
print("=== Testing", alg, action_space, obs_space, "===")
|
||||
stub_env = make_stub_env(action_space, obs_space)
|
||||
register_env(
|
||||
"stub_env", lambda c: stub_env())
|
||||
register_env("stub_env", lambda c: stub_env())
|
||||
stat = "ok"
|
||||
a = None
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user