OpenSplat
OpenSplat copied to clipboard
A way to continue training
Considering that this program can use CPU and low VRam cards to train, how about adding a way or parameter to continue training from saved splat.ply? Is this even feasible?
I don't see why not.
- Modify
savePly
to store the current step count (in a comment PLY header value, maybe) - Read PLY back into the tensors (reverse of
savePly
), read step count. - Resume from the previous step count.
For a numerically correct resume, one should also dump the optimizer state but I don't think that would actually matter too much for the end result.
We'd welcome a pull request for this. Interested?
I would if I could :( But cpp and ML are an unknown to me
I think it would be very useful.
+1 for this feature. Currently I can only reasonably train ~3000 iterations before RAM consumption exhausts my resources because of the memory leak on MPS devices. I am hoping that stopping and resuming the training would reset this, allowing me to train for longer.
+1. I'm not a C++ guy so I can't help here.