From b375727f7e6453dd0738faf71c3a887429397e5e Mon Sep 17 00:00:00 2001 From: Matthew Tancik Date: Fri, 23 Dec 2022 14:20:48 -0700 Subject: [PATCH] Update docstrings (#1165) --- nerfstudio/data/dataparsers/instant_ngp_dataparser.py | 2 -- nerfstudio/fields/nerfacto_field.py | 7 +++++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/nerfstudio/data/dataparsers/instant_ngp_dataparser.py b/nerfstudio/data/dataparsers/instant_ngp_dataparser.py index 6a3478749..d09aa86f9 100644 --- a/nerfstudio/data/dataparsers/instant_ngp_dataparser.py +++ b/nerfstudio/data/dataparsers/instant_ngp_dataparser.py @@ -46,8 +46,6 @@ class InstantNGPDataParserConfig(DataParserConfig): """target class to instantiate""" data: Path = Path("data/ours/posterv2") """Directory or explicit json file path specifying location of data.""" - scale_factor: float = 1.0 - """How much to scale the camera origins by.""" scene_scale: float = 0.3333 """How much to scale the scene.""" diff --git a/nerfstudio/fields/nerfacto_field.py b/nerfstudio/fields/nerfacto_field.py index 95ed66c1e..1c3865fee 100644 --- a/nerfstudio/fields/nerfacto_field.py +++ b/nerfstudio/fields/nerfacto_field.py @@ -69,6 +69,7 @@ class TCNNNerfactoField(Field): Args: aabb: parameters of scene aabb bounds + num_images: number of images in the dataset num_layers: number of hidden layers hidden_dim: dimension of hidden layers geo_feat_dim: output geo feat dimensions @@ -76,9 +77,15 @@ class TCNNNerfactoField(Field): max_res: maximum resolution of the hashmap for the base mlp log2_hashmap_size: size of the hashmap for the base mlp num_layers_color: number of hidden layers for color network + num_layers_transient: number of hidden layers for transient network hidden_dim_color: dimension of hidden layers for color network + hidden_dim_transient: dimension of hidden layers for transient network appearance_embedding_dim: dimension of appearance embedding transient_embedding_dim: dimension of transient embedding + use_transient_embedding: whether to use transient embedding + use_semantics: whether to use semantic segmentation + num_semantic_classes: number of semantic classes + use_pred_normals: whether to use predicted normals use_average_appearance_embedding: whether to use average appearance embedding or zeros for inference spatial_distortion: spatial distortion to apply to the scene """