From 66343cec07b5a98a639a67da513506b0cf0ea14a Mon Sep 17 00:00:00 2001 From: Thomas Simonini Date: Wed, 3 May 2023 17:35:20 +0200 Subject: [PATCH] Update (keep gym) --- notebooks/unit4/unit4.ipynb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/notebooks/unit4/unit4.ipynb b/notebooks/unit4/unit4.ipynb index 45d1c0c..bfc44c5 100644 --- a/notebooks/unit4/unit4.ipynb +++ b/notebooks/unit4/unit4.ipynb @@ -7,7 +7,7 @@ "colab_type": "text" }, "source": [ - "\"Open" + "\"Open" ] }, { @@ -229,6 +229,15 @@ "- `gym-games`: Extra gym environments made with PyGame.\n", "- `huggingface_hub`: 🤗 works as a central place where anyone can share and explore models and datasets. It has versioning, metrics, visualizations, and other features that will allow you to easily collaborate with others.\n", "\n", + "You may be wondering why we install gym and not gymnasium, a more recent version of gym? **Because the gym-games we are using are not updated yet with gymnasium**. \n", + "\n", + "The differences you'll encounter here:\n", + "- In `gym` we don't have `terminated` and `truncated` but only `done`.\n", + "- In `gym` using `env.step()` returns `state, reward, done, info`\n", + "\n", + "You can learn more about the differences between Gym and Gymnasium here 👉 https://gymnasium.farama.org/content/migration-guide/\n", + "\n", + "\n", "You can see here all the Reinforce models available 👉 https://huggingface.co/models?other=reinforce\n", "\n", "And you can find all the Deep Reinforcement Learning models here 👉 https://huggingface.co/models?pipeline_tag=reinforcement-learning\n"