AIBluefisher / DAGSfM

Distributed and Graph-based Structure from Motion. This project includes the official implementation of our Pattern Recognition 2020 paper: Graph-Based Parallel Large Scale Structure from Motion.
https://aibluefisher.github.io/GraphSfM/
BSD 3-Clause "New" or "Revised" License
395 stars 84 forks source link

Distributed reconstruction failed! #68

Open VerseWei opened 3 weeks ago

VerseWei commented 3 weeks ago

Hello, when I ran distributed_sfm.sh for feature extraction and sign matching using extractfeature.sh and exhaustive_matchersh, I encountered a failure. It seems that some parameters were set incorrectly? This encountered the same problem on both publicly available big and small datasets. Can you give me some advice? Thank you very much. @AIBluefisher @Yzhbuaa

E0607 09:09:19.730175 4803 trust_region_minimizer.cc:91] Terminating: Number of consecutive invalid steps more than Solver::Options::max_num_consecutive_invalid_steps: 5 Pose refinement report

Residuals : 254

Parameters : 8 Iterations : 5 Time : 0.000599323 [s] Initial cost : 0.863906 [px] Final cost : 0.863906 [px] Termination : Failure

=> Could not register, trying another image.

============================================================================== Registering image #49 (3)

=> Image sees 197 / 2673 points 86 2.757592e+02 1.49e-01 6.35e+02 3.93e+01 3.94e-01 3.12e+05 1 2.81e-03 2.35e-01 40 5.165512e+01 1.66e-01 6.60e+02 9.07e+00 4.53e-01 5.90e+04 1 1.22e-03 5.00e-02 => No good initial image pair found. terminate called after throwing an instance of 'std::out_of_range' what(): vector::_M_range_check: n (which is 0) >= this->size() (which is 0) Aborted at 1717722559 (unix time) try "date -d @1717722559" if you are using GNU date 41 5.149317e+01 1.62e-01 6.42e+02 8.86e+00 4.60e-01 5.89e+04 1 1.21e-03 5.12e-02 PC: @ 0x7f8ffe177e87 gsignal SIGABRT (@0x3ed00001281) received by PID 4737 (TID 0x7f8f93fff700) from PID 4737; stack trace: @ 0x7f90012b2980 (unknown) @ 0x7f8ffe177e87 gsignal @ 0x7f8ffe1797f1 abort 42 5.133508e+01 1.58e-01 6.24e+02 8.64e+00 4.67e-01 5.89e+04 1 1.21e-03 5.25e-02 @ 0x7f8ffeb8b646 (unknown) @ 0x7f8ffeb9cf06 (unknown) 87 2.756065e+02 1.53e-01 6.43e+02 3.90e+01 3.93e-01 3.09e+05 1 3.05e-03 2.38e-01 @ 0x7f8ffeb9cf71 std::terminate() @ 0x7f8ffeb9d1b4 cxa_throw @ 0x7f8ffeb8e881 (unknown) @ 0x5586f357e20a (unknown) @ 0x5586f35ed8c4 (unknown) @ 0x5586f37a9eec (unknown) 43 5.118117e+01 1.54e-01 6.05e+02 8.42e+00 4.76e-01 5.89e+04 1 1.18e-03 5.36e-02 @ 0x7f8ffebcb67f (unknown) @ 0x7f90012a76db start_thread @ 0x7f8ffe25a61f clone ./scripts/shell/distributed_sfm.sh: 行 59: 4737 已放弃 (核心已转储) /home/wxs/3D_Recon/DAGSfM/build/src/exe/colmap distributed_mapper $DATASET_PATH/$output_folder --database_path=$DATASET_PATH/database.db --image_path=$DATASET_PATH/images --output_path=$DATASET_PATH/$output_folder --vocab_tree_path=$DATASET_PATH --config_file_name=$CONFIG_FILE_PATH/config.txt --num_workers=8 --distributed=0 --num_images=100 --assign_cluster_id=1 --write_binary=1 --retriangulate=0 --final_ba=1 --select_tracks_for_bundle_adjustment=1 --long_track_length_threshold=10 --graph_dir=$DATASET_PATH/$output_folder --num_images_ub=$num_images_ub --ImageClustering.num_threads=16 --completeness_ratio=0.7 --relax_ratio=1.3 --cluster_type=NCUT