mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-01 13:28:59 +08:00
1 parent
7280541350
commit
7346f97590
2 files changed
+5
-4
No files matched your search
@@ -244,7 +244,7 @@ class Cameras(TensorDataclass):
|
||||
if times.ndim == 0 or times.shape[-1] != 1:
|
||||
times = times.unsqueeze(-1).to(self.device)
|
||||
else:
|
||||
raise ValueError(f"times must be a tensor, got {type(times)}")
|
||||
raise ValueError(f"times must be None or a tensor, got {type(times)}")
|
||||
|
||||
return times
|
||||
|
||||
|
||||
Reference in new issue
Block a user