add env_info

This commit is contained in:
JohnJim0816
2021-03-12 17:08:30 +08:00
parent ac05313a53
commit b6c8ec4bea
2 changed files with 72 additions and 0 deletions

13
codes/env_info.md Normal file
View File

@@ -0,0 +1,13 @@
## 环境说明
### [CartPole v0](https://github.com/openai/gym/wiki/CartPole-v0)
<img src="assets/image-20200820174307301.png" alt="image-20200820174307301" style="zoom:50%;" />
通过向左或向右推车能够实现平衡所以动作空间由两个动作组成。每进行一个step就会给一个reward如果无法保持平衡那么done等于true本次episode失败。理想状态下每个episode至少能进行200个step也就是说每个episode的reward总和至少为200step数目至少为200
### [Pendulum-v0](https://github.com/openai/gym/wiki/Pendulum-v0)
<img src="assets/image-20200820174814084.png" alt="image-20200820174814084" style="zoom:50%;" />
钟摆以随机位置开始,目标是将其摆动,使其保持向上直立。动作空间是连续的,值的区间为[-2,2]。每个step给的reward最低为-16.27最高为0。目前最好的成绩是100个episode的reward之和为-123.11 ± 6.86。