Update README.md
Browse files
README.md
CHANGED
@@ -24,5 +24,14 @@ model-index:
|
|
24 |
This is a trained model of a **PPO** agent playing **LunarLander-v2** using the [stable-baselines3 library](https://github.com/DLR-RM/stable-baselines3).
|
25 |
|
26 |
## Usage (with Stable-baselines3)
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
|
|
24 |
This is a trained model of a **PPO** agent playing **LunarLander-v2** using the [stable-baselines3 library](https://github.com/DLR-RM/stable-baselines3).
|
25 |
|
26 |
## Usage (with Stable-baselines3)
|
27 |
+
model = PPO(
|
28 |
+
policy = 'MlpPolicy',
|
29 |
+
env = env,
|
30 |
+
n_steps = 1024,
|
31 |
+
batch_size = 64,
|
32 |
+
n_epochs = 10,
|
33 |
+
gamma = 0.999,
|
34 |
+
gae_lambda = 0.98,
|
35 |
+
ent_coef = 0.01,
|
36 |
+
verbose=1)
|
37 |
|