mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-28 20:10:05 +08:00
Remove redundant data (#103)
RaySamples contained fields for bin_starts and bin_ends. These are also stored in the frustums. This PR removes them from the RaySamples.
This commit is contained in:
1 parent
be45d5c9bb
commit
74280110ce
12 files changed
+145682
-145693
No files matched your search
@@ -38,8 +38,8 @@ class Field(nn.Module):
|
||||
frustums=Frustums(
|
||||
origins=positions,
|
||||
directions=torch.ones_like(positions),
|
||||
frustum_starts=torch.zeros_like((positions[..., :1])),
|
||||
frustum_ends=torch.zeros_like((positions[..., :1])),
|
||||
starts=torch.zeros_like((positions[..., :1])),
|
||||
ends=torch.zeros_like((positions[..., :1])),
|
||||
pixel_area=torch.ones_like((positions[..., :1])),
|
||||
)
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user