Closed gchhablani closed 4 months ago
hi, this OOM seems happen in the knn_points() function when applying Poisson meshing. Due to 600 images are used, the number resampled points for surface reconstruction will be very huge. The possible solution is to neglect some of the views when resample points by skipping this line for some (e.g. 2/3) of the views.
I am sorry that this method was originally developed for small scale object reconstruction. Im afraid that high memory consumption when scaling up the training setting is indeed a problem of it.
@turandai Thanks a lot for responding. Can you please share the key changes that you made w.r.t. the 3DGS repository? There might be other optimized codebases where this might be useful.
Hi, detail changes are illustrated in the paper, feel free to check them out. To sum up, 1) we flattened the z-scale of 3DGS to surfels with explicit normal and depth (ray-surfel intersection), then cull back-faced ones during rendering and optimization, 2) we introduces geometry constraints to the model by adding multiple regularization terms
Training on ~600 images with 1080p images leads to OOM during training. I reduced the last scale to be 2 instead of 1 during training to make it fit. This needs to be fixed. However, after that I get OOM during the poisson meshing:
Update: Reducing the scale in the render script makes it work, still wondering how it is possible to reduce the usage.
A side note: It would be great if you could share the differences against the original GS repo.