mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-28 03:50:11 +08:00
Dnerf viewer and training fix (#1065)
* dnerf viewer and training fix * Update viewer_utils.py
This commit is contained in:
1 parent
8c3f093ecb
commit
1437a2fad5
2 files changed
+2
-2
No files matched your search
@@ -677,7 +677,7 @@ class Cameras(TensorDataclass):
|
||||
pixel_area = (dx * dy)[..., None] # ("num_rays":..., 1)
|
||||
assert pixel_area.shape == num_rays_shape + (1,)
|
||||
|
||||
times = self.times[camera_indices, None] if self.times is not None else None
|
||||
times = self.times[camera_indices, 0] if self.times is not None else None
|
||||
|
||||
return RayBundle(
|
||||
origins=origins,
|
||||
|
||||
Reference in new issue
Block a user