-
-
Couldn't load subscription status.
- Fork 1.2k
Open
Description
During autoreset reward, truncation, and termination are set to non numpy array types.
Gymnasium/gymnasium/vector/async_vector_env.py
Lines 471 to 473 in 7cb208f
| np.array(rewards, dtype=np.float64), | |
| np.array(terminations, dtype=np.bool_), | |
| np.array(truncations, dtype=np.bool_), |
This results in the above lines of code failing due to inhomogeneous structure between numpy arrays of np.float32 and int for reward, as well as for termination and truncation.
gymnasium==1.2.0
Metadata
Metadata
Assignees
Labels
No labels