Skip to content

Commit

Permalink
Add version of rllib for ppo script
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasAlegre committed Nov 27, 2024
1 parent 1045397 commit 973f169
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions experiments/ppo_4x4grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@


if __name__ == "__main__":
# Use:
# ray[rllib]==2.7.0
# numpy == 1.23.4
# Pillow>=9.4.0
# ray[rllib]==2.7.0
# SuperSuit>=3.9.0
# torch>=1.13.1
# tensorflow-probability>=0.19.0
ray.init()

env_name = "4x4grid"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ nets = [
[tool.black]
safe = true
line-length = 127
target-version = ['py38', 'py39', 'py310', 'py311', 'py312']
target-version = ['py38', 'py39', 'py310', 'py311']
include = '\.pyi?$'

[tool.isort]
Expand Down

0 comments on commit 973f169

Please sign in to comment.