Skip to content

Commit

Permalink
TEMP
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Bettini <[email protected]>
  • Loading branch information
matteobettini committed Aug 18, 2023
1 parent 451e9a9 commit e8e410e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion torchrl/collectors/collectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,9 @@ def iterator(self) -> Iterator[TensorDictBase]:
tensordict_out = self.postproc(tensordict_out)
if self._exclude_private_keys:
excluded_keys = []
for key in tensordict_out.keys(True, True):
# Temp
for key in tensordict_out.keys():
# for key in tensordict_out.keys(True, True):
if isinstance(key, Tuple):
leaf_key = key[-1]
else:
Expand Down

0 comments on commit e8e410e

Please sign in to comment.