mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-01 13:28:59 +08:00
1 parent
9b0cf2ab16
commit
f910836b8c
13 files changed
+99
-95
No files matched your search
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user