update docstrings and random cleanups (#387)

* fixing docstrings and small nits; up to fileds

* finished adding and fixing docstrings
This commit is contained in:
evonneng authored and GitHub committed 2022-09-10 23:09:44 -07:00
1 parent bd5967461d
commit d50c71ac43
52 files changed
+846 -646

No files matched your search

+10 -10
View File
@@ -39,16 +39,16 @@ class VanillaNerfWField(Field):
"""The NeRF-W field which has appearance and transient conditioning.
Args:
num_images (int): How many images exist in the dataset.
position_encoding (Encoding, optional): Position encoder. Defaults to Identity(in_dim=3).
direction_encoding (Encoding, optional): Direction encoder. Defaults to Identity(in_dim=3).
base_mlp_num_layers (int, optional): Number of layers for base MLP. Defaults to 8.
base_mlp_layer_width (int, optional): Width of base MLP layers. Defaults to 256.
head_mlp_num_layers (int, optional): Number of layer for ourput head MLP. Defaults to 2.
head_mlp_layer_width (int, optional): Width of output head MLP layers. Defaults to 128.
appearance_embedding_dim: (int, optional): Dimension of appearance embedding. Defaults to 48.
transient_embedding_dim: (int, optional): Dimension of transient embedding. Defaults to 16.
skip_connections (Tuple, optional): Where to add skip connection in base MLP. Defaults to (4,).
num_images: How many images exist in the dataset.
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.
appearance_embedding_dim:: Dimension of appearance embedding. Defaults to 48.
transient_embedding_dim:: Dimension of transient embedding. Defaults to 16.
skip_connections: Where to add skip connection in base MLP. Defaults to (4,).
"""
def __init__(