We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 306a01f commit 0d5fa6bCopy full SHA for 0d5fa6b
examples/train.py
@@ -255,6 +255,8 @@ def on_episode_end(info):
255
256
def train_rllib(submodule, flags):
257
"""Train policies using the PPO algorithm in RLlib."""
258
+ import ray
259
+
260
flow_params = submodule.flow_params
261
flow_params['sim'].render = flags.render
262
policy_graphs = getattr(submodule, "POLICY_GRAPHS", None)
0 commit comments