_setup_buf conflicting Dict types when using Gymnasium with FetchReach environment #799
Closed
5 of 8 tasks
Labels
question
Further information is requested
Hi,
I am trying to run examples/mujoco/fetch_her_ddpg.py.
After the first run, the following error is thrown:
So I changed:
into:
Now I get:
AttributeError: 'NoneType' object has no attribute 'type'
with the following stacktrace:Implementation of
_setup_buf()
function:While debugging, the actual data type for
space: gym.Space
isgymnasium.spaces.dict.Dict
. The_setup_buf()
function is expectinggym.spaces.Dict
, so the first conditional is evaluated toFalse
instead ofTrue
. On the other hand, sticking to:does not seem to be an option, because of the error message being thrown in the beginning.
How can I tackle this?
The text was updated successfully, but these errors were encountered: