Update README.md
Browse files
README.md
CHANGED
@@ -26,12 +26,20 @@ This is a trained model of a **A2C** agent playing **PandaReachDense-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 |
-
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
import pybullet_envs
|
32 |
+
import panda_gym
|
33 |
+
import gym
|
34 |
+
|
35 |
+
import os
|
36 |
+
|
37 |
+
from huggingface_sb3 import load_from_hub, package_to_hub
|
38 |
+
|
39 |
+
from stable_baselines3 import A2C
|
40 |
+
from stable_baselines3.common.evaluation import evaluate_policy
|
41 |
+
from stable_baselines3.common.vec_env import DummyVecEnv, VecNormalize
|
42 |
+
from stable_baselines3.common.env_util import make_vec_env
|
43 |
|
44 |
+
from huggingface_hub import notebook_login
|
45 |
```
|