Skip to content

Commit 1d377d0

Browse files
authored
fix cartpole example bugs
fix cartpole example bugs
2 parents e797f3a + 356bd95 commit 1d377d0

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

examples/cartpole/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Users can train CartPole via:
44

55
```shell
6-
python train_ppo.py
6+
python train_ppo.py --config ppo.yaml
77
```
88

99

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
seed: 0
2+
run_dir: ./run_results/
3+
wandb_entity: openrl-lab
14
dual_clip_ppo: true
25
dual_clip_coeff: 3.0

examples/cartpole/ppo.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
seed: 0
2+
run_dir: ./run_results/
3+
wandb_entity: openrl-lab

0 commit comments

Comments
 (0)