mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-19 06:14:03 +08:00
Reducing flicker artifacts for nerfacto method (#750)
* pose opt default nerfacto. * added SO3 cam pose optimization which is slightly faster (~2.2m/iter) than BARF * added occupancy grid with placeholder until nerfacc is updated to query density from it * added occupancy grid sampling as the level 0 in proposal hierarchy, relies on nerfacc 0.1.7 (on pypi) * merge main * merge main * minor changes to sampling * adjusted sample number * refactor occ grid stuff, settle on decent params * nograd proposal sampling * param tweaks * varying resolution proposal networks * params * merged main * optimizer update * remove occ grid * remove double nerfacto samples * set single jitter to true * remove pdb * more changes * fix method defaults * fix pylint * remove occupancy fn Co-authored-by: akristoffersen <akristoffersen@berkeley.edu> Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
This commit is contained in:
8 files changed
+40
-37
No files matched your search
@@ -55,6 +55,11 @@ class HashMLPDensityField(Field):
|
||||
hidden_dim: int = 64,
|
||||
spatial_distortion: Optional[SpatialDistortion] = None,
|
||||
use_linear=False,
|
||||
num_levels=8,
|
||||
max_res=1024,
|
||||
base_res=16,
|
||||
log2_hashmap_size=18,
|
||||
features_per_level=2,
|
||||
) -> None:
|
||||
super().__init__()
|
||||
|
||||
@@ -62,11 +67,6 @@ class HashMLPDensityField(Field):
|
||||
self.spatial_distortion = spatial_distortion
|
||||
self.use_linear = use_linear
|
||||
|
||||
num_levels = 8
|
||||
max_res = 1024
|
||||
base_res = 16
|
||||
log2_hashmap_size = 18
|
||||
features_per_level = 2
|
||||
growth_factor = np.exp((np.log(max_res) - np.log(base_res)) / (num_levels - 1))
|
||||
|
||||
config = {
|
||||
|
||||
Reference in new issue
Block a user