Skip to content

Commit ae396b6

Browse files
author
Noé Pion
committed
Merge branch 'feat/improve-starting' of github.com:Noezor/nerfstudio into feat/improve-starting
2 parents 25d08cb + 7e30484 commit ae396b6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

nerfstudio/engine/trainer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,8 @@ def save_checkpoint(self, step: int) -> None:
478478
)
479479
# possibly delete old checkpoints
480480
if self.config.save_only_latest_checkpoint:
481-
# delete everything else in the checkpoint folder
482-
for f in self.checkpoint_dir.glob("*"):
481+
# delete every other checkpoint in the checkpoint folder
482+
for f in self.checkpoint_dir.glob("*.ckpt"):
483483
if f != ckpt_path:
484484
f.unlink()
485485

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "nerfstudio"
7-
version = "1.1.4"
7+
version = "1.1.5"
88
description = "All-in-one repository for state-of-the-art NeRFs"
99
readme = "README.md"
1010
license = { text="Apache 2.0"}

0 commit comments

Comments
 (0)