Skip to content

Commit e8e410e

Browse files
committed
TEMP
Signed-off-by: Matteo Bettini <matbet@meta.com>
1 parent 451e9a9 commit e8e410e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

torchrl/collectors/collectors.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,9 @@ def iterator(self) -> Iterator[TensorDictBase]:
766766
tensordict_out = self.postproc(tensordict_out)
767767
if self._exclude_private_keys:
768768
excluded_keys = []
769-
for key in tensordict_out.keys(True, True):
769+
# Temp
770+
for key in tensordict_out.keys():
771+
# for key in tensordict_out.keys(True, True):
770772
if isinstance(key, Tuple):
771773
leaf_key = key[-1]
772774
else:

0 commit comments

Comments
 (0)