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
Issue with env.sim.set_state(obs) , also tried env.set_state(obs)
WARNING:py.warnings:/usr/local/lib/python3.10/dist-packages/ipykernel/ipkernel.py:283: DeprecationWarning: should_run_async will not call transform_cell automatically in the future. Please pass the result to transformed_cell argument and any exception that happen during thetransform in preprocessing_exc_tuple in IPython 7.17 and above.
and should_run_async(code)
WARNING:py.warnings:/usr/local/lib/python3.10/dist-packages/gym/spaces/box.py:128: UserWarning: WARN: Box bound precision lowered by casting to float32
upp_bounded = ~self.bounded_below & self.bounded_above
WARNING:py.warnings:/usr/local/lib/python3.10/dist-packages/gym/core.py:317: DeprecationWarning: WARN: Initializing wrapper in old step API which returns one bool instead of two. It is recommended to set new_step_api=True to use new step API. This will be the default behaviour in future. @AbstractMethod
WARNING:py.warnings:/usr/local/lib/python3.10/dist-packages/gym/wrappers/step_api_compatibility.py:39: DeprecationWarning: WARN: Initializing environment in old step API which returns one bool instead of two. It is recommended to set new_step_api=True to use new step API. This will be the default behaviour in future.
AttributeError Traceback (most recent call last)
in <cell line: 7>()
6
7 for obs in observations:
----> 8 env.sim.set_state(obs)
9 env.render(mode='rgb_array')
10
mjsim.pyx in mujoco_py.cymj.MjSim.set_state()
AttributeError: 'numpy.ndarray' object has no attribute 'time'
The text was updated successfully, but these errors were encountered:
rebecajohn
changed the title
[Question] Question title
Issue with env.sim.set_state(obs) , also tried env.set_state(obs)
Aug 17, 2023
Issue with env.sim.set_state(obs) , also tried env.set_state(obs)
WARNING:py.warnings:/usr/local/lib/python3.10/dist-packages/ipykernel/ipkernel.py:283: DeprecationWarning:
should_run_async
will not calltransform_cell
automatically in the future. Please pass the result totransformed_cell
argument and any exception that happen during thetransform inpreprocessing_exc_tuple
in IPython 7.17 and above.and should_run_async(code)
WARNING:py.warnings:/usr/local/lib/python3.10/dist-packages/gym/spaces/box.py:128: UserWarning: WARN: Box bound precision lowered by casting to float32
upp_bounded = ~self.bounded_below & self.bounded_above
WARNING:py.warnings:/usr/local/lib/python3.10/dist-packages/gym/core.py:317: DeprecationWarning: WARN: Initializing wrapper in old step API which returns one bool instead of two. It is recommended to set
new_step_api=True
to use new step API. This will be the default behaviour in future.@AbstractMethod
WARNING:py.warnings:/usr/local/lib/python3.10/dist-packages/gym/wrappers/step_api_compatibility.py:39: DeprecationWarning: WARN: Initializing environment in old step API which returns one bool instead of two. It is recommended to set
new_step_api=True
to use new step API. This will be the default behaviour in future.AttributeError Traceback (most recent call last)
in <cell line: 7>()
6
7 for obs in observations:
----> 8 env.sim.set_state(obs)
9 env.render(mode='rgb_array')
10
mjsim.pyx in mujoco_py.cymj.MjSim.set_state()
AttributeError: 'numpy.ndarray' object has no attribute 'time'
The text was updated successfully, but these errors were encountered: