mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-01 13:28:59 +08:00
update docstrings and random cleanups (#387)
* fixing docstrings and small nits; up to fileds * finished adding and fixing docstrings
This commit is contained in:
1 parent
bd5967461d
commit
d50c71ac43
52 files changed
+846
-646
No files matched your search
@@ -34,7 +34,18 @@ from nerfactory.fields.modules.mlp import MLP
|
||||
|
||||
|
||||
class SemanticNerfField(Field):
|
||||
"""Semantic-NeRF field"""
|
||||
"""Semantic-NeRF field
|
||||
|
||||
Args:
|
||||
num_semantic_classes: Number of distinct semantic classes.
|
||||
position_encoding: Position encoder. Defaults to Identity(in_dim=3).
|
||||
direction_encoding: Direction encoder. Defaults to Identity(in_dim=3).
|
||||
base_mlp_num_layers: Number of layers for base MLP. Defaults to 8.
|
||||
base_mlp_layer_width: Width of base MLP layers. Defaults to 256.
|
||||
head_mlp_num_layers: Number of layer for ourput head MLP. Defaults to 2.
|
||||
head_mlp_layer_width: Width of output head MLP layers. Defaults to 128.
|
||||
skip_connections: Where to add skip connection in base MLP. Defaults to (4,).
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
||||
Reference in new issue
Block a user