Wrong in saving for checkpoint
Kidleyh opened this issue · comments
Kidleyh commented
self._local is not be used and need to save
Traceback (most recent call last):
File "/irip/liyihui_2022/job/Scaffold-GS/train.py", line 527, in <module>
training(lp.extract(args), op.extract(args), pp.extract(args), dataset, args.test_iterations, args.save_iterations, args.checkpoint_iterations, args.start_checkpoint, args.debug_from, wandb, logger)
File "/irip/liyihui_2022/job/Scaffold-GS/train.py", line 187, in training
torch.save((gaussians.capture(), iteration), scene.model_path + "/chkpnt" + str(iteration) + ".pth")
File "/irip/liyihui_2022/job/Scaffold-GS/scene/gaussian_model.py", line 158, in capture
self._local,
AttributeError: 'GaussianModel' object has no attribute '_local'
And I also found that self.demon is not be used and need to save
Traceback (most recent call last):
File "/irip/liyihui_2022/job/Scaffold-GS/train.py", line 527, in <module>
training(lp.extract(args), op.extract(args), pp.extract(args), dataset, args.test_iterations, args.save_iterations, args.checkpoint_iterations, args.start_checkpoint, args.debug_from, wandb, logger)
File "/irip/liyihui_2022/job/Scaffold-GS/train.py", line 187, in training
torch.save((gaussians.capture(), iteration), scene.model_path + "/chkpnt" + str(iteration) + ".pth")
File "/irip/liyihui_2022/job/Scaffold-GS/scene/gaussian_model.py", line 158, in capture
self.denom,
AttributeError: 'GaussianModel' object has no attribute 'denom'
miaosheng commented
Same Question. the variable self._local has not been defined in this code.
adevora commented
+1