From 676f816156d05b581562774410381e811e9d69c1 Mon Sep 17 00:00:00 2001 From: Matthew Tancik Date: Sun, 11 Dec 2022 13:03:35 -0800 Subject: [PATCH] Bump max res default (#1106) --- nerfstudio/fields/nerfacto_field.py | 2 +- nerfstudio/models/nerfacto.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nerfstudio/fields/nerfacto_field.py b/nerfstudio/fields/nerfacto_field.py index da51f417a..95ed66c1e 100644 --- a/nerfstudio/fields/nerfacto_field.py +++ b/nerfstudio/fields/nerfacto_field.py @@ -91,7 +91,7 @@ class TCNNNerfactoField(Field): hidden_dim: int = 64, geo_feat_dim: int = 15, num_levels: int = 16, - max_res: int = 1024, + max_res: int = 2048, log2_hashmap_size: int = 19, num_layers_color: int = 3, num_layers_transient: int = 2, diff --git a/nerfstudio/models/nerfacto.py b/nerfstudio/models/nerfacto.py index b1e772b03..11adadbd7 100644 --- a/nerfstudio/models/nerfacto.py +++ b/nerfstudio/models/nerfacto.py @@ -71,7 +71,7 @@ class NerfactoModelConfig(ModelConfig): """Whether to randomize the background color.""" num_levels: int = 16 """Number of levels of the hashmap for the base mlp.""" - max_res: int = 1024 + max_res: int = 2048 """Maximum resolution of the hashmap for the base mlp.""" log2_hashmap_size: int = 19 """Size of the hashmap for the base mlp"""