KeKsBoTer / c3dgs

Compressed 3D Gaussian Splatting for Accelerated Novel View Synthesis
https://keksboter.github.io/c3dgs/
Other
270 stars 30 forks source link

Optimize Lazy Camera Loading for Efficient Compression of Large Files with Numerous Images and Cameras #8

Open EtaCassiopeia opened 2 months ago

EtaCassiopeia commented 2 months ago

Description:

Currently, loading all cameras into memory at once causes significant slowdowns and memory issues during the sensitivity calculation and finetuning processes. This issue is especially problematic when working with large files, such as the 240MB file containing over 1 million splats generated from approximately 2800 images.

Proposed Solution:

Implement a lazy loading mechanism for cameras to load them only when needed and free up memory after use. This might not be very efficient for small datasets, but it can be a workaround for handling larger files and datasets.