We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm following the tutorial and am in the section "Spaces." The box's bounds are printed as:
print(env.observation_space.high) #> array([ 2.4 , inf, 0.20943951, inf]) print(env.observation_space.low) #> array([-2.4 , -inf, -0.20943951, -inf])
However, here is the code I wrote (which follows the tutorial):
import gym env = gym.make('CartPole-v0') print(env.action_space) print(env.observation_space) print(env.observation_space.high) print(env.observation_space.low)
And when I run this (in the file "bare_minimum_test") I get the following output:
$ python daniel_scripts/bare_minimum_test.py [2016-10-05 16:23:01,719] Making new env: CartPole-v0 Discrete(2) Box(4,) [ 4.80000000e+00 3.40282347e+38 4.18879020e-01 3.40282347e+38] [ -4.80000000e+00 -3.40282347e+38 -4.18879020e-01 -3.40282347e+38]
So it seems like the first and third bounds (in both the high/low) were doubled, for some reason.
The text was updated successfully, but these errors were encountered:
Ah, I was precisely wondering about this last month: https://stackoverflow.com/q/55597404/318557
Sorry, something went wrong.
Wait, why is this closed? the problem still exists, doesn't it?
No branches or pull requests
I'm following the tutorial and am in the section "Spaces." The box's bounds are printed as:
However, here is the code I wrote (which follows the tutorial):
And when I run this (in the file "bare_minimum_test") I get the following output:
So it seems like the first and third bounds (in both the high/low) were doubled, for some reason.
The text was updated successfully, but these errors were encountered: