mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-14 11:54:01 +08:00
fix bug in ngp sampler
This commit is contained in:
1 parent
3f8f0531d0
commit
8db05d8299
1 file changed
-1
@@ -405,7 +405,6 @@ class NGPSpacedSampler(Sampler):
|
||||
scene_scale,
|
||||
)
|
||||
total_samples = max(packed_info[:, -1].sum(), 1)
|
||||
packed_info = packed_info[:total_samples]
|
||||
origins = origins[:total_samples]
|
||||
dirs = dirs[:total_samples]
|
||||
starts = starts[:total_samples]
|
||||
|
||||
Reference in new issue
Block a user