>>> CMD: /opt/anaconda3/envs/dev/bin/python3 -m sfm run --preset unified -i /Users/nickp/Dropbox/Code/data/cell/images -o /Users/nickp/mr/pgm/out/benchmark/runs/sfm/cell/unified [sfm/unified] Executing: /Users/nickp/mr/pgm/sfm/build/sfm -i /Users/nickp/Library/CloudStorage/Dropbox/Code/data/cell/images -o /Users/nickp/mr/pgm/out/benchmark/runs/sfm/cell/unified --preset unified [ 0.012 I] sfm [sfm]: unified solver (features=vulkan-rootsift, max_dim=4096, max_feat=10000, gpu='Apple M5 Pro', threads=15) [ 0.047 W] EGM96 grid egm96_15.gtx not found (/Users/nickp/mr/pgm/common/pgmx_base/third_party/proj/egm96_15.gtx): EXIF GPS altitudes are used as ellipsoidal heights (ContextCapture: EPSG:4326+5773, H + N) [ 0.047 I] cc ingest: 683 photos, 1 photogroup(s), 683 with GPS [ 0.047 I] sfm [sfm]: 683 photos, 1 photogroup(s) [ 0.047 I] photogroup 0 (Skydio 2): 4056x3040 f=2366.0000 px pp=(2027.50,1519.50) [ 1.327] I [progress] features 34/683 images [ 2.576] I [progress] features 68/683 images [ 3.831] I [progress] features 102/683 images [ 5.061] I [progress] features 136/683 images [ 6.307] I [progress] features 170/683 images [ 7.558] I [progress] features 204/683 images [ 8.737] I [progress] features 238/683 images [ 9.984] I [progress] features 272/683 images [ 11.228] I [progress] features 306/683 images [ 12.463] I [progress] features 340/683 images [ 13.715] I [progress] features 374/683 images [ 14.957] I [progress] features 408/683 images [ 16.211] I [progress] features 442/683 images [ 17.385] I [progress] features 476/683 images [ 18.634] I [progress] features 510/683 images [ 19.870] I [progress] features 544/683 images [ 21.116] I [progress] features 578/683 images [ 22.361] I [progress] features 612/683 images [ 23.612] I [progress] features 646/683 images [ 24.870] I [progress] features 680/683 images [ 24.947] I [progress] features 683/683 images [ 25.127 I] ExtractKeys [GPU RootSIFT]: 6830000 keypoints over 683 photos (0 cached, 25.08s) [ 25.906] I vocab tree: 400000 training descriptors, branching 10, depth 4, 10000 words [ 26.993 I] VocabTree retrieval: top-40 over 683 photos (1.87s) [ 26.996 I] frustum_min or frustum_max < 0, error can not filter [ 26.996 I] Pair filtering: No filtering [ 27.000 I] SelectCouples: 2994 similarity pairs, +2692 loop, +2463 close [ 27.001 I] SelectCouples: a total of 8149 pairs are selected (0.01s) [ 27.002 I] SelectCouples: 8149 pairs (1.9s) [ 28.928] I [progress] matching 144/8149 pairs [ 30.762] I [progress] matching 288/8149 pairs [ 32.602] I [progress] matching 432/8149 pairs [ 34.412] I [progress] matching 576/8149 pairs [ 36.227] I [progress] matching 720/8149 pairs [ 37.476] I [progress] matching 816/8149 pairs [ 39.361] I [progress] matching 960/8149 pairs [ 41.194] I [progress] matching 1104/8149 pairs [ 42.991] I [progress] matching 1248/8149 pairs [ 44.828] I [progress] matching 1392/8149 pairs [ 46.674] I [progress] matching 1536/8149 pairs [ 47.906] I [progress] matching 1632/8149 pairs [ 49.725] I [progress] matching 1776/8149 pairs [ 51.538] I [progress] matching 1920/8149 pairs [ 53.316] I [progress] matching 2064/8149 pairs [ 55.121] I [progress] matching 2208/8149 pairs [ 56.909] I [progress] matching 2352/8149 pairs [ 58.151] I [progress] matching 2448/8149 pairs [ 59.972] I [progress] matching 2592/8149 pairs [ 61.808] I [progress] matching 2736/8149 pairs [ 63.691] I [progress] matching 2880/8149 pairs [ 65.505] I [progress] matching 3024/8149 pairs [ 67.275] I [progress] matching 3168/8149 pairs [ 68.444] I [progress] matching 3264/8149 pairs [ 70.271] I [progress] matching 3408/8149 pairs [ 72.116] I [progress] matching 3552/8149 pairs [ 73.964] I [progress] matching 3696/8149 pairs [ 75.765] I [progress] matching 3840/8149 pairs [ 77.577] I [progress] matching 3984/8149 pairs [ 78.834] I [progress] matching 4080/8149 pairs [ 80.641] I [progress] matching 4224/8149 pairs [ 82.434] I [progress] matching 4368/8149 pairs [ 84.233] I [progress] matching 4512/8149 pairs [ 86.078] I [progress] matching 4656/8149 pairs [ 87.889] I [progress] matching 4800/8149 pairs [ 89.064] I [progress] matching 4896/8149 pairs [ 90.878] I [progress] matching 5040/8149 pairs [ 92.627] I [progress] matching 5184/8149 pairs [ 94.430] I [progress] matching 5328/8149 pairs [ 96.254] I [progress] matching 5472/8149 pairs [ 98.065] I [progress] matching 5616/8149 pairs [ 99.302] I [progress] matching 5712/8149 pairs [ 101.093] I [progress] matching 5856/8149 pairs [ 102.928] I [progress] matching 6000/8149 pairs [ 104.775] I [progress] matching 6144/8149 pairs [ 106.580] I [progress] matching 6288/8149 pairs [ 108.422] I [progress] matching 6432/8149 pairs [ 109.614] I [progress] matching 6528/8149 pairs [ 111.424] I [progress] matching 6672/8149 pairs [ 113.240] I [progress] matching 6816/8149 pairs [ 115.070] I [progress] matching 6960/8149 pairs [ 116.871] I [progress] matching 7104/8149 pairs [ 118.642] I [progress] matching 7248/8149 pairs [ 119.853] I [progress] matching 7344/8149 pairs [ 121.658] I [progress] matching 7488/8149 pairs [ 123.469] I [progress] matching 7632/8149 pairs [ 125.252] I [progress] matching 7776/8149 pairs [ 127.083] I [progress] matching 7920/8149 pairs [ 128.906] I [progress] matching 8064/8149 pairs [ 130.020] I [progress] matching 8149/8149 pairs [ 130.035 I] MatchAT [GPU]: matched 8149 new pairs on GPU/unified frontend (102.95s) [ 130.066 I] MatchAT: 683 photos, nb_keys_max 10000, grid 8, reusing 0 / 8149 desc pairs [GPU matches] (0.00s) [ 130.307 I] [progress] verify 407/8149 pairs [ 130.578 I] [progress] verify 814/8149 pairs [ 130.817 I] [progress] verify 1221/8149 pairs [ 131.055 I] [progress] verify 1628/8149 pairs [ 131.308 I] [progress] verify 2035/8149 pairs [ 131.556 I] [progress] verify 2442/8149 pairs [ 131.801 I] [progress] verify 2849/8149 pairs [ 132.041 I] [progress] verify 3256/8149 pairs [ 132.309 I] [progress] verify 3663/8149 pairs [ 132.568 I] [progress] verify 4070/8149 pairs [ 132.828 I] [progress] verify 4477/8149 pairs [ 133.076 I] [progress] verify 4884/8149 pairs [ 133.328 I] [progress] verify 5291/8149 pairs [ 133.564 I] [progress] verify 5698/8149 pairs [ 133.819 I] [progress] verify 6105/8149 pairs [ 134.064 I] [progress] verify 6512/8149 pairs [ 134.307 I] [progress] verify 6919/8149 pairs [ 134.561 I] [progress] verify 7326/8149 pairs [ 134.811 I] [progress] verify 7733/8149 pairs [ 135.042 I] [progress] verify 8140/8149 pairs [ 135.055 I] [progress] verify 8149/8149 pairs [ 135.055 I] MatchAT: 7302 / 8149 pairs with a relative pose (4.99s) [ 135.266 I] MatchAT [GPU]: 7302 / 8149 pairs verified (108.3s) [ 135.299 I] Pass one: 5 components of <= 40 shots (split gave 89) [ 135.299 I] [progress] smart_at 0/5 components [ 135.303 I] SmartAT rotations: 40 poses, 210 pairs (5 rejected by triplets), 210 used for averaging (0.00s) [ 135.303 I] SmartAT rotations: 40 poses, 208 pairs (4 rejected by triplets), 208 used for averaging (0.00s) [ 135.305 I] SmartAT rotations: 40 poses, 227 pairs (4 rejected by triplets), 227 used for averaging (0.01s) [ 135.305 I] SmartAT rotations: 40 poses, 248 pairs (1 rejected by triplets), 248 used for averaging (0.01s) [ 135.314 I] SmartAT rotations: 40 poses, 206 pairs (2 rejected by triplets), 206 used for averaging (0.01s) [ 136.101 I] Refining relative translations: 210 pairs (0.80s) [ 136.259 I] Refining relative translations: 248 pairs (0.95s) [ 136.411 I] Refining relative translations: 227 pairs (1.11s) [ 136.437 I] Refining relative translations: 208 pairs (1.13s) [ 136.641 I] Refining relative translations: 200 pairs (1.33s) [ 136.776 I] NumberOfTriplets 444 NumberOfTripleMatches 110277 [ 136.779 I] SmartAT translations: 40 poses, 444 triplets (1.48s) [ 136.814 I] Reprojection errors before BA: min=0.018 ; median=5.808 ; RMS=12.486 ; max=234.284 (55879 obs, 8683 points) [ 136.828 I] NumberOfTriplets 570 NumberOfTripleMatches 232599 [ 136.829 I] SmartAT translations: 40 poses, 570 triplets (1.52s) [ 136.853 I] NumberOfTriplets 411 NumberOfTripleMatches 63813 [ 136.854 I] SmartAT translations: 40 poses, 411 triplets (1.55s) [ 136.878 I] Reprojection errors before BA: min=0.033 ; median=5.373 ; RMS=11.035 ; max=119.321 (42793 obs, 7071 points) [ 136.890 I] Reprojection errors before BA: min=0.008 ; median=5.150 ; RMS=12.887 ; max=293.928 (91770 obs, 12235 points) [ 137.031 I] NumberOfTriplets 356 NumberOfTripleMatches 57422 [ 137.032 I] SmartAT translations: 39 poses, 356 triplets (1.72s) [ 137.049 I] NumberOfTriplets 531 NumberOfTripleMatches 162882 [ 137.049 I] SmartAT translations: 40 poses, 531 triplets (1.74s) [ 137.050 I] Reprojection errors before BA: min=0.029 ; median=4.663 ; RMS=11.893 ; max=166.608 (48393 obs, 7910 points) [ 137.084 I] Reprojection errors before BA: min=0.017 ; median=4.409 ; RMS=9.414 ; max=118.896 (69188 obs, 10760 points) [ 137.165 I] Reprojection errors after BA: min=0.011 ; median=1.611 ; RMS=2.976 ; max=12.160 (35784 obs) [ 137.166 I] #point depth filter: removing 1 measurements [ 137.167 I] AT (postBA) have 40 poses with 6302 automatic tie points [ 137.170 I] AdjustAT: Reprojection errors before BA: median=1.611 RMS=2.975 (35781 obs) [ 137.212 I] Reprojection errors after BA: min=0.002 ; median=1.760 ; RMS=3.105 ; max=12.162 (44220 obs) [ 137.213 I] #point depth filter: removing 36 measurements [ 137.214 I] AT (postBA) have 40 poses with 7419 automatic tie points [ 137.215 I] AdjustAT: Reprojection errors before BA: median=1.759 RMS=3.102 (44158 obs) [ 137.437 I] Reprojection errors after BA: min=0.011 ; median=1.968 ; RMS=3.255 ; max=12.154 (38398 obs) [ 137.438 I] #point depth filter: removing 0 measurements [ 137.439 I] AT (postBA) have 39 poses with 6804 automatic tie points [ 137.439 I] AdjustAT: Reprojection errors before BA: median=1.968 RMS=3.255 (38398 obs) [ 137.602 I] AdjustAT: Reprojection errors after iteration #1: median=0.553 RMS=0.973 sigma=3.866 (34907 obs) [ 137.693 I] Reprojection errors after BA: min=0.014 ; median=2.242 ; RMS=3.602 ; max=12.168 (46554 obs) [ 137.694 I] #point depth filter: removing 0 measurements [ 137.695 I] AT (postBA) have 40 poses with 8281 automatic tie points [ 137.696 I] AdjustAT: Reprojection errors before BA: median=2.242 RMS=3.602 (46554 obs) [ 137.809 I] AdjustAT: Reprojection errors after iteration #1: median=0.476 RMS=0.957 sigma=4.220 (42900 obs) [ 137.845 I] AdjustAT: Reprojection errors after iteration #1: median=0.380 RMS=0.690 sigma=4.722 (38220 obs) [ 138.219 I] AdjustAT: Reprojection errors after iteration #1: median=0.665 RMS=1.186 sigma=5.382 (45982 obs) [ 138.769 I] AdjustAT: Reprojection errors after iteration #2: median=0.475 RMS=0.725 sigma=2.000 (32261 obs) [ 139.107 I] Reprojection errors after BA: min=0.013 ; median=2.282 ; RMS=3.628 ; max=12.165 (59597 obs) [ 139.108 I] #point depth filter: removing 0 measurements [ 139.109 I] AT (postBA) have 40 poses with 9267 automatic tie points [ 139.110 I] AdjustAT: Reprojection errors before BA: median=2.282 RMS=3.628 (59597 obs) [ 139.125 I] AdjustAT: Reprojection errors after iteration #3: median=0.454 RMS=0.689 sigma=2.000 (31971 obs) [ 139.125 I] [progress] smart_at 1/5 components [ 139.232 I] AdjustAT: Reprojection errors after iteration #2: median=0.354 RMS=0.564 sigma=2.000 (37211 obs) [ 139.578 I] AdjustAT: Reprojection errors after iteration #3: median=0.347 RMS=0.552 sigma=2.000 (37122 obs) [ 139.578 I] [progress] smart_at 2/5 components [ 139.969 I] AdjustAT: Reprojection errors after iteration #2: median=0.392 RMS=0.638 sigma=2.000 (39432 obs) [ 140.092 I] AdjustAT: Reprojection errors after iteration #2: median=0.499 RMS=0.743 sigma=2.000 (40846 obs) [ 140.149 I] AdjustAT: Reprojection errors after iteration #1: median=0.793 RMS=1.267 sigma=5.478 (59243 obs) [ 140.530 I] AdjustAT: Reprojection errors after iteration #3: median=0.457 RMS=0.687 sigma=2.000 (40328 obs) [ 140.531 I] [progress] smart_at 3/5 components [ 140.548 I] AdjustAT: Reprojection errors after iteration #3: median=0.375 RMS=0.601 sigma=2.000 (39097 obs) [ 140.549 I] [progress] smart_at 4/5 components [ 142.557 I] AdjustAT: Reprojection errors after iteration #2: median=0.607 RMS=0.832 sigma=2.000 (51936 obs) [ 143.897 I] AdjustAT: Reprojection errors after iteration #3: median=0.543 RMS=0.763 sigma=2.000 (51061 obs) [ 143.898 I] [progress] smart_at 5/5 components [ 143.898 I] Pass one component 0: 40 shots, 8108 tie points, f=2387.78 [ 143.898 I] Pass one component 1: 39 shots, 6593 tie points, f=2379.73 [ 143.898 I] Pass one component 2: 40 shots, 7310 tie points, f=2376.78 [ 143.898 I] Pass one component 3: 40 shots, 6534 tie points, f=2373.59 [ 143.898 I] Pass one component 4: 40 shots, 5701 tie points, f=2376.37 [ 143.898 I] Estimating parameters of photogroup 0 using 5 candidate cameras: Found a consensus with 5 cameras [ 143.898 I] Pass one done (8.6s) [ 143.898 I] frustum_min or frustum_max < 0, error can not filter [ 143.898 I] Pair filtering: No filtering [ 143.898 I] SelectCouples: 0 similarity pairs, +2732 loop, +281 close [ 143.898 I] SelectCouples: a total of 3013 pairs are selected (0.00s) [ 143.898 I] ExtendPairs: 70 new pairs from component 0 [ 143.898 I] frustum_min or frustum_max < 0, error can not filter [ 143.898 I] Pair filtering: No filtering [ 143.899 I] SelectCouples: 0 similarity pairs, +2732 loop, +278 close [ 143.899 I] SelectCouples: a total of 3010 pairs are selected (0.00s) [ 143.899 I] ExtendPairs: 88 new pairs from component 1 [ 143.899 I] frustum_min or frustum_max < 0, error can not filter [ 143.899 I] Pair filtering: No filtering [ 143.899 I] SelectCouples: 0 similarity pairs, +2732 loop, +286 close [ 143.899 I] SelectCouples: a total of 3018 pairs are selected (0.00s) [ 143.899 I] ExtendPairs: 77 new pairs from component 2 [ 143.899 I] frustum_min or frustum_max < 0, error can not filter [ 143.899 I] Pair filtering: No filtering [ 143.899 I] SelectCouples: 0 similarity pairs, +2732 loop, +282 close [ 143.899 I] SelectCouples: a total of 3014 pairs are selected (0.00s) [ 143.899 I] ExtendPairs: 84 new pairs from component 3 [ 143.899 I] frustum_min or frustum_max < 0, error can not filter [ 143.899 I] Pair filtering: No filtering [ 143.899 I] SelectCouples: 0 similarity pairs, +2732 loop, +287 close [ 143.900 I] SelectCouples: a total of 3019 pairs are selected (0.00s) [ 143.900 I] ExtendPairs: 94 new pairs from component 4 [ 143.900 I] ExtendPairs: total of 8562 pairs (413 new) [ 144.602] I [progress] matching 48/413 pairs [ 145.230] I [progress] matching 96/413 pairs [ 145.851] I [progress] matching 144/413 pairs [ 146.475] I [progress] matching 192/413 pairs [ 147.101] I [progress] matching 240/413 pairs [ 147.726] I [progress] matching 288/413 pairs [ 148.352] I [progress] matching 336/413 pairs [ 148.975] I [progress] matching 384/413 pairs [ 149.349] I [progress] matching 413/413 pairs [ 149.349 I] MatchAT [GPU]: matched 413 new pairs on GPU/unified frontend (5.42s) [ 149.351 I] MatchAT: 683 photos, nb_keys_max 10000, grid 8, reusing 8149 / 8562 desc pairs [GPU matches] (0.00s) [ 149.608 I] [progress] verify 428/8562 pairs [ 149.874 I] [progress] verify 856/8562 pairs [ 150.149 I] [progress] verify 1284/8562 pairs [ 150.411 I] [progress] verify 1712/8562 pairs [ 150.670 I] [progress] verify 2140/8562 pairs [ 150.927 I] [progress] verify 2568/8562 pairs [ 151.182 I] [progress] verify 2996/8562 pairs [ 151.462 I] [progress] verify 3424/8562 pairs [ 151.709 I] [progress] verify 3852/8562 pairs [ 151.964 I] [progress] verify 4280/8562 pairs [ 152.222 I] [progress] verify 4708/8562 pairs [ 152.481 I] [progress] verify 5136/8562 pairs [ 152.748 I] [progress] verify 5564/8562 pairs [ 153.013 I] [progress] verify 5992/8562 pairs [ 153.304 I] [progress] verify 6420/8562 pairs [ 153.565 I] [progress] verify 6848/8562 pairs [ 153.813 I] [progress] verify 7276/8562 pairs [ 154.068 I] [progress] verify 7704/8562 pairs [ 154.340 I] [progress] verify 8132/8562 pairs [ 154.625 I] [progress] verify 8560/8562 pairs [ 154.635 I] [progress] verify 8562/8562 pairs [ 154.635 I] MatchAT: 7711 / 8562 pairs with a relative pose (5.29s) [ 154.853 I] MatchAT [GPU]: 7711 / 8562 pairs verified (11.0s) [ 155.024 I] Flight detection: 2 flights detected (>300s EXIF gap) -> per-flight Z-offset enabled in BA [ 155.313 I] SmartAT rotations: 683 poses, 7579 pairs (132 rejected by triplets), 7325 used for averaging (0.29s) [ 159.750 I] Refining relative translations: 7362 pairs (4.44s) [ 163.566 I] NumberOfTriplets 17265 NumberOfTripleMatches 4164987 [ 163.576 I] Starting a 51796x7199 Sparse Least Squares with method 3 [ 163.576 I] NZ= 110789 [ 163.620 I] Suite sparse timing: 0.04598 [ 163.621 I] Starting a 21600x2049 Sparse Least Squares with method 3 [ 163.621 I] NZ= 45243 [ 163.625 I] Suite sparse timing: 0.00408888 [ 163.625 I] SmartAT translations: 683 poses, 17265 triplets (8.31s) [ 164.334 I] Reprojection errors before BA: min=0.001 ; median=1.927 ; RMS=5.498 ; max=247.764 (1231330 obs, 133806 points) [ 186.106 I] Reprojection errors after BA: min=0.001 ; median=0.807 ; RMS=1.664 ; max=12.166 (1200659 obs) [ 186.139 I] #point depth filter: removing 2758 measurements [ 186.155 I] AT (postBA) have 683 poses with 130862 automatic tie points [ 186.293 I] [progress] smart_at 683/683 poses [ 186.351 I] [progress] smart_at 771/7711 pairs [ 186.352 I] [progress] smart_at 1542/7711 pairs [ 186.353 I] [progress] smart_at 2313/7711 pairs [ 186.354 I] [progress] smart_at 3084/7711 pairs [ 186.355 I] [progress] smart_at 3855/7711 pairs [ 186.356 I] [progress] smart_at 4626/7711 pairs [ 186.356 I] [progress] smart_at 5397/7711 pairs [ 186.357 I] [progress] smart_at 6168/7711 pairs [ 186.358 I] [progress] smart_at 6939/7711 pairs [ 186.359 I] [progress] smart_at 7710/7711 pairs [ 186.359 I] [progress] smart_at 7711/7711 pairs [ 187.075 I] MakeTiePoints [GPU-reuse]: 6718168 matches over 7711 pairs, 7460 pairs >= 15 matches, 17500 triplets, 235724 tracks -> valid 164320 / too short 0 / inconsistent 132 / untriangulable 185 / ill-conditioned 71087 (0.8s) [ 187.106 I] Mid-BA Sim3 georef: 683/683 GPS inliers (median=0.103 m, scale=9.2146) [ 187.138 I] AdjustAT: Reprojection errors before BA: median=1.994 RMS=3.563 (1891743 obs) [ 187.138 I] [progress] adjust_at 0/4 iters [ 211.322 I] AdjustAT: Reprojection errors after iteration #1: median=0.948 RMS=1.552 sigma=4.785 (1788596 obs) [ 211.322 I] [progress] adjust_at 1/4 iters [ 292.839 I] AdjustAT: Reprojection errors after iteration #2: median=0.715 RMS=0.986 sigma=2.274 (1558127 obs) [ 292.839 I] [progress] adjust_at 2/4 iters [ 333.620 I] AdjustAT: Reprojection errors after iteration #3: median=0.638 RMS=0.867 sigma=2.000 (1493198 obs) [ 333.620 I] [progress] adjust_at 3/4 iters [ 334.458 I] GuidedTrackCompletion: +83066 obs, 3871 merged, +0 2-view pts -> 139154 total points (0.72s) [ 357.293 I] AdjustAT: Reprojection errors after post-Phase-A tight polish: median=0.620 RMS=0.841 sigma=1.000 (1560533 obs) [ 357.293 I] [progress] adjust_at 4/4 iters [ 357.429 I] GuidedTrackCompletion: +0 obs, 0 merged, +133525 2-view pts -> 272107 total points (0.05s) [ 357.469 I] AT done: 683 / 683 photos registered, 272107 tie points, GPS registration ok, 357.4s total [ 357.827 I] cc: wrote SfM handoff bundle to /Users/nickp/mr/pgm/out/benchmark/runs/sfm/cell/unified/handoff/sfm (683/683 registered, 272107 tie points) [ 357.926 I] cc: wrote unified metrics report to /Users/nickp/mr/pgm/out/benchmark/runs/sfm/cell/unified/report/metrics.json [ 357.926 I] sfm [sfm]: done: 683/683 registered, 272107 tie points in 357.9s -> /Users/nickp/mr/pgm/out/benchmark/runs/sfm/cell/unified/handoff/sfm