Skip to content

Commit

Permalink
Fixes for tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
ansantam committed Mar 4, 2024
1 parent 2e43ab6 commit 4f0aa25
Show file tree
Hide file tree
Showing 3 changed files with 223 additions and 52 deletions.
17 changes: 6 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ cd rl-tutorial-ares-basic

You need to install the dependencies before running the notebooks.

### Install `ffmpeg`
Please also run these commands to install `ffmpeg`:
- OS X: `brew install ffmpeg`
- Ubuntu: `sudo apt-get install ffmpeg`
- With pip: `pip install imageio-ffmpeg`

### Using conda

If you don't have conda installed already and want to use conda for environment management, you can install the miniconda as [described here](https://docs.conda.io/projects/miniconda/en/latest/miniconda-install.html).
Expand All @@ -69,12 +75,6 @@ If you don't have conda installed already and want to use conda for environment
- Install the required packages via `pip install -r requirements.txt`.
- Additional installation steps:

Please also run these commands to install `ffmpeg`:
- OS X: `brew install ffmpeg`
- Ubuntu: `sudo apt-get install ffmpeg`
- With pip: `pip install imageio-ffmpeg`

Finally, install the notebook extensions if you want to see them in slide mode:
```bash
python -m jupyter contrib nbextension install --user
python -m jupyter nbextension enable varInspector/main
Expand All @@ -100,11 +100,6 @@ Then, install the packages with pip within the activated environment
python -m pip install -r requirements.txt
```

Please also run these commands to install `ffmpeg`:
- OS X: `brew install ffmpeg`
- Ubuntu: `sudo apt-get install ffmpeg`
- With pip: `pip install imageio-ffmpeg`

Finally, install the notebook extensions if you want to see them in slide mode:
```bash
python -m jupyter contrib nbextension install --user
Expand Down
17 changes: 10 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
cheetah-accelerator
gymnasium
imageio==2.4.1
gym
imageio==2.5
ipywidgets
ipython
ipywidgets
jupyter_contrib_nbextensions
matplotlib
moviepy
moviepy==1.0.3
names
notebook==6.4.12
opencv-python
seaborn
pyyaml
stable-baselines3
notebook==6.4.12
jupyter_contrib_nbextensions
requests
RISE
shimmy
stable-baselines3
traitlets==5.9.0
ipython
ipywidgets

Loading

0 comments on commit 4f0aa25

Please sign in to comment.