mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-16 12:53:44 +08:00
merging
This commit is contained in:
commit
49bbd5405d
66 files changed
+5757
-4441
No files matched your search
@@ -61,6 +61,8 @@ class TCNNInstantNGPField(Field):
|
||||
num_images: number of images, requried if use_appearance_embedding is True
|
||||
appearance_embedding_dim: dimension of appearance embedding
|
||||
contraction_type: type of contraction
|
||||
num_levels: number of levels of the hashmap for the base mlp
|
||||
log2_hashmap_size: size of the hashmap for the base mlp
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
@@ -75,6 +77,8 @@ class TCNNInstantNGPField(Field):
|
||||
num_images: Optional[int] = None,
|
||||
appearance_embedding_dim: int = 32,
|
||||
contraction_type: ContractionType = ContractionType.UN_BOUNDED_SPHERE,
|
||||
num_levels: int = 16,
|
||||
log2_hashmap_size: int = 19,
|
||||
) -> None:
|
||||
super().__init__()
|
||||
|
||||
@@ -104,9 +108,9 @@ class TCNNInstantNGPField(Field):
|
||||
n_output_dims=1 + self.geo_feat_dim,
|
||||
encoding_config={
|
||||
"otype": "HashGrid",
|
||||
"n_levels": 16,
|
||||
"n_levels": num_levels,
|
||||
"n_features_per_level": 2,
|
||||
"log2_hashmap_size": 19,
|
||||
"log2_hashmap_size": log2_hashmap_size,
|
||||
"base_resolution": 16,
|
||||
"per_level_scale": per_level_scale,
|
||||
},
|
||||
|
||||
@@ -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
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user