>>> CMD: /opt/anaconda3/envs/dev/bin/python3 -m sfm run --preset unified -i /Users/nickp/Dropbox/Code/data/pipes/images -o /Users/nickp/mr/pgm/out/benchmark/runs/sfm/pipes/unified [sfm/unified] Executing: /Users/nickp/mr/pgm/sfm/build/sfm -i /Users/nickp/Library/CloudStorage/Dropbox/Code/data/pipes/images -o /Users/nickp/mr/pgm/out/benchmark/runs/sfm/pipes/unified --preset unified [ 0.010 I] sfm [sfm]: unified solver (features=vulkan-rootsift, max_dim=4096, max_feat=10000, gpu='Apple M5 Pro', threads=15) [ 0.017 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.017 I] cc ingest: 97 photos, 1 photogroup(s), 97 with GPS [ 0.017 I] sfm [sfm]: 97 photos, 1 photogroup(s) [ 0.017 I] photogroup 0 (Hasselblad L1D-20c): 5472x3648 f=4253.2364 px pp=(2735.50,1823.50) [ 0.273] I [progress] features 4/97 images [ 0.479] I [progress] features 8/97 images [ 0.584] I [progress] features 12/97 images [ 0.789] I [progress] features 16/97 images [ 0.892] I [progress] features 20/97 images [ 1.100] I [progress] features 24/97 images [ 1.204] I [progress] features 28/97 images [ 1.408] I [progress] features 32/97 images [ 1.618] I [progress] features 36/97 images [ 1.724] I [progress] features 40/97 images [ 1.931] I [progress] features 44/97 images [ 2.037] I [progress] features 48/97 images [ 2.244] I [progress] features 52/97 images [ 2.348] I [progress] features 56/97 images [ 2.550] I [progress] features 60/97 images [ 2.750] I [progress] features 64/97 images [ 2.855] I [progress] features 68/97 images [ 3.062] I [progress] features 72/97 images [ 3.167] I [progress] features 76/97 images [ 3.376] I [progress] features 80/97 images [ 3.482] I [progress] features 84/97 images [ 3.681] I [progress] features 88/97 images [ 3.882] I [progress] features 92/97 images [ 3.986] I [progress] features 96/97 images [ 4.014] I [progress] features 97/97 images [ 4.043 I] ExtractKeys [GPU RootSIFT]: 970000 keypoints over 97 photos (0 cached, 4.03s) [ 4.043 I] frustum_min or frustum_max < 0, error can not filter [ 4.043 I] Pair filtering: No filtering [ 4.043 I] SelectCouples: exhaustive 4656 pairs (N=97 <= 100) [ 4.043 I] SelectCouples: a total of 4656 pairs are selected (0.00s) [ 4.044 I] SelectCouples: 4656 pairs (0.0s) [ 6.072] I [progress] matching 144/4656 pairs [ 7.381] I [progress] matching 240/4656 pairs [ 9.352] I [progress] matching 384/4656 pairs [ 10.667] I [progress] matching 480/4656 pairs [ 12.635] I [progress] matching 624/4656 pairs [ 13.959] I [progress] matching 720/4656 pairs [ 15.968] I [progress] matching 864/4656 pairs [ 17.357] I [progress] matching 960/4656 pairs [ 19.450] I [progress] matching 1104/4656 pairs [ 20.850] I [progress] matching 1200/4656 pairs [ 22.935] I [progress] matching 1344/4656 pairs [ 23.629] I [progress] matching 1392/4656 pairs [ 25.680] I [progress] matching 1536/4656 pairs [ 27.040] I [progress] matching 1632/4656 pairs [ 29.064] I [progress] matching 1776/4656 pairs [ 30.404] I [progress] matching 1872/4656 pairs [ 32.398] I [progress] matching 2016/4656 pairs [ 33.724] I [progress] matching 2112/4656 pairs [ 35.704] I [progress] matching 2256/4656 pairs [ 37.030] I [progress] matching 2352/4656 pairs [ 39.011] I [progress] matching 2496/4656 pairs [ 40.329] I [progress] matching 2592/4656 pairs [ 42.299] I [progress] matching 2736/4656 pairs [ 42.956] I [progress] matching 2784/4656 pairs [ 44.930] I [progress] matching 2928/4656 pairs [ 46.249] I [progress] matching 3024/4656 pairs [ 48.227] I [progress] matching 3168/4656 pairs [ 49.543] I [progress] matching 3264/4656 pairs [ 51.520] I [progress] matching 3408/4656 pairs [ 52.835] I [progress] matching 3504/4656 pairs [ 54.801] I [progress] matching 3648/4656 pairs [ 56.123] I [progress] matching 3744/4656 pairs [ 58.097] I [progress] matching 3888/4656 pairs [ 59.414] I [progress] matching 3984/4656 pairs [ 61.375] I [progress] matching 4128/4656 pairs [ 62.033] I [progress] matching 4176/4656 pairs [ 63.995] I [progress] matching 4320/4656 pairs [ 65.310] I [progress] matching 4416/4656 pairs [ 67.283] I [progress] matching 4560/4656 pairs [ 68.597] I [progress] matching 4656/4656 pairs [ 68.598 I] MatchAT [GPU]: matched 4656 new pairs on GPU/unified frontend (64.54s) [ 68.600 I] MatchAT: 97 photos, nb_keys_max 10000, grid 8, reusing 0 / 4656 desc pairs [GPU matches] (0.00s) [ 68.808 I] [progress] verify 232/4656 pairs [ 69.021 I] [progress] verify 464/4656 pairs [ 69.208 I] [progress] verify 696/4656 pairs [ 69.393 I] [progress] verify 928/4656 pairs [ 69.610 I] [progress] verify 1160/4656 pairs [ 69.832 I] [progress] verify 1392/4656 pairs [ 70.044 I] [progress] verify 1624/4656 pairs [ 70.259 I] [progress] verify 1856/4656 pairs [ 70.473 I] [progress] verify 2088/4656 pairs [ 70.697 I] [progress] verify 2320/4656 pairs [ 70.916 I] [progress] verify 2552/4656 pairs [ 71.125 I] [progress] verify 2784/4656 pairs [ 71.329 I] [progress] verify 3016/4656 pairs [ 71.516 I] [progress] verify 3248/4656 pairs [ 71.729 I] [progress] verify 3480/4656 pairs [ 71.941 I] [progress] verify 3712/4656 pairs [ 72.135 I] [progress] verify 3944/4656 pairs [ 72.335 I] [progress] verify 4176/4656 pairs [ 72.535 I] [progress] verify 4408/4656 pairs [ 72.726 I] [progress] verify 4640/4656 pairs [ 72.750 I] [progress] verify 4656/4656 pairs [ 72.750 I] MatchAT: 2381 / 4656 pairs with a relative pose (4.15s) [ 72.773 I] MatchAT [GPU]: 2381 / 4656 pairs verified (68.7s) [ 72.776 I] Pass one: 5 components of <= 32 shots (split gave 17) [ 72.776 I] [progress] smart_at 0/5 components [ 72.781 I] SmartAT rotations: 31 poses, 454 pairs (1 rejected by triplets), 451 used for averaging (0.01s) [ 72.782 I] SmartAT rotations: 32 poses, 410 pairs (0 rejected by triplets), 402 used for averaging (0.01s) [ 72.783 I] SmartAT rotations: 32 poses, 457 pairs (0 rejected by triplets), 452 used for averaging (0.01s) [ 72.792 I] SmartAT rotations: 32 poses, 329 pairs (0 rejected by triplets), 313 used for averaging (0.02s) [ 72.804 I] SmartAT rotations: 32 poses, 485 pairs (0 rejected by triplets), 469 used for averaging (0.03s) [ 72.950 I] Refining relative translations: 446 pairs (0.17s) [ 73.134 I] Refining relative translations: 466 pairs (0.33s) [ 73.137 I] Refining relative translations: 284 pairs (0.34s) [ 73.240 I] Refining relative translations: 437 pairs (0.46s) [ 73.358 I] Refining relative translations: 380 pairs (0.58s) [ 73.568 I] NumberOfTriplets 997 NumberOfTripleMatches 63925 [ 73.569 I] SmartAT translations: 32 poses, 997 triplets (0.78s) [ 73.592 I] Reprojection errors before BA: min=0.006 ; median=2.037 ; RMS=3.560 ; max=42.426 (40759 obs, 9117 points) [ 73.750 I] Reprojection errors after BA: min=0.002 ; median=1.312 ; RMS=2.334 ; max=16.183 (40558 obs) [ 73.751 I] #point depth filter: removing 0 measurements [ 73.752 I] AT (postBA) have 32 poses with 9091 automatic tie points [ 73.753 I] AdjustAT: Reprojection errors before BA: median=1.312 RMS=2.334 (40558 obs) [ 73.950 I] NumberOfTriplets 3561 NumberOfTripleMatches 276437 [ 73.953 I] SmartAT translations: 31 poses, 3561 triplets (1.17s) [ 73.999 I] NumberOfTriplets 3754 NumberOfTripleMatches 268337 [ 74.002 I] SmartAT translations: 32 poses, 3754 triplets (1.20s) [ 74.030 I] Reprojection errors before BA: min=0.002 ; median=1.842 ; RMS=5.613 ; max=591.755 (66725 obs, 12271 points) [ 74.092 I] Reprojection errors before BA: min=0.005 ; median=1.873 ; RMS=8.254 ; max=1276.588 (64660 obs, 11947 points) [ 74.226 I] NumberOfTriplets 2222 NumberOfTripleMatches 158871 [ 74.228 I] SmartAT translations: 32 poses, 2222 triplets (1.45s) [ 74.230 I] NumberOfTriplets 2892 NumberOfTripleMatches 221667 [ 74.232 I] SmartAT translations: 32 poses, 2892 triplets (1.45s) [ 74.233 I] AdjustAT: Reprojection errors after iteration #1: median=0.384 RMS=0.761 sigma=3.148 (38661 obs) [ 74.260 I] Reprojection errors before BA: min=0.003 ; median=2.101 ; RMS=5.982 ; max=889.926 (52057 obs, 10255 points) [ 74.277 I] Reprojection errors before BA: min=0.006 ; median=1.870 ; RMS=5.699 ; max=591.700 (65161 obs, 12635 points) [ 74.785 I] Reprojection errors after BA: min=0.001 ; median=1.301 ; RMS=2.319 ; max=16.319 (66080 obs) [ 74.786 I] #point depth filter: removing 0 measurements [ 74.788 I] AT (postBA) have 31 poses with 12198 automatic tie points [ 74.789 I] AdjustAT: Reprojection errors before BA: median=1.301 RMS=2.319 (66080 obs) [ 74.797 I] Reprojection errors after BA: min=0.005 ; median=1.263 ; RMS=2.271 ; max=16.410 (51685 obs) [ 74.798 I] #point depth filter: removing 89 measurements [ 74.799 I] AT (postBA) have 32 poses with 10181 automatic tie points [ 74.800 I] AdjustAT: Reprojection errors before BA: median=1.262 RMS=2.268 (51553 obs) [ 75.051 I] Reprojection errors after BA: min=0.004 ; median=1.315 ; RMS=2.374 ; max=16.358 (64625 obs) [ 75.053 I] #point depth filter: removing 0 measurements [ 75.054 I] AT (postBA) have 32 poses with 12573 automatic tie points [ 75.055 I] AdjustAT: Reprojection errors before BA: median=1.315 RMS=2.374 (64625 obs) [ 75.163 I] Reprojection errors after BA: min=0.002 ; median=1.267 ; RMS=2.294 ; max=16.391 (64104 obs) [ 75.165 I] #point depth filter: removing 0 measurements [ 75.166 I] AT (postBA) have 32 poses with 11882 automatic tie points [ 75.168 I] AdjustAT: Reprojection errors before BA: median=1.267 RMS=2.294 (64104 obs) [ 75.329 I] AdjustAT: Reprojection errors after iteration #2: median=0.345 RMS=0.588 sigma=2.000 (36979 obs) [ 75.684 I] AdjustAT: Reprojection errors after iteration #3: median=0.338 RMS=0.571 sigma=2.000 (36901 obs) [ 75.685 I] [progress] smart_at 1/5 components [ 75.910 I] AdjustAT: Reprojection errors after iteration #1: median=0.437 RMS=0.819 sigma=3.122 (63024 obs) [ 76.009 I] AdjustAT: Reprojection errors after iteration #1: median=0.386 RMS=0.749 sigma=3.029 (49100 obs) [ 76.146 I] AdjustAT: Reprojection errors after iteration #1: median=0.433 RMS=0.810 sigma=3.156 (61923 obs) [ 76.487 I] AdjustAT: Reprojection errors after iteration #1: median=0.424 RMS=0.791 sigma=3.040 (61042 obs) [ 77.664 I] AdjustAT: Reprojection errors after iteration #2: median=0.342 RMS=0.586 sigma=2.000 (47297 obs) [ 77.952 I] AdjustAT: Reprojection errors after iteration #2: median=0.382 RMS=0.631 sigma=2.000 (60271 obs) [ 78.148 I] AdjustAT: Reprojection errors after iteration #3: median=0.336 RMS=0.568 sigma=2.000 (47181 obs) [ 78.149 I] [progress] smart_at 2/5 components [ 78.230 I] AdjustAT: Reprojection errors after iteration #2: median=0.381 RMS=0.631 sigma=2.000 (59295 obs) [ 78.463 I] AdjustAT: Reprojection errors after iteration #2: median=0.372 RMS=0.619 sigma=2.000 (58608 obs) [ 78.566 I] AdjustAT: Reprojection errors after iteration #3: median=0.371 RMS=0.608 sigma=2.000 (60037 obs) [ 78.567 I] [progress] smart_at 3/5 components [ 78.793 I] AdjustAT: Reprojection errors after iteration #3: median=0.370 RMS=0.607 sigma=2.000 (59040 obs) [ 78.794 I] [progress] smart_at 4/5 components [ 79.034 I] AdjustAT: Reprojection errors after iteration #3: median=0.362 RMS=0.596 sigma=2.000 (58388 obs) [ 79.035 I] [progress] smart_at 5/5 components [ 79.035 I] Pass one component 0: 32 shots, 11171 tie points, f=4349.05 [ 79.035 I] Pass one component 1: 32 shots, 8476 tie points, f=4352.50 [ 79.035 I] Pass one component 2: 32 shots, 9552 tie points, f=4350.03 [ 79.035 I] Pass one component 3: 32 shots, 11875 tie points, f=4349.09 [ 79.035 I] Pass one component 4: 31 shots, 11496 tie points, f=4349.23 [ 79.035 I] Estimating parameters of photogroup 0 using 5 candidate cameras: Found a consensus with 5 cameras [ 79.035 I] Pass one done (6.3s) [ 79.035 I] MatchAT: 97 photos, nb_keys_max 10000, grid 8, reusing 4656 / 4656 desc pairs [GPU matches] (0.00s) [ 79.234 I] [progress] verify 232/4656 pairs [ 79.442 I] [progress] verify 464/4656 pairs [ 79.648 I] [progress] verify 696/4656 pairs [ 79.838 I] [progress] verify 928/4656 pairs [ 80.044 I] [progress] verify 1160/4656 pairs [ 80.267 I] [progress] verify 1392/4656 pairs [ 80.509 I] [progress] verify 1624/4656 pairs [ 80.727 I] [progress] verify 1856/4656 pairs [ 80.954 I] [progress] verify 2088/4656 pairs [ 81.172 I] [progress] verify 2320/4656 pairs [ 81.341 I] [progress] verify 2552/4656 pairs [ 81.524 I] [progress] verify 2784/4656 pairs [ 81.730 I] [progress] verify 3016/4656 pairs [ 81.922 I] [progress] verify 3248/4656 pairs [ 82.148 I] [progress] verify 3480/4656 pairs [ 82.368 I] [progress] verify 3712/4656 pairs [ 82.595 I] [progress] verify 3944/4656 pairs [ 82.781 I] [progress] verify 4176/4656 pairs [ 82.977 I] [progress] verify 4408/4656 pairs [ 83.166 I] [progress] verify 4640/4656 pairs [ 83.184 I] [progress] verify 4656/4656 pairs [ 83.184 I] MatchAT: 2386 / 4656 pairs with a relative pose (4.15s) [ 83.204 I] MatchAT [GPU]: 2386 / 4656 pairs verified (4.2s) [ 83.247 I] SmartAT rotations: 97 poses, 2386 pairs (0 rejected by triplets), 2288 used for averaging (0.02s) [ 83.481 I] Refining relative translations: 2103 pairs (0.23s) [ 84.209 I] NumberOfTriplets 16587 NumberOfTripleMatches 718019 [ 84.215 I] Starting a 49762x2099 Sparse Least Squares with method 3 [ 84.215 I] NZ= 101621 [ 84.221 I] Suite sparse timing: 0.00700593 [ 84.222 I] SmartAT translations: 97 poses, 16587 triplets (0.98s) [ 84.363 I] Reprojection errors before BA: min=0.000 ; median=1.246 ; RMS=8.189 ; max=1230.121 (160593 obs, 27224 points) [ 86.060 I] Reprojection errors after BA: min=0.002 ; median=0.854 ; RMS=1.826 ; max=16.413 (158237 obs) [ 86.065 I] #point depth filter: removing 55 measurements [ 86.068 I] AT (postBA) have 97 poses with 26988 automatic tie points [ 86.069 I] [progress] smart_at 97/97 poses [ 86.079 I] [progress] smart_at 238/2386 pairs [ 86.079 I] [progress] smart_at 476/2386 pairs [ 86.079 I] [progress] smart_at 714/2386 pairs [ 86.079 I] [progress] smart_at 952/2386 pairs [ 86.079 I] [progress] smart_at 1190/2386 pairs [ 86.079 I] [progress] smart_at 1428/2386 pairs [ 86.079 I] [progress] smart_at 1666/2386 pairs [ 86.080 I] [progress] smart_at 1904/2386 pairs [ 86.080 I] [progress] smart_at 2142/2386 pairs [ 86.080 I] [progress] smart_at 2380/2386 pairs [ 86.080 I] [progress] smart_at 2386/2386 pairs [ 86.207 I] MakeTiePoints [GPU-reuse]: 505101 matches over 2386 pairs, 2121 pairs >= 15 matches, 23241 triplets, 36179 tracks -> valid 35670 / too short 0 / inconsistent 15 / untriangulable 41 / ill-conditioned 453 (0.1s) [ 86.210 I] Mid-BA Sim3 georef: 97/97 GPS inliers (median=0.615 m, scale=34.7520) [ 86.214 I] AdjustAT: Reprojection errors before BA: median=3.972 RMS=5.393 (212999 obs) [ 86.214 I] [progress] adjust_at 0/4 iters [ 90.854 I] AdjustAT: Reprojection errors after iteration #1: median=0.595 RMS=1.355 sigma=6.000 (204178 obs) [ 90.854 I] [progress] adjust_at 1/4 iters [ 101.882 I] AdjustAT: Reprojection errors after iteration #2: median=0.456 RMS=0.722 sigma=2.000 (180716 obs) [ 101.882 I] [progress] adjust_at 2/4 iters [ 103.053 I] AdjustAT: Reprojection errors after iteration #3: median=0.435 RMS=0.681 sigma=2.000 (179499 obs) [ 103.053 I] [progress] adjust_at 3/4 iters [ 103.091 I] GuidedTrackCompletion: +2667 obs, 555 merged, +0 2-view pts -> 31635 total points (0.02s) [ 104.155 I] AdjustAT: Reprojection errors after post-Phase-A tight polish: median=0.436 RMS=0.683 sigma=1.000 (181912 obs) [ 104.155 I] [progress] adjust_at 4/4 iters [ 104.175 I] GuidedTrackCompletion: +0 obs, 0 merged, +41838 2-view pts -> 73459 total points (0.01s) [ 104.181 I] AT done: 97 / 97 photos registered, 73459 tie points, GPS registration ok, 104.2s total [ 104.260 I] cc: wrote SfM handoff bundle to /Users/nickp/mr/pgm/out/benchmark/runs/sfm/pipes/unified/handoff/sfm (97/97 registered, 73459 tie points) [ 104.265 I] cc: wrote unified metrics report to /Users/nickp/mr/pgm/out/benchmark/runs/sfm/pipes/unified/report/metrics.json [ 104.265 I] sfm [sfm]: done: 97/97 registered, 73459 tie points in 104.3s -> /Users/nickp/mr/pgm/out/benchmark/runs/sfm/pipes/unified/handoff/sfm