Add flag to kill training when complete (#948)

This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-11-11 11:38:36 -08:00
1 parent 36b514fc20
commit 50f9895f1a
2 files changed
+7 -2

No files matched your search

+2
View File
@@ -178,6 +178,8 @@ class ViewerConfig(PrintableConfig):
max_num_display_images: int = 512
"""Maximum number of training images to display in the viewer, to avoid lag. This does not change which images are
actually used in training/evaluation. If -1, display all."""
quit_on_train_completion: bool = False
"""Whether to kill the training job when it has completed. Note this will stop rendering in the viewer."""
from nerfstudio.engine.optimizers import OptimizerConfig