SimingSiming commited on
Commit
d702fda
·
1 Parent(s): bce421d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -5
README.md CHANGED
@@ -25,12 +25,23 @@ This is a trained model of a **A2C** agent playing **AntBulletEnv-v0**
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
  ```python
30
+ model = A2C(policy = "MlpPolicy",
31
+ env = env,
32
+ gae_lambda = 0.9,
33
+ gamma = 0.99,
34
+ learning_rate = 0.00096,
35
+ max_grad_norm = 0.5,
36
+ n_steps = 8,
37
+ vf_coef = 0.4,
38
+ ent_coef = 0.0,
39
+ tensorboard_log = "./tensorboard",
40
+ policy_kwargs=dict(
41
+ log_std_init=-2, ortho_init=False),
42
+ normalize_advantage=False,
43
+ use_rms_prop= True,
44
+ use_sde= True,
45
+ verbose=1)
46
  ...
47
  ```