Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaiejj committed May 2, 2024
1 parent 5bed892 commit a64d3a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omnisafe/adapter/onpolicy_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def rollout( # pylint: disable=too-many-locals
if num_dones:
logger.log(
f'\nWarning: trajectory cut off when rollout by epoch\
in {num_dones} of {self._env.num_envs} environments.',
in {self._env.num_envs - num_dones} of {self._env.num_envs} environments.',
)

for idx, (done, time_out) in enumerate(zip(terminated, truncated)):
Expand Down

0 comments on commit a64d3a9

Please sign in to comment.