You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the gym FetchPush-v1, env.observation_space['observation'] outputs
Box(-inf, inf, (25,), float32)
However, when I print out 'observation' space length using enjoy.py,
it prints out 26.
`python enjoy.py --algo tqc --env FetchPush-v1
print(len(obs['observation'][0]))`
What makes the difference?
I'm using the agent's state output of enjoy.py, so the dimension should be the same.
Is this a bug or do I need to post-process the output before using it somewhere else?
System Info
Python version is 3.7.9
PyTorch version is 1.7.1
The text was updated successfully, but these errors were encountered:
Hello!
I didn't know there were similar questions previously, thanks for your kind reply! :)
I guess I can just get rid of the last dimension of state space then, like obs['observation'][0][:-1]
In the gym FetchPush-v1, env.observation_space['observation'] outputs
Box(-inf, inf, (25,), float32)
However, when I print out 'observation' space length using enjoy.py,
it prints out 26.
`python enjoy.py --algo tqc --env FetchPush-v1
print(len(obs['observation'][0]))`
What makes the difference?
I'm using the agent's state output of enjoy.py, so the dimension should be the same.
Is this a bug or do I need to post-process the output before using it somewhere else?
System Info
Python version is 3.7.9
PyTorch version is 1.7.1
The text was updated successfully, but these errors were encountered: