Skip to content

Commit

Permalink
Merge pull request #213 from huangshiyu13/main
Browse files Browse the repository at this point in the history
update readme
  • Loading branch information
huangshiyu13 authored Aug 25, 2023
2 parents 0abdce9 + 84a699f commit 239560f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions examples/custom_env/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Integrate user-defined environments into OpenRL

[[Tutorial](https://openrl-docs.readthedocs.io/en/latest/custom_env/index.html)] | [[中文教程](https://openrl-docs.readthedocs.io/zh/latest/custom_env/index.html)]

Here, we provide several toy examples to show how to add user-defined environments into OpenRL.

Expand Down
1 change: 0 additions & 1 deletion examples/custom_env/pettingzoo_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
env_num=10,
opponent_wrappers=[RandomOpponentWrapper],
)
obs, info = env.reset()

train_and_test(env)

0 comments on commit 239560f

Please sign in to comment.