alicevision / AliceVision

Photogrammetric Computer Vision Framework
http://alicevision.org
Other
2.89k stars 807 forks source link

Error on node "FeatureMatching" after feature file concatenation #1669

Open KevinDepedri opened 4 months ago

KevinDepedri commented 4 months ago

Hi everyone, I am trying to perform a 3D reconstruction with an augmented number of keypoints and descriptors, exploiting the same set of images in 3 different color bands. To do so I have:

Error

The problem occurs when running the FeatureMatching node of graph 3. Indeed, as soon as that starts, I get:

1/1 (1/2) FeatureMatching commandLine: aliceVision_featureMatching --input "/path_to_run/output_sift_ultra_ultra_GPU_0toNone/CameraInit/0310d6c605b30ab0a07a6218478dcbd2aec8fedf/cameraInit.sfm" --featuresFolders "/path_to_run/output_sift_ultra_ultra_GPU_0toNone/FeatureExtraction/9c5d37075118d0a9c4bf069fe301efde523d5973" --imagePairsList "/path_to_run/output_sift_ultra_ultra_GPU_0toNone/ImageMatching/b1731e47a010096be3dff4f02ab88b2810a348d0/imageMatches.txt" --describerTypes sift --photometricMatchingMethod ANN_L2 --geometricEstimator acransac --geometricFilterType fundamental_matrix --distanceRatio 1.0 --maxIteration 4096 --geometricError 0.0 --knownPosesGeometricErrorMax 5.0 --minRequired2DMotion -1.0 --maxMatches 0 --savePutativeMatches False --crossMatching False --guidedMatching False --matchFromKnownCameraPoses False --exportDebugFiles True --verboseLevel trace --output "/path_to_run/output_sift_ultra_ultra_GPU_0toNone/FeatureMatching/3fe91045d9c7c8f247ce854f21817ca51832063e" --rangeStart 0 --rangeSize 20

logFile: /path_to_run/output_sift_ultra_ultra_GPU_0toNone/FeatureMatching/3fe91045d9c7c8f247ce854f21817ca51832063e/0.log ERROR CODE: -11 [2024-02-15 17:18:32,599][INFO] - elapsed time: 0:00:01.281256 [2024-02-15 17:18:32,600][ERROR] Error on node computation: Error on node "FeatureMatching_1(0)":

[2024-02-15 17:18:32,600][WARNING] Downgrade status on node "FeatureMatching_1(1)" from Status.SUBMITTED to Status.NONE Traceback (most recent call last): File "/path_to_py_file/meshroom_fused_reconstructor.py", line 684, in fused_rec.build_and_run_graphs() File "/path_to_py_file/meshroom_fused_reconstructor.py", line 283, in build_and_run_graphs executeGraph(self._fusion_graph) File "/path_to_py_file/meshroom/core/graph.py", line 1574, in executeGraph chunk.process(forceCompute) File "/path_to_py_file/meshroom/core/node.py", line 411, in process self.node.nodeDesc.processChunk(self) File "/path_to_py_file/meshroom/core/desc.py", line 645, in processChunk raise RuntimeError('Error on node "{}":\n'.format(chunk.name))

FeatureMatching relevant settings

The settings for the FeatureMatching node (relevant-for the problem) are: photometricMatchingMethod='ANN_L2', geometricFilterType='fundamental_matrix' geometricEstimator='acransac'

Log, statistics and status file

I attach to this issue the:

files with all the info of the FeatureMatching node. As you can see, the last lines in the log file before the crash are:

[17:18:31.611793][info] Putative matches (unknown poses): 550 image pairs. [17:18:31.611817][info] sift Regions Matching [17:18:31.611828][debug] Using the OPENMP thread interface

0% 10 20 30 40 50 60 70 80 90 100% |----|----|----|----|----|----|----|----|----|----|

It seems like the crash happens as soon as the OPENMP part starts.

Additional info

If anyone can help me or give me some insights toward the possible issue I would really appreciate that. Thanks in advance!