Aligning submodels Error

Hi, I have 1000 pictures, and then set split: 400, split-overlap: 120, submodels are all executed, but when the submodels aligned, errors always occur.
My 3 computers have 32G RAM, I can’t find the reason, thank you for your help!

[INFO] LRE: submodel_0002 finished successfully
[INFO] LRE: No remote tasks left to cleanup
[INFO] Aligning submodels...
Traceback (most recent call last):
File "/code/run.py", line 69, in
app.execute()
File "/code/stages/odm_app.py", line 86, in execute
self.first_stage.run()
File "/code/opendm/types.py", line 361, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 342, in run
self.process(self.args, outputs)
File "/code/stages/splitmerge.py", line 173, in process
octx.align_reconstructions(self.rerun())
File "/code/opendm/osfm.py", line 289, in align_reconstructions
transformations = tools.align_reconstructions(reconstruction_shots,
File "/code/SuperBuild/src/opensfm/opensfm/large/tools.py", line 243, in align_reconstructions
add_camera_constraints_soft(ra, reconstruction_shots,
File "/code/SuperBuild/src/opensfm/opensfm/large/tools.py", line 109, in 
add_camera_constraints_soft
for shot_id in shots:
MemoryError: std::bad_alloc

Sometimes,

[INFO] LRE: submodel_0001 finished successfully
[INFO] LRE: No remote tasks left to cleanup
[INFO] Aligning submodels...
/code/run.sh: line 5: 4813 Segmentation fault python3 $RUNPATH/run.py "$@"
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.