Skip to content

Commit bd6d1ae

Browse files
another cleanup
1 parent e7c99e4 commit bd6d1ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nerfstudio/data/utils/dataloaders.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -635,9 +635,9 @@ def __iter__(self):
635635

636636
i += 1
637637
camera = camera.to(self.device)
638-
# for k in data.keys():
639-
# if isinstance(data[k], torch.Tensor):
640-
# data[k] = data[k].to(self.device)
638+
for k in data.keys():
639+
if isinstance(data[k], torch.Tensor):
640+
data[k] = data[k].to(self.device)
641641
yield camera, data
642642

643643

0 commit comments

Comments
 (0)