Skip to content

Commit

Permalink
Fix splatfacto crash in eval when using viewer (#3430)
Browse files Browse the repository at this point in the history
  • Loading branch information
aayushg55 authored Sep 17, 2024
1 parent 3e638da commit 516fd7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nerfstudio/engine/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,8 @@ def train(self) -> None:

# Do not perform evaluation if there are no validation images
if self.pipeline.datamanager.eval_dataset:
self.eval_iteration(step)
with self.train_lock:
self.eval_iteration(step)

if step_check(step, self.config.steps_per_save):
self.save_checkpoint(step)
Expand Down

0 comments on commit 516fd7c

Please sign in to comment.