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

+1 -6
View File
@@ -51,12 +51,7 @@ class NeRFModel(Model):
"""Vanilla NeRF model
Args:
near_plane: Where to start sampling points. Defaults to 2.0.
far_plane: Where to stop sampling points. Defaults to 6.0.
num_coarse_samples: Number of samples in coarse field evaluation. Defaults to 64,
num_importance_samples: Number of samples in fine field evaluation. Defaults to 64,
enable_density_field: Whether to create a density field to filter samples. Defaults to False.
density_field_config: Configuration of density field. Defaults to None.
config: Basic NeRF configuration to instantiate model
"""
def __init__(