Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def _update_action_spaces(self) -> None:
continue
if act_spec.continuous_size > 0:
c_space = spaces.Box(
-1, 1, (act_spec.continuous_size,), dtype=np.int32
-np.float32(np.inf), np.float32(np.inf), (act_spec.continuous_size,), dtype=np.float32
)
if self._seed is not None:
c_space.seed(self._seed)
Expand Down Expand Up @@ -168,7 +168,7 @@ def _process_action(self, current_agent, action):
if action.continuous is not None:
self._current_action[current_behavior].continuous[
current_index
] = action.continuous[0]
] = action.continuous
if action.discrete is not None:
self._current_action[current_behavior].discrete[
current_index
Expand Down