mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-17 05:14:15 +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
@@ -31,8 +31,8 @@ def test_tcnn_instant_ngp_field():
|
||||
frustums = Frustums(
|
||||
origins=positions,
|
||||
directions=directions,
|
||||
frustum_starts=torch.zeros((*directions.shape[:-1], 1), device=device),
|
||||
frustum_ends=torch.zeros((*directions.shape[:-1], 1), device=device),
|
||||
starts=torch.zeros((*directions.shape[:-1], 1), device=device),
|
||||
ends=torch.zeros((*directions.shape[:-1], 1), device=device),
|
||||
pixel_area=torch.ones((*directions.shape[:-1], 1), device=device),
|
||||
)
|
||||
ray_samples = RaySamples(frustums=frustums)
|
||||
|
||||
Reference in new issue
Block a user