colmap / glomap

GLOMAP - Global Structured-from-Motion Revisited
BSD 3-Clause "New" or "Revised" License
1.3k stars 77 forks source link

run south-building dataset and block in linear_solver_.compute(spd_mat) while Running rotation averaging #33

Closed bettertime1994 closed 1 month ago

bettertime1994 commented 1 month ago

i download south-building dataset show in the readme and run glomap mapper as: glomap mapper --database_path ./database.db --image_path /home/vr128856/disk1/dataset/glomap/south-building/images --output_path ./glomap_sparse

it block in glomap/math/l1_solver.h:37 linearsolver.compute(spd_mat);

and i add some log code, it print as follow: glomap mapper --database_path ./database.db --image_path /home/vr128856/disk1/dataset/glomap/south-building/images --output_path ./glomap_sparse Loading Images 128 / 128 Loading Image Pair 4210 / 4210 WARNING: Logging before InitGoogleLogging() is written to STDERR I20240805 15:16:37.520987 2525673 colmap_converter.cc:301] Pairs read done. 2323 / 4210 are invalid I20240805 15:16:37.521320 2525673 global_mapper.cc:75] Loaded database

Running preprocessing ...

I20240805 15:16:37.521778 2525673 view_graph_manipulation.cc:244] Decompose relative pose for 1887 pairs I20240805 15:16:37.565339 2525673 view_graph_manipulation.cc:294] Decompose relative pose done. 625 pairs are pure rotation I20240805 15:16:37.565358 2525673 timer.cc:87] Elapsed time: 0.04389 [seconds]

Running view graph calibration ...

I20240805 15:16:37.565382 2525673 view_graph_calibration.cc:16] Start ViewGraphCalibrator I20240805 15:16:37.565999 2525673 view_graph_calibration.cc:33] No cameras to optimize

Running relative pose estimation ...


UndistortImages ...

I20240805 15:16:37.566149 2525673 image_undistorter.cc:17] Undistorting images.. I20240805 15:16:37.583369 2525673 image_undistorter.cc:43] Image undistortion done

EstimateRelativePoses ...

I20240805 15:16:37.583774 2525673 relpose_estimation.cc:23] Estimating relative pose for 1887 pairs Estimating relative pose: 100% I20240805 15:16:42.223951 2525673 relpose_estimation.cc:69] Estimating relative pose done

ImagePairsInlierCount ...

I20240805 15:16:42.258008 2525673 relpose_filter.cc:46] Filtered 1058 relative poses with inlier number < 30 I20240805 15:16:42.258105 2525673 relpose_filter.cc:63] Filtered 1 relative poses with inlier ratio < 0.25 I20240805 15:16:42.258308 2525673 timer.cc:87] Elapsed time: 4.69217 [seconds]

Running rotation averaging ...


first ra_engine.EstimateRotations ...


InitializeFromMaximumSpanningTree ...


Set up the linear system ...

I20240805 15:16:42.258520 2525673 global_rotation_averaging.cc:175] num_img: 125, num_dof: 375 I20240805 15:16:42.258610 2525673 global_rotation_averaging.cc:223] 0 image pairs are gravity aligned

Solve the linear system for L1 norm optimization ...

I20240805 15:16:42.258704 2525673 global_rotation_averaging.cc:299] SolveL1Regression I20240805 15:16:42.258709 2525673 global_rotation_averaging.cc:302] SolveL1Regression1 I20240805 15:16:42.258790 2525673 l1_solver.h:37] L1Solver compute begin Matrix size: 2484 x 375

i use eigen3.4.0 ceres-solver2.2.0 and colmap3.11.0.dev0 to compile glomap, what should i do next to solve this problem