mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 14:58:55 +08:00
some initial module structuring
This commit is contained in:
1 parent
8a53684131
commit
91f57726ae
7 files changed
+67
-18
No files matched your search
@@ -17,19 +17,16 @@ class Trainer(object):
|
||||
self.optimizer = None
|
||||
|
||||
def setup_dataset(self):
|
||||
"""_summary_
|
||||
"""
|
||||
"""_summary_"""
|
||||
self.train_dataset = build_dataset(self.config.dataset)
|
||||
self.test_dataset = build_dataset(self.config.dataset)
|
||||
|
||||
def setup_graph(self):
|
||||
"""_summary_
|
||||
"""
|
||||
"""_summary_"""
|
||||
self.graph = Graph()
|
||||
|
||||
def setup_optimizer(self):
|
||||
"""_summary_
|
||||
"""
|
||||
"""_summary_"""
|
||||
self.optimizer = Optimizer(params=self.graph.parameters(), **self.config.optimizer)
|
||||
|
||||
def load_checkpoint(self):
|
||||
|
||||
Reference in new issue
Block a user