mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-07 00:09:14 +08:00
Fix total train time metric logging (#1284)
This commit is contained in:
1 parent
c8fdc1a7cb
commit
bc65639edf
1 file changed
+4
@@ -227,9 +227,13 @@ class Trainer:
|
|||||||
self.save_checkpoint(step)
|
self.save_checkpoint(step)
|
||||||
|
|
||||||
writer.write_out_storage()
|
writer.write_out_storage()
|
||||||
|
|
||||||
# save checkpoint at the end of training
|
# save checkpoint at the end of training
|
||||||
self.save_checkpoint(step)
|
self.save_checkpoint(step)
|
||||||
|
|
||||||
|
# write out any remaining events (e.g., total train time)
|
||||||
|
writer.write_out_storage()
|
||||||
|
|
||||||
CONSOLE.rule()
|
CONSOLE.rule()
|
||||||
CONSOLE.print("[bold green]:tada: :tada: :tada: Training Finished :tada: :tada: :tada:", justify="center")
|
CONSOLE.print("[bold green]:tada: :tada: :tada: Training Finished :tada: :tada: :tada:", justify="center")
|
||||||
if not self.config.viewer.quit_on_train_completion:
|
if not self.config.viewer.quit_on_train_completion:
|
||||||
|
|||||||
Reference in new issue
Block a user