mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-30 17:57:30 +00:00
Otherwise it generates warnings: #868
This commit is contained in:
@@ -46,7 +46,7 @@ class MujocoEnv(gym.Env):
|
||||
bounds = self.model.actuator_ctrlrange.copy()
|
||||
low = bounds[:, 0]
|
||||
high = bounds[:, 1]
|
||||
self.action_space = spaces.Box(low=low, high=high)
|
||||
self.action_space = spaces.Box(low=low, high=high, dtype=np.float32)
|
||||
|
||||
high = np.inf*np.ones(self.obs_dim)
|
||||
low = -high
|
||||
|
Reference in New Issue
Block a user