mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-18 13:53:44 +08:00
turn on camera opt by default (#727)
* camera opt by default * fix tests
This commit is contained in:
1 parent
9afe03eb4c
commit
ee94f23f83
4 files changed
+33
-21
No files matched your search
@@ -42,7 +42,8 @@ class OptimizerConfig(base_config.PrintableConfig):
|
||||
def setup(self, params) -> Any:
|
||||
"""Returns the instantiated object using the config."""
|
||||
kwargs = vars(self)
|
||||
del kwargs["_target"]
|
||||
if "_target" in kwargs:
|
||||
del kwargs["_target"]
|
||||
return self._target(params, **kwargs)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user