mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-19 06:14:03 +08:00
Uniform Sampler in Nerfacto (#1464)
* Allow black/white background color in Nerfacto * Use white background in Nerfacto Blender Benchmark * Fixed unused import * Updated index for license headers script * Removed debug code in NGP models * Uniform initial sampler config in Nerfacto * Undo changes in settings.json * Removed unwanted settings file * Removed unneeded config parameter * Use uniform sampler on Blender benchmark
This commit is contained in:
1 parent
796fad8bcb
commit
151b1060fe
3 files changed
+14
-4
No files matched your search
@@ -393,7 +393,6 @@ class VolumetricSampler(Sampler):
|
||||
self.occupancy_grid = occupancy_grid
|
||||
if self.scene_aabb is not None:
|
||||
self.scene_aabb = self.scene_aabb.to("cuda").flatten()
|
||||
print(self.scene_aabb)
|
||||
|
||||
def get_sigma_fn(self, origins, directions) -> Optional[Callable]:
|
||||
"""Returns a function that returns the density of a point.
|
||||
|
||||
Reference in new issue
Block a user