mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-22 15:45:39 +08:00
fix viewer checkpointing (#511)
This commit is contained in:
1 parent
a1152be22b
commit
21ebaceed1
4 files changed
+12
-7
No files matched your search
@@ -264,6 +264,10 @@ class Config(PrintableConfig):
|
||||
self.set_experiment_name()
|
||||
return Path(f"outputs/{self.experiment_name}/{self.method_name}/{self.timestamp}")
|
||||
|
||||
def get_checkpoint_dir(self) -> Path:
|
||||
"""Retrieve the checkpoint directory"""
|
||||
return Path(self.get_base_dir() / self.trainer.relative_model_dir)
|
||||
|
||||
def print_to_terminal(self) -> None:
|
||||
"""Helper to pretty print config to terminal"""
|
||||
console = Console(width=120)
|
||||
|
||||
Reference in new issue
Block a user