deep-rl-class icon indicating copy to clipboard operation
deep-rl-class copied to clipboard

[HANDS-ON BUG] boolean is a digital number other than 1 or 0

Open nanxusu opened this issue 1 year ago • 0 comments

Describe the bug

https://colab.research.google.com/github/huggingface/deep-rl-class/blob/master/notebooks/unit1/unit1.ipynb?authuser=1#scrollTo=ZNPG0g_UGCfh

For unit1.ipynb, the final two values of the 8-dimention observation should be: If the left leg contact point has touched the land (boolean) and If the right leg contact point has touched the land (boolean).

However, the env.observation_space.sample() returned [-66.26277 87.800964 4.018273 3.077604 -0.1319175 -2.6315386 0.20755419 0.5502597 ], where the final two values are not boolean.

Material

  • Did you use Google Colab?

If not:

  • Your Operating system (OS)
  • Version of your OS

nanxusu avatar May 23 '24 12:05 nanxusu