Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:MushroomRL/mushroom-rl into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
robfiras committed Jan 22, 2024
2 parents ba0ee99 + 0c68434 commit 861451c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ def _transform_to_sequences(self, states_old, states, policy_states, actions, ne
# apply padding
length_seq = len(states_seq)
padded_states_old = torch.concatenate([states_old_seq,
torch.zeros((self._truncation_length - states_seq.shape[0],
states_seq.shape[1]))])
torch.zeros((self._truncation_length - states_old_seq.shape[0],
states_old_seq.shape[1]))])
padded_states = torch.concatenate([states_seq,
torch.zeros((self._truncation_length - states_seq.shape[0],
states_seq.shape[1]))])
Expand Down

0 comments on commit 861451c

Please sign in to comment.