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.
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.