mirror of
https://github.com/huggingface/deep-rl-class.git
synced 2026-11-28 15:04:37 +08:00
Update Unit 1 notebook
This commit is contained in:
5
notebooks/unit1/requirements-unit1.txt
Normal file
5
notebooks/unit1/requirements-unit1.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
stable-baselines3[extra]
|
||||
box2d
|
||||
box2d-kengz
|
||||
huggingface_sb3
|
||||
pyglet==1.5.1
|
||||
@@ -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"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user