From 9e5bbd98197461d816f9b85d76b59758ffdeaacd Mon Sep 17 00:00:00 2001 From: Lei Lei <18294546+Crescent-Saturn@users.noreply.github.com> Date: Fri, 8 Nov 2024 17:44:39 -0500 Subject: [PATCH 1/2] fix: saving ckpt error when ckpt folder has some folder inside (#3516) --- nerfstudio/engine/trainer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nerfstudio/engine/trainer.py b/nerfstudio/engine/trainer.py index cac31cf504..d27185526a 100644 --- a/nerfstudio/engine/trainer.py +++ b/nerfstudio/engine/trainer.py @@ -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() From 6b60855003011b2ca23c2fe3f8e2ca6314c69924 Mon Sep 17 00:00:00 2001 From: "J.Y." <132313008+jb-ye@users.noreply.github.com> Date: Mon, 11 Nov 2024 16:20:42 -0500 Subject: [PATCH 2/2] bump version to 1.1.5 (#3521) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 241fce9bb1..6d284ae13b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"}