mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-06 07:48:50 +08:00
Merge pull request #130 from plenoptix/fix_axis_dim
fix axis arg to dim for pytorch funcs
This commit is contained in:
6 files changed
+15
-13
No files matched your search
@@ -313,7 +313,7 @@ class PDFSampler(Sampler):
|
||||
(ray_samples.frustums.starts[..., 1:, 0] + ray_samples.frustums.ends[..., :-1, 0]) / 2.0,
|
||||
ray_samples.frustums.ends[..., -1:, 0],
|
||||
],
|
||||
axis=-1,
|
||||
dim=-1,
|
||||
)
|
||||
|
||||
inds = torch.searchsorted(cdf, u, side="right")
|
||||
|
||||
Reference in new issue
Block a user