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

+6 -1
View File
@@ -34,7 +34,12 @@ from nerfactory.utils import misc, writer
class SemanticNerfModel(NeRFModel):
"""Semantic-NeRF model"""
"""Semantic-NeRF model
Args:
config: SemanticNeRF configuration to instantiate model
semantics: additional semantics data info
"""
def __init__(self, config: cfg.ModelConfig, semantics: Semantics, **kwargs) -> None:
self.stuff_classes = semantics.stuff_classes