-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Hello, I'm currently processing a whole building with Meshroom, the interior and exterior being the main door the linkage between them, and as cleverly suggested in this forum, I'm computing part by part of the building and using sfmalign node to align the separete components. Now for one of the facade processing pipelines, I repeatedly encontering a Bad Alocation after processing for a few hours the SfM node for sift, akaze and dpsift features for the combined pipeline.
The details of the first pipeline for the interior are:
- 829 photos (majority of the interior and some of the main gate itself), 738 cameras , 91 non estimated cameras (most of them of the interior) and 14 intrinsics.
Resulting sparse cloud:

for the second with facade photos are:
- 686 total photos (of the facade, the gate, and roofs with some medium and close range photos), 738 total cameras (few of the gate and facade), 533 non estimated cameras (most of the facade) and 4 calculated intrinsics
Resulting sparse cloud:

I have tried with different combinations to alleviate the RAM issue (only have 30 Gb on this machine =( ), e.g, checking and uncheking Local BA, also using Max image pairs per group = 20; Max number of matches = 30000; and permanently setting Max reprojection error = 1; Min input track length = 3 and Min observation for tirangulation = 4; and always uncheck Use rig constraint since the photos were taken in a very random way with enough overlap. I have succesfully processed this dataset with the version 2023 of Meshroom, so I know is possible to reconstruct, but in that version I used augmented reconstruction feature, that is not available anymore. What other parameters do I have to tweak in order to fix the problem? or is it possible that it has something with the distribution of my selected photos for this specific pipeline?

- OS: win 10
- Meshroom version: Meshroom 2025.1.0
the final log message is this:
[21:53:01.096348][info] Bundle Adjustment Statistics:
- local strategy enabled: no
- adjustment duration: 615.949 s
- poses:
- # refined: 1270
- # constant: 0
- # ignored: 0
- landmarks:
- # refined: 26312738
- # constant: 0
- # ignored: 0
- intrinsics:
- # refined: 14
- # constant: 0
- # ignored: 0
- # residual blocks: 52625476
- # successful iterations: 2
- # unsuccessful iterations: 0
- initial RMSE: 0.143993
- final RMSE: 0.143993
[21:53:26.903324][info] Remove outliers:
- # outliers residual error: 81
- # outliers angular error: 0
[21:53:28.420302][info] Bundle adjustment iteration: 9 took 1420085 msec.
[21:53:28.420302][info] Start bundle adjustment iteration: 10
[21:53:28.420302][info] BundleAdjustmentCeres::adjust start
[22:08:17.492759][info] BundleAdjustmentCeres::adjust end
[22:12:41.926721][info] Bundle Adjustment Statistics:
- local strategy enabled: no
- adjustment duration: 366.512 s
- poses:
- # refined: 1270
- # constant: 0
- # ignored: 0
- landmarks:
- # refined: 26312657
- # constant: 0
- # ignored: 0
- intrinsics:
- # refined: 14
- # constant: 0
- # ignored: 0
- # residual blocks: 52625314
- # successful iterations: 2
- # unsuccessful iterations: 0
- initial RMSE: 0.143991
- final RMSE: 0.143991
[22:13:08.573483][info] Remove outliers:
- # outliers residual error: 46
- # outliers angular error: 0
[22:13:10.089460][info] Bundle adjustment iteration: 10 took 1181666 msec.
[22:13:10.089460][info] Bundle adjustment with 11 iterations took 13264980 msec.
[22:20:31.164571][info] Bundle adjustment start.
[22:22:03.176492][info] Local bundle adjustment: the new cameras are not connected to the rest of the graph (nbRefinedPoses: 1270, newReconstructedViews.size(): 1270).
[22:22:03.176492][info] Start bundle adjustment iteration: 0
[22:22:03.176492][info] BundleAdjustmentCeres::adjust start
[22:52:08.604266][fatal] bad allocation
What else I can do? Thanks in advance for any usefull suggestion