Skip to content

Commit

Permalink
[RLlib] Get rid of illegal escape sequence Python deprecation warning…
Browse files Browse the repository at this point in the history
… in logs. (ray-project#30127)

Signed-off-by: Weichen Xu <[email protected]>
  • Loading branch information
ArturNiederfahrenhorst authored and WeichenXu123 committed Dec 19, 2022
1 parent 23ef141 commit 02bc78e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rllib/algorithms/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1752,8 +1752,8 @@ def add_policy(
Args:
policy_id: ID of the policy to add.
IMPORTANT: Must not contain characters that
are also not allowed in Unix/Win filesystems, such as: `<>:"/\|?*`
or a dot `.` or space ` ` at the end of the ID.
are also not allowed in Unix/Win filesystems, such as: `<>:"/|?*`,
or a dot, space or backslash at the end of the ID.
policy_cls: The Policy class to use for constructing the new Policy.
Note: Only one of `policy_cls` or `policy` must be provided.
policy: The Policy instance to add to this algorithm. If not None, the
Expand Down

0 comments on commit 02bc78e

Please sign in to comment.