AIBluefisher / EGSfM

The old implementation of GraphSfM based on openMVG.
BSD 3-Clause "New" or "Revised" License
88 stars 19 forks source link

Save sfm_data failed #7

Open wolf943134497 opened 4 years ago

wolf943134497 commented 4 years ago

0224 05:38:12.143676 839 image_cluster.cpp:444] Discarded Edges: 325, 368: 0.00389105 I0224 05:38:12.155125 839 image_cluster.cpp:444] Discarded Edges: 318, 368: 0.00403226 I0224 05:38:12.160722 839 image_cluster.cpp:444] Discarded Edges: 386, 436: 0.00458716 I0224 05:38:12.167448 839 image_cluster.cpp:444] Discarded Edges: 374, 436: 0.00483092 I0224 05:38:12.179388 839 image_cluster.cpp:444] Discarded Edges: 313, 368: 0.00546448 Save sfm_data failed! Save sfm_data failed! Save sfm_data failed! Save sfm_data failed! Save sfm_data failed! Save sfm_data failed! Save sfm_data failed! …… Save sfm_data failed! Save sfm_data failed! Save sfm_data failed! Save sfm_data failed! Save sfm_data failed! I0224 05:38:12.802875 839 sfm_reconstructor.cpp:907] Performing 0-th reconstruction

Track building

Track filtering

Track export to internal struct

Track stats

-- Tracks Stats -- Tracks number: 14175 Images Id: 975, 995, 1031, 1041, 1043, 1053, 1055, 1066, 1077, 1089,

TrackLength, Occurrence 2 5372 3 3103 4 1863 5 1234 6 987 7 782 8 444 9 326 10 64

Automatic selection of an initial pair: 0% 10 20 30 40 50 60 70 80 90 100% |----|----|----|----|----|----|----|----|----|----|



* A-Contrario initial pair residual: 2.47926

Bundle Adjustment statistics (approximated RMSE):

views: 2

poses: 2

intrinsics: 1

tracks: 3042

residuals: 12168

Initial RMSE: 0.174794 Final RMSE: 0.162927 Time (s): 0.061012

========================= MSE Residual InitialPair Inlier:

SequentialSfMReconstructionEngine::ComputeResidualsMSE. -- #Tracks: 3041 -- Residual min: 6.40644e-08 -- Residual median: 0.0228697 -- Residual max: 1.39338 -- Residual mean: 0.123483


-- Robust Resection of view: 1055 nfa=-4880.65 inliers=2157/2180 precisionNormalized=0.0016056 precision=95.3256 (iter=0 ,sample=1776,296,1974,) nfa=-5117.7 inliers=2172/2180 precisionNormalized=0.00133991 precision=87.0821 (iter=1 ,sample=288,1137,1581,) nfa=-10718.7 inliers=2134/2180 precisionNormalized=2.52261e-06 precision=3.77847 (iter=3 ,sample=1981,995,713,) nfa=-10828.1 inliers=2137/2180 precisionNormalized=2.28039e-06 precision=3.5925 (iter=17 ,sample=818,2063,96,) nfa=-11017.8 inliers=2133/2180 precisionNormalized=1.77891e-06 precision=3.17299 (iter=58 ,sample=789,1450,582,) nfa=-11402.1 inliers=2149/2180 precisionNormalized=1.29703e-06 precision=2.70936 (iter=291 ,sample=2161,1041,397,)


-- Robust Resection -- Resection status: 1 -- #Points used for Resection: 2180 -- #Points validated by robust Resection: 2149 -- Threshold: 2.70936

Error in `./bin/sfm_reconstruction': free(): invalid next size (normal): 0x0000000006432040 ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f01837847e5] /lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f018378d37a] /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f018379153c] …… 7f01861eb000-7f01861fb000 rw-p 00000000 00:00 0 7f01861fb000-7f0186221000 r-xp 00000000 08:01 25826120 /lib/x86_64-linux-gnu/ld-2.23.so 7f01863f2000-7f0186404000 rw-p 00000000 00:00 0 7f018641f000-7f0186420000 rw-p 00000000 00:00 0 7f0186420000-7f0186421000 r--p 00025000 08:01 25826120 /lib/x86_64-linux-gnu/ld-2.23.so 7f0186421000-7f0186422000 rw-p 00026000 08:01 25826120 /lib/x86_64-linux-gnu/ld-2.23.so 7f0186422000-7f0186423000 rw-p 00000000 00:00 0 7ffc95590000-7ffc955b1000 rw-p 00000000 00:00 0 [stack] 7ffc955d9000-7ffc955dc000 r--p 00000000 00:00 0 [vvar] 7ffc955dc000-7ffc955de000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Aborted (core dumped)

Thanks for your great works! I meet some bug, any suggestion?

AIBluefisher commented 4 years ago

It's hard to track this issue. Could you show me where the failure appears?