Update README.md
Browse files
README.md
CHANGED
|
@@ -25,16 +25,13 @@ model-index:
|
|
| 25 |
This is a trained model of a **PPO** agent playing **LunarLander-v2**
|
| 26 |
using the [stable-baselines3 library](https://github.com/DLR-RM/stable-baselines3).
|
| 27 |
|
| 28 |
-
## Usage (with Stable-baselines3)
|
| 29 |
-
TODO: Add your code
|
| 30 |
-
|
| 31 |
-
|
| 32 |
```python
|
|
|
|
| 33 |
from stable_baselines3 import ...
|
| 34 |
from huggingface_sb3 import load_from_hub
|
| 35 |
|
| 36 |
-
repo_id = "JuanMa360/ppo-LunarLander-v2"
|
| 37 |
-
filename = "ppo-LunarLander-v2.zip"
|
| 38 |
|
| 39 |
# When the model was trained on Python 3.8 the pickle protocol is 5
|
| 40 |
# But Python 3.6, 3.7 use protocol 4
|
|
|
|
| 25 |
This is a trained model of a **PPO** agent playing **LunarLander-v2**
|
| 26 |
using the [stable-baselines3 library](https://github.com/DLR-RM/stable-baselines3).
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
```python
|
| 29 |
+
!pip install shimmy
|
| 30 |
from stable_baselines3 import ...
|
| 31 |
from huggingface_sb3 import load_from_hub
|
| 32 |
|
| 33 |
+
repo_id = "JuanMa360/ppo-LunarLander-v2"
|
| 34 |
+
filename = "ppo-LunarLander-v2.zip"
|
| 35 |
|
| 36 |
# When the model was trained on Python 3.8 the pickle protocol is 5
|
| 37 |
# But Python 3.6, 3.7 use protocol 4
|