Update Unit 1 notebook

This commit is contained in:
Thomas Simonini
2022-12-31 21:06:20 +01:00
parent 6d2b2b6ae7
commit 90ce3173b8
3 changed files with 7 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
stable-baselines3[extra]
box2d
box2d-kengz
huggingface_sb3
pyglet==1.5.1

View File

@@ -247,7 +247,7 @@
},
"outputs": [],
"source": [
"!pip install -r https://huggingface.co/spaces/ThomasSimonini/temp-space-requirements/raw/main/requirements/requirements-unit1.txt"
"!pip install -r https://raw.githubusercontent.com/huggingface/deep-rl-class/main/notebooks/unit1/requirements-unit1.txt"
]
},
{

View File

@@ -139,7 +139,7 @@ To make things easier, we created a script to install all these dependencies.
```
```python
!pip install -r https://huggingface.co/spaces/ThomasSimonini/temp-space-requirements/raw/main/requirements/requirements-unit1.txt
!pip install -r https://raw.githubusercontent.com/huggingface/deep-rl-class/main/notebooks/unit1/requirements-unit1.txt
```
During the notebook, we'll need to generate a replay video. To do so, with colab, **we need to have a virtual screen to be able to render the environment** (and thus record the frames).