Update docstrings (#1165)

This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-12-23 14:20:48 -07:00
1 parent 4a27e5e929
commit b375727f7e
2 files changed
+7 -2

No files matched your search

@@ -46,8 +46,6 @@ class InstantNGPDataParserConfig(DataParserConfig):
"""target class to instantiate""" """target class to instantiate"""
data: Path = Path("data/ours/posterv2") data: Path = Path("data/ours/posterv2")
"""Directory or explicit json file path specifying location of data.""" """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 scene_scale: float = 0.3333
"""How much to scale the scene.""" """How much to scale the scene."""
+7
View File
@@ -69,6 +69,7 @@ class TCNNNerfactoField(Field):
Args: Args:
aabb: parameters of scene aabb bounds aabb: parameters of scene aabb bounds
num_images: number of images in the dataset
num_layers: number of hidden layers num_layers: number of hidden layers
hidden_dim: dimension of hidden layers hidden_dim: dimension of hidden layers
geo_feat_dim: output geo feat dimensions 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 max_res: maximum resolution of the hashmap for the base mlp
log2_hashmap_size: size 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_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_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 appearance_embedding_dim: dimension of appearance embedding
transient_embedding_dim: dimension of transient 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 use_average_appearance_embedding: whether to use average appearance embedding or zeros for inference
spatial_distortion: spatial distortion to apply to the scene spatial_distortion: spatial distortion to apply to the scene
""" """