fix typo error which should be self.cameras.times (#991)

This commit is contained in:
ksnzh authored and GitHub committed 2022-11-20 21:02:58 -08:00
1 parent 4065bb4733
commit d767cd5011
1 file changed
+1 -1
+1 -1
View File
@@ -166,7 +166,7 @@ class EvalDataloader(DataLoader):
camera_to_worlds=self.cameras.camera_to_worlds[image_idx : image_idx + 1],
distortion_params=distortion_params,
camera_type=self.cameras.camera_type[image_idx : image_idx + 1],
times=self.cameras.times[image_idx : image_idx + 1] if self.cameras.time else None,
times=self.cameras.times[image_idx : image_idx + 1] if self.cameras.times else None,
)
return camera