mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 14:58:55 +08:00
hydra config and starting trainer class
This commit is contained in:
1 parent
387d817358
commit
a9c0d5b97f
17 files changed
+125
-3
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import torch.optim as optim
|
||||
|
||||
|
||||
class Optimizer:
|
||||
"""_summary_"""
|
||||
|
||||
def __init__(self, params: dict) -> None:
|
||||
self.optimizer = optim.Adam(params)
|
||||
|
||||
def test(self):
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
Reference in new issue
Block a user