Files
easy-rl/codes/env_info.md
JohnJim0816 bf0f2990cf update
2021-03-23 16:10:11 +08:00

13 lines
945 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 环境说明
### [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。