Update README.md
Browse files
README.md
CHANGED
|
@@ -25,12 +25,14 @@ This is a trained model of a **PPO** agent playing **LunarLander-v2**
|
|
| 25 |
using the [stable-baselines3 library](https://github.com/DLR-RM/stable-baselines3).
|
| 26 |
|
| 27 |
## Usage (with Stable-baselines3)
|
| 28 |
-
TODO: Add your code
|
| 29 |
|
| 30 |
|
| 31 |
```python
|
| 32 |
-
from stable_baselines3 import
|
| 33 |
from huggingface_sb3 import load_from_hub
|
| 34 |
|
|
|
|
|
|
|
|
|
|
| 35 |
...
|
| 36 |
```
|
|
|
|
| 25 |
using the [stable-baselines3 library](https://github.com/DLR-RM/stable-baselines3).
|
| 26 |
|
| 27 |
## Usage (with Stable-baselines3)
|
|
|
|
| 28 |
|
| 29 |
|
| 30 |
```python
|
| 31 |
+
from stable_baselines3 import PPO
|
| 32 |
from huggingface_sb3 import load_from_hub
|
| 33 |
|
| 34 |
+
model = load_from_hub(repo_id="Alt41r/ppo-LunarLander-v2",filename="ppo-LunarLander-v2.zip")
|
| 35 |
+
|
| 36 |
+
|
| 37 |
...
|
| 38 |
```
|