Update README.md
Browse files
README.md
CHANGED
@@ -26,12 +26,12 @@ This is a trained model of a **SAC** agent playing **Walker2d-v4**
|
|
26 |
using the [stable-baselines3 library](https://github.com/DLR-RM/stable-baselines3).
|
27 |
|
28 |
## Usage (with Stable-baselines3)
|
29 |
-
|
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 |
+
from stable_baselines3 import SAC
|
|
|
|
|
|
|
31 |
from huggingface_sb3 import load_from_hub
|
32 |
+
checkpoint = load_from_hub(
|
33 |
+
repo_id="jren123/sac-humanoid-v4",
|
34 |
+
filename="SAC-Humanoid-v4.zip",
|
35 |
+
)
|
36 |
+
model = SAC.load(checkpoint)
|
37 |
```
|