Skip to content

Commit

Permalink
Merge branch 'feat/improve-starting' of github.com:Noezor/nerfstudio …
Browse files Browse the repository at this point in the history
…into feat/improve-starting
  • Loading branch information
Noé Pion committed Nov 12, 2024
2 parents 25d08cb + 7e30484 commit ae396b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nerfstudio/engine/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,8 @@ def save_checkpoint(self, step: int) -> None:
)
# possibly delete old checkpoints
if self.config.save_only_latest_checkpoint:
# delete everything else in the checkpoint folder
for f in self.checkpoint_dir.glob("*"):
# delete every other checkpoint in the checkpoint folder
for f in self.checkpoint_dir.glob("*.ckpt"):
if f != ckpt_path:
f.unlink()

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "nerfstudio"
version = "1.1.4"
version = "1.1.5"
description = "All-in-one repository for state-of-the-art NeRFs"
readme = "README.md"
license = { text="Apache 2.0"}
Expand Down

0 comments on commit ae396b6

Please sign in to comment.