mirror of
https://github.com/wassname/ray.git
synced 2026-07-28 11:25:04 +08:00
[rllib] PPO onto new RLlib APIs (#2270)
This commit is contained in:
@@ -192,6 +192,7 @@ class CommonPolicyEvaluator(PolicyEvaluator):
|
||||
|
||||
env_context = EnvContext(env_config or {}, worker_index)
|
||||
policy_config = policy_config or {}
|
||||
self.policy_config = policy_config
|
||||
model_config = model_config or {}
|
||||
policy_mapping_fn = (
|
||||
policy_mapping_fn or (lambda agent_id: DEFAULT_POLICY_ID))
|
||||
|
||||
Reference in New Issue
Block a user