Update README.md
Browse files
README.md
CHANGED
|
@@ -26,12 +26,11 @@ 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 |
-
.
|
|
|
|
| 37 |
```
|
|
|
|
| 26 |
using the [stable-baselines3 library](https://github.com/DLR-RM/stable-baselines3).
|
| 27 |
|
| 28 |
## Usage (with Stable-baselines3)
|
|
|
|
|
|
|
| 29 |
|
| 30 |
```python
|
| 31 |
from stable_baselines3 import ...
|
| 32 |
from huggingface_sb3 import load_from_hub
|
| 33 |
|
| 34 |
+
checkpoint = load_from_hub(hqbui/ppo_LunarLander_v2, "lunar_lander_ppo_hb_2023_10_08.zip")
|
| 35 |
+
model = PPO.load(checkpoint, custom_objects=custom_objects, print_system_info=True)
|
| 36 |
```
|