Update colab gym render installation + leaderboard link

This commit is contained in:
Thomas Simonini
2022-08-30 09:29:11 +02:00
parent 0a363951ba
commit ce874c8d34

View File

@@ -3,8 +3,8 @@
{
"cell_type": "markdown",
"metadata": {
"colab_type": "text",
"id": "view-in-github"
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/github/huggingface/deep-rl-class/blob/main/unit1/unit1.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
@@ -776,7 +776,7 @@
"- You can **showcase our work** 🔥\n",
"- You can **visualize your agent playing** 👀\n",
"- You can **share with the community an agent that others can use** 💾\n",
"- You can **access a leaderboard 🏆 to see how well your agent is performing compared to your classmates** 👉 https://huggingface.co/spaces/ThomasSimonini/Lunar-Lander-Leaderboard\n"
"- You can **access a leaderboard 🏆 to see how well your agent is performing compared to your classmates** 👉 https://huggingface.co/spaces/huggingface-projects/Deep-Reinforcement-Learning-Leaderboard\n"
]
},
{
@@ -973,7 +973,7 @@
"\n",
"Under the hood, the Hub uses git-based repositories (don't worry if you don't know what git is), which means you can update the model with new versions as you experiment and improve your agent.\n",
"\n",
"Compare the results of your LunarLander-v2 with your classmates using the leaderboard 🏆 👉 https://huggingface.co/spaces/ThomasSimonini/Lunar-Lander-Leaderboard"
"Compare the results of your LunarLander-v2 with your classmates using the leaderboard 🏆 👉 https://huggingface.co/spaces/huggingface-projects/Deep-Reinforcement-Learning-Leaderboard"
]
},
{
@@ -1063,9 +1063,29 @@
"source": [
"!pip install gym pyvirtualdisplay > /dev/null 2>&1\n",
"!apt-get install -y xvfb python-opengl ffmpeg > /dev/null 2>&1\n",
"!pip install colabgymrender==1.0.2"
"!pip install -U colabgymrender"
]
},
{
"cell_type": "markdown",
"source": [
"If you have a runtime bug `RuntimeError: imageio.ffmpeg.download() has been deprecated. Use 'pip install imageio-ffmpeg' instead.'` here please install this package and click on restart button after the installation"
],
"metadata": {
"id": "XAq_Fosen9Z7"
}
},
{
"cell_type": "code",
"source": [
"!pip install imageio==2.4.1"
],
"metadata": {
"id": "3wmUjb5LoCiK"
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"execution_count": null,
@@ -1157,10 +1177,10 @@
"accelerator": "GPU",
"colab": {
"collapsed_sections": [],
"include_colab_link": true,
"name": "Copie de Unit 1: Train your first Deep Reinforcement Learning Agent 🚀.ipynb",
"private_outputs": true,
"provenance": []
"provenance": [],
"include_colab_link": true
},
"gpuClass": "standard",
"kernelspec": {
@@ -1173,4 +1193,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}