Load schedulers from ckpt in a backward-compatible manner (#2236)

This commit is contained in:
hyperzy authored and GitHub committed 2023-07-18 18:02:15 +00:00
1 parent 9f487a464f
commit e7fd1aefa2
2 files changed
+6 -1

No files matched your search

+2
View File
@@ -76,6 +76,8 @@ class ExperimentConfig(InstantiateConfig):
"""Alias for --pipeline.model.prompt"""
relative_model_dir: Path = Path("nerfstudio_models/")
"""Relative path to save all checkpoints."""
load_scheduler: bool = True
"""Whether to load the scheduler state_dict to resume training, if exists"""
def is_viewer_enabled(self) -> bool:
"""Checks if a viewer is enabled."""