cleanup
This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-09-01 12:36:54 -07:00
1 parent 9b0cf2ab16
commit f910836b8c
13 files changed
+99 -95

No files matched your search

+2
View File
@@ -50,6 +50,8 @@ class NGPModel(Model):
kwargs: additional params to pass up to the parent class model
"""
config: cfg.InstantNGPModelConfig
def __init__(self, config: cfg.InstantNGPModelConfig, **kwargs) -> None:
assert config.field_implementation in field_implementation_to_class
self.field = None
+2
View File
@@ -45,6 +45,8 @@ from nerfactory.utils import colors, misc, visualization, writer
class NerfWModel(Model):
"""NeRF-W model"""
config: cfg.NerfWModelConfig
def __init__(
self,
config: cfg.NerfWModelConfig,