>>> CMD: /opt/anaconda3/envs/dev/bin/python3 -m sfm run --preset unified -i /Users/nickp/Dropbox/Code/data/tat/Ignatius/images -o /Users/nickp/mr/pgm/out/benchmark/runs/sfm/tat_Ignatius/unified [sfm/unified] Executing: /Users/nickp/mr/pgm/sfm/build/sfm -i /Users/nickp/Library/CloudStorage/Dropbox/Code/data/tat/Ignatius/images -o /Users/nickp/mr/pgm/out/benchmark/runs/sfm/tat_Ignatius/unified --preset unified [ 0.015 I] sfm [sfm]: unified solver (features=vulkan-rootsift, max_dim=4096, max_feat=10000, gpu='Apple M5 Pro', threads=15) [ 0.026 I] cc ingest: 263 photos, 1 photogroup(s), 0 with GPS [ 0.026 I] sfm [sfm]: 263 photos, 1 photogroup(s) [ 0.026 I] photogroup 0 (Sony A7SM2): 1920x1080 f=1120.0000 px pp=(959.50,539.50) [ 0.231] I [progress] features 13/263 images [ 0.399] I [progress] features 26/263 images [ 0.564] I [progress] features 39/263 images [ 0.734] I [progress] features 52/263 images [ 0.905] I [progress] features 65/263 images [ 1.061] I [progress] features 78/263 images [ 1.213] I [progress] features 91/263 images [ 1.383] I [progress] features 104/263 images [ 1.559] I [progress] features 117/263 images [ 1.724] I [progress] features 130/263 images [ 1.889] I [progress] features 143/263 images [ 2.048] I [progress] features 156/263 images [ 2.217] I [progress] features 169/263 images [ 2.373] I [progress] features 182/263 images [ 2.546] I [progress] features 195/263 images [ 2.719] I [progress] features 208/263 images [ 2.889] I [progress] features 221/263 images [ 3.053] I [progress] features 234/263 images [ 3.225] I [progress] features 247/263 images [ 3.399] I [progress] features 260/263 images [ 3.433] I [progress] features 263/263 images [ 3.489 I] ExtractKeys [GPU RootSIFT]: 1694138 keypoints over 263 photos (0 cached, 3.46s) [ 4.202] I vocab tree: 400000 training descriptors, branching 10, depth 4, 10000 words [ 4.453 I] VocabTree retrieval: top-40 over 263 photos (0.96s) [ 4.453 I] frustum_min or frustum_max < 0, error can not filter [ 4.453 I] Pair filtering: No filtering [ 4.454 I] SelectCouples: 1019 similarity pairs, +599 loop, +0 close [ 4.454 I] SelectCouples: a total of 1618 pairs are selected (0.00s) [ 4.455 I] SelectCouples: 1618 pairs (1.0s) [ 5.122] I [progress] matching 96/1618 pairs [ 5.625] I [progress] matching 192/1618 pairs [ 5.870] I [progress] matching 240/1618 pairs [ 6.460] I [progress] matching 336/1618 pairs [ 7.104] I [progress] matching 432/1618 pairs [ 7.458] I [progress] matching 480/1618 pairs [ 8.016] I [progress] matching 576/1618 pairs [ 8.541] I [progress] matching 672/1618 pairs [ 8.829] I [progress] matching 720/1618 pairs [ 9.491] I [progress] matching 816/1618 pairs [ 10.110] I [progress] matching 912/1618 pairs [ 10.360] I [progress] matching 960/1618 pairs [ 10.885] I [progress] matching 1056/1618 pairs [ 11.433] I [progress] matching 1152/1618 pairs [ 11.744] I [progress] matching 1200/1618 pairs [ 12.443] I [progress] matching 1296/1618 pairs [ 13.050] I [progress] matching 1392/1618 pairs [ 13.310] I [progress] matching 1440/1618 pairs [ 13.866] I [progress] matching 1536/1618 pairs [ 14.450] I [progress] matching 1618/1618 pairs [ 14.453 I] MatchAT [GPU]: matched 1618 new pairs on GPU/unified frontend (9.98s) [ 14.454 I] MatchAT: 263 photos, nb_keys_max 10000, grid 8, reusing 0 / 1618 desc pairs [GPU matches] (0.00s) [ 14.507 I] [progress] verify 80/1618 pairs [ 14.541 I] [progress] verify 160/1618 pairs [ 14.579 I] [progress] verify 240/1618 pairs [ 14.614 I] [progress] verify 320/1618 pairs [ 14.649 I] [progress] verify 400/1618 pairs [ 14.686 I] [progress] verify 480/1618 pairs [ 14.721 I] [progress] verify 560/1618 pairs [ 14.757 I] [progress] verify 640/1618 pairs [ 14.795 I] [progress] verify 720/1618 pairs [ 14.830 I] [progress] verify 800/1618 pairs [ 14.871 I] [progress] verify 880/1618 pairs [ 14.909 I] [progress] verify 960/1618 pairs [ 14.946 I] [progress] verify 1040/1618 pairs [ 14.987 I] [progress] verify 1120/1618 pairs [ 15.030 I] [progress] verify 1200/1618 pairs [ 15.077 I] [progress] verify 1280/1618 pairs [ 15.127 I] [progress] verify 1360/1618 pairs [ 15.177 I] [progress] verify 1440/1618 pairs [ 15.224 I] [progress] verify 1520/1618 pairs [ 15.280 I] [progress] verify 1600/1618 pairs [ 15.300 I] [progress] verify 1618/1618 pairs [ 15.300 I] MatchAT: 1605 / 1618 pairs with a relative pose (0.85s) [ 15.350 I] MatchAT [GPU]: 1605 / 1618 pairs verified (10.9s) [ 15.354 I] Pass one: 6 components of <= 40 shots (split gave 25) [ 15.354 I] [progress] smart_at 0/6 components [ 15.358 I] SmartAT rotations: 40 poses, 158 pairs (0 rejected by triplets), 158 used for averaging (0.00s) [ 15.358 I] SmartAT rotations: 37 poses, 146 pairs (3 rejected by triplets), 146 used for averaging (0.00s) [ 15.358 I] SmartAT rotations: 40 poses, 175 pairs (0 rejected by triplets), 175 used for averaging (0.00s) [ 15.359 I] SmartAT rotations: 31 poses, 113 pairs (2 rejected by triplets), 113 used for averaging (0.00s) [ 15.359 I] SmartAT rotations: 40 poses, 167 pairs (3 rejected by triplets), 167 used for averaging (0.00s) [ 15.365 I] SmartAT rotations: 40 poses, 178 pairs (1 rejected by triplets), 178 used for averaging (0.01s) [ 15.908 I] Refining relative translations: 146 pairs (0.55s) [ 15.986 I] Refining relative translations: 158 pairs (0.63s) [ 15.992 I] Refining relative translations: 113 pairs (0.63s) [ 15.992 I] Refining relative translations: 167 pairs (0.63s) [ 16.003 I] Refining relative translations: 169 pairs (0.64s) [ 16.035 I] Refining relative translations: 178 pairs (0.67s) [ 16.165 I] NumberOfTriplets 206 NumberOfTripleMatches 37335 [ 16.165 I] SmartAT translations: 37 poses, 206 triplets (0.81s) [ 16.178 I] Reprojection errors before BA: min=0.002 ; median=1.085 ; RMS=1.916 ; max=14.632 (30904 obs, 6119 points) [ 16.337 I] NumberOfTriplets 233 NumberOfTripleMatches 67107 [ 16.337 I] SmartAT translations: 40 poses, 233 triplets (0.98s) [ 16.363 I] Reprojection errors before BA: min=0.003 ; median=1.360 ; RMS=2.713 ; max=28.875 (48466 obs, 9316 points) [ 16.364 I] NumberOfTriplets 141 NumberOfTripleMatches 40895 [ 16.365 I] SmartAT translations: 31 poses, 141 triplets (1.01s) [ 16.379 I] Reprojection errors before BA: min=0.010 ; median=1.551 ; RMS=2.538 ; max=19.310 (36428 obs, 7197 points) [ 16.431 I] Reprojection errors after BA: min=0.003 ; median=0.791 ; RMS=1.311 ; max=5.743 (29781 obs) [ 16.432 I] #point depth filter: removing 2271 measurements [ 16.433 I] AT (postBA) have 37 poses with 5334 automatic tie points [ 16.434 I] AdjustAT: Reprojection errors before BA: median=0.778 RMS=1.279 (27250 obs) [ 16.457 I] NumberOfTriplets 245 NumberOfTripleMatches 140595 [ 16.458 I] SmartAT translations: 40 poses, 245 triplets (1.10s) [ 16.458 I] NumberOfTriplets 239 NumberOfTripleMatches 83733 [ 16.458 I] SmartAT translations: 40 poses, 239 triplets (1.10s) [ 16.489 I] Reprojection errors before BA: min=0.010 ; median=1.963 ; RMS=5.438 ; max=50.812 (60824 obs, 11524 points) [ 16.505 I] Reprojection errors before BA: min=0.010 ; median=2.510 ; RMS=5.379 ; max=69.119 (87853 obs, 15155 points) [ 16.523 I] NumberOfTriplets 243 NumberOfTripleMatches 90777 [ 16.523 I] SmartAT translations: 40 poses, 243 triplets (1.16s) [ 16.547 I] Reprojection errors before BA: min=0.003 ; median=1.719 ; RMS=3.126 ; max=43.460 (66930 obs, 11542 points) [ 16.598 I] Reprojection errors after BA: min=0.003 ; median=0.989 ; RMS=1.529 ; max=5.744 (33825 obs) [ 16.599 I] #point depth filter: removing 771 measurements [ 16.600 I] AT (postBA) have 31 poses with 6661 automatic tie points [ 16.601 I] AdjustAT: Reprojection errors before BA: median=0.987 RMS=1.528 (32898 obs) [ 16.673 I] Reprojection errors after BA: min=0.003 ; median=0.973 ; RMS=1.434 ; max=5.758 (46955 obs) [ 16.674 I] #point depth filter: removing 1877 measurements [ 16.675 I] AT (postBA) have 40 poses with 8652 automatic tie points [ 16.676 I] AdjustAT: Reprojection errors before BA: median=0.962 RMS=1.411 (44799 obs) [ 17.034 I] Reprojection errors after BA: min=0.002 ; median=1.236 ; RMS=1.805 ; max=5.759 (57376 obs) [ 17.036 I] #point depth filter: removing 856 measurements [ 17.037 I] AT (postBA) have 40 poses with 10400 automatic tie points [ 17.038 I] AdjustAT: Reprojection errors before BA: median=1.244 RMS=1.811 (56408 obs) [ 17.553 I] AdjustAT: Reprojection errors after iteration #1: median=0.502 RMS=0.762 sigma=2.369 (31680 obs) [ 17.623 I] AdjustAT: Reprojection errors after iteration #1: median=0.591 RMS=0.902 sigma=2.986 (55557 obs) [ 17.723 I] AdjustAT: Reprojection errors after iteration #1: median=0.428 RMS=0.647 sigma=2.000 (26172 obs) [ 17.945 I] Reprojection errors after BA: min=0.001 ; median=1.195 ; RMS=1.772 ; max=5.758 (54131 obs) [ 17.946 I] #point depth filter: removing 1183 measurements [ 17.947 I] AT (postBA) have 40 poses with 10356 automatic tie points [ 17.948 I] AdjustAT: Reprojection errors before BA: median=1.192 RMS=1.765 (52698 obs) [ 17.994 I] AdjustAT: Reprojection errors after iteration #2: median=0.420 RMS=0.632 sigma=2.000 (26099 obs) [ 18.044 I] AdjustAT: Reprojection errors after iteration #2: median=0.471 RMS=0.697 sigma=2.000 (30948 obs) [ 18.205 I] AdjustAT: Reprojection errors after iteration #3: median=0.420 RMS=0.630 sigma=2.000 (26084 obs) [ 18.206 I] [progress] smart_at 1/6 components [ 18.351 I] AdjustAT: Reprojection errors after iteration #3: median=0.460 RMS=0.679 sigma=2.000 (30816 obs) [ 18.352 I] [progress] smart_at 2/6 components [ 18.572 I] AdjustAT: Reprojection errors after iteration #1: median=0.540 RMS=0.836 sigma=2.861 (51850 obs) [ 18.620 I] AdjustAT: Reprojection errors after iteration #1: median=0.452 RMS=0.697 sigma=2.310 (43603 obs) [ 19.046 I] Reprojection errors after BA: min=0.002 ; median=1.194 ; RMS=1.699 ; max=5.760 (79610 obs) [ 19.048 I] #point depth filter: removing 1251 measurements [ 19.049 I] AT (postBA) have 40 poses with 14118 automatic tie points [ 19.051 I] AdjustAT: Reprojection errors before BA: median=1.185 RMS=1.690 (78207 obs) [ 19.110 I] AdjustAT: Reprojection errors after iteration #2: median=0.522 RMS=0.746 sigma=2.000 (52458 obs) [ 19.612 I] AdjustAT: Reprojection errors after iteration #3: median=0.498 RMS=0.718 sigma=2.000 (52093 obs) [ 19.613 I] [progress] smart_at 3/6 components [ 20.256 I] AdjustAT: Reprojection errors after iteration #1: median=0.495 RMS=0.742 sigma=2.845 (77445 obs) [ 20.421 I] AdjustAT: Reprojection errors after iteration #2: median=0.483 RMS=0.707 sigma=2.000 (49546 obs) [ 20.792 I] AdjustAT: Reprojection errors after iteration #2: median=0.434 RMS=0.653 sigma=2.000 (42938 obs) [ 20.833 I] AdjustAT: Reprojection errors after iteration #3: median=0.465 RMS=0.682 sigma=2.000 (49243 obs) [ 20.834 I] [progress] smart_at 4/6 components [ 21.093 I] AdjustAT: Reprojection errors after iteration #3: median=0.429 RMS=0.643 sigma=2.000 (42814 obs) [ 21.094 I] [progress] smart_at 5/6 components [ 21.675 I] AdjustAT: Reprojection errors after iteration #2: median=0.466 RMS=0.671 sigma=2.000 (75553 obs) [ 22.151 I] AdjustAT: Reprojection errors after iteration #3: median=0.458 RMS=0.659 sigma=2.000 (75362 obs) [ 22.152 I] [progress] smart_at 6/6 components [ 22.152 I] Pass one component 0: 40 shots, 13741 tie points, f=1165.37 [ 22.152 I] Pass one component 1: 31 shots, 6398 tie points, f=1170.33 [ 22.152 I] Pass one component 2: 40 shots, 9868 tie points, f=1164.46 [ 22.152 I] Pass one component 3: 40 shots, 8368 tie points, f=1167.77 [ 22.152 I] Pass one component 4: 37 shots, 5156 tie points, f=1166.48 [ 22.152 I] Pass one component 5: 40 shots, 9876 tie points, f=1169.29 [ 22.152 I] Estimating parameters of photogroup 0 using 6 candidate cameras: Found a consensus with 6 cameras [ 22.152 I] Pass one done (6.8s) [ 22.152 I] frustum_min or frustum_max < 0, error can not filter [ 22.152 I] Pair filtering: No filtering [ 22.152 I] SelectCouples: 0 similarity pairs, +1052 loop, +177 close [ 22.152 I] SelectCouples: a total of 1229 pairs are selected (0.00s) [ 22.152 I] ExtendPairs: 160 new pairs from component 0 [ 22.152 I] frustum_min or frustum_max < 0, error can not filter [ 22.152 I] Pair filtering: No filtering [ 22.153 I] SelectCouples: 0 similarity pairs, +1052 loop, +151 close [ 22.153 I] SelectCouples: a total of 1203 pairs are selected (0.00s) [ 22.153 I] ExtendPairs: 120 new pairs from component 1 [ 22.153 I] frustum_min or frustum_max < 0, error can not filter [ 22.153 I] Pair filtering: No filtering [ 22.153 I] SelectCouples: 0 similarity pairs, +1052 loop, +186 close [ 22.153 I] SelectCouples: a total of 1238 pairs are selected (0.00s) [ 22.153 I] ExtendPairs: 136 new pairs from component 2 [ 22.153 I] frustum_min or frustum_max < 0, error can not filter [ 22.153 I] Pair filtering: No filtering [ 22.153 I] SelectCouples: 0 similarity pairs, +1052 loop, +189 close [ 22.153 I] SelectCouples: a total of 1241 pairs are selected (0.00s) [ 22.153 I] ExtendPairs: 150 new pairs from component 3 [ 22.153 I] frustum_min or frustum_max < 0, error can not filter [ 22.153 I] Pair filtering: No filtering [ 22.153 I] SelectCouples: 0 similarity pairs, +1052 loop, +180 close [ 22.153 I] SelectCouples: a total of 1232 pairs are selected (0.00s) [ 22.153 I] ExtendPairs: 148 new pairs from component 4 [ 22.153 I] frustum_min or frustum_max < 0, error can not filter [ 22.153 I] Pair filtering: No filtering [ 22.153 I] SelectCouples: 0 similarity pairs, +1052 loop, +169 close [ 22.153 I] SelectCouples: a total of 1221 pairs are selected (0.00s) [ 22.153 I] ExtendPairs: 101 new pairs from component 5 [ 22.153 I] ExtendPairs: total of 2433 pairs (815 new) [ 22.519] I [progress] matching 48/815 pairs [ 22.774] I [progress] matching 96/815 pairs [ 23.020] I [progress] matching 144/815 pairs [ 23.284] I [progress] matching 192/815 pairs [ 23.594] I [progress] matching 240/815 pairs [ 23.905] I [progress] matching 288/815 pairs [ 24.233] I [progress] matching 336/815 pairs [ 24.495] I [progress] matching 384/815 pairs [ 24.769] I [progress] matching 432/815 pairs [ 25.077] I [progress] matching 480/815 pairs [ 25.340] I [progress] matching 528/815 pairs [ 25.607] I [progress] matching 576/815 pairs [ 25.918] I [progress] matching 624/815 pairs [ 26.258] I [progress] matching 672/815 pairs [ 26.599] I [progress] matching 720/815 pairs [ 26.928] I [progress] matching 768/815 pairs [ 27.231] I [progress] matching 815/815 pairs [ 27.231 I] MatchAT [GPU]: matched 815 new pairs on GPU/unified frontend (5.06s) [ 27.231 I] MatchAT: 263 photos, nb_keys_max 10000, grid 8, reusing 1618 / 2433 desc pairs [GPU matches] (0.00s) [ 27.284 I] [progress] verify 121/2433 pairs [ 27.339 I] [progress] verify 242/2433 pairs [ 27.396 I] [progress] verify 363/2433 pairs [ 27.447 I] [progress] verify 484/2433 pairs [ 27.501 I] [progress] verify 605/2433 pairs [ 27.555 I] [progress] verify 726/2433 pairs [ 27.617 I] [progress] verify 847/2433 pairs [ 27.677 I] [progress] verify 968/2433 pairs [ 27.736 I] [progress] verify 1089/2433 pairs [ 27.796 I] [progress] verify 1210/2433 pairs [ 27.853 I] [progress] verify 1331/2433 pairs [ 27.913 I] [progress] verify 1452/2433 pairs [ 27.975 I] [progress] verify 1573/2433 pairs [ 28.031 I] [progress] verify 1694/2433 pairs [ 28.076 I] [progress] verify 1815/2433 pairs [ 28.131 I] [progress] verify 1936/2433 pairs [ 28.181 I] [progress] verify 2057/2433 pairs [ 28.238 I] [progress] verify 2178/2433 pairs [ 28.292 I] [progress] verify 2299/2433 pairs [ 28.347 I] [progress] verify 2420/2433 pairs [ 28.359 I] [progress] verify 2433/2433 pairs [ 28.359 I] MatchAT: 2411 / 2433 pairs with a relative pose (1.13s) [ 28.430 I] MatchAT [GPU]: 2411 / 2433 pairs verified (6.3s) [ 28.494 I] SmartAT rotations: 263 poses, 2402 pairs (9 rejected by triplets), 2396 used for averaging (0.04s) [ 29.697 I] Refining relative translations: 2388 pairs (1.20s) [ 31.239 I] NumberOfTriplets 7642 NumberOfTripleMatches 1546403 [ 31.242 I] Starting a 22927x2388 Sparse Least Squares with method 3 [ 31.242 I] NZ= 48240 [ 31.250 I] Suite sparse timing: 0.00833106 [ 31.250 I] Starting a 7167x789 Sparse Least Squares with method 3 [ 31.250 I] NZ= 15117 [ 31.251 I] Suite sparse timing: 0.00121117 [ 31.251 I] SmartAT translations: 263 poses, 7642 triplets (2.76s) [ 31.518 I] Reprojection errors before BA: min=0.002 ; median=1.174 ; RMS=2.627 ; max=263.843 (450512 obs, 65183 points) [ 37.307 I] Reprojection errors after BA: min=0.001 ; median=0.665 ; RMS=1.094 ; max=5.759 (431598 obs) [ 37.319 I] #point depth filter: removing 22224 measurements [ 37.325 I] AT (postBA) have 263 poses with 60700 automatic tie points [ 37.326 I] [progress] smart_at 263/263 poses [ 37.342 I] [progress] smart_at 241/2411 pairs [ 37.342 I] [progress] smart_at 482/2411 pairs [ 37.342 I] [progress] smart_at 723/2411 pairs [ 37.342 I] [progress] smart_at 964/2411 pairs [ 37.343 I] [progress] smart_at 1205/2411 pairs [ 37.343 I] [progress] smart_at 1446/2411 pairs [ 37.343 I] [progress] smart_at 1687/2411 pairs [ 37.343 I] [progress] smart_at 1928/2411 pairs [ 37.343 I] [progress] smart_at 2169/2411 pairs [ 37.344 I] [progress] smart_at 2410/2411 pairs [ 37.344 I] [progress] smart_at 2411/2411 pairs [ 37.551 I] MakeTiePoints [GPU-reuse]: 1855166 matches over 2411 pairs, 2397 pairs >= 15 matches, 7703 triplets, 101169 tracks -> valid 78523 / too short 0 / inconsistent 70 / untriangulable 282 / ill-conditioned 22294 (0.2s) [ 37.583 I] AdjustAT: Reprojection errors before BA: median=1.282 RMS=2.052 (627922 obs) [ 37.583 I] [progress] adjust_at 0/4 iters [ 43.503 I] AdjustAT: Reprojection errors after iteration #1: median=0.728 RMS=1.086 sigma=3.077 (593252 obs) [ 43.503 I] [progress] adjust_at 1/4 iters [ 56.359 I] AdjustAT: Reprojection errors after iteration #2: median=0.624 RMS=0.850 sigma=2.000 (546812 obs) [ 56.359 I] [progress] adjust_at 2/4 iters [ 60.321 I] AdjustAT: Reprojection errors after iteration #3: median=0.596 RMS=0.814 sigma=2.000 (541679 obs) [ 60.321 I] [progress] adjust_at 3/4 iters [ 60.536 I] GuidedTrackCompletion: +47807 obs, 1030 merged, +0 2-view pts -> 73005 total points (0.18s) [ 64.616 I] AdjustAT: Reprojection errors after post-Phase-A tight polish: median=0.616 RMS=0.824 sigma=1.000 (587890 obs) [ 64.616 I] [progress] adjust_at 4/4 iters [ 64.653 I] GuidedTrackCompletion: +0 obs, 0 merged, +52825 2-view pts -> 125767 total points (0.02s) [ 64.655 W] Insufficient GPS positions for rigid registration [ 64.655 W] TransformAT: GPS rigid registration failed; estimateSimilarityFromHeuristics [ 64.658 I] TransformAT: heuristic similarity applied (scale 1), positioning Relative [ 64.669 I] AT done: 263 / 263 photos registered, 125767 tie points, GPS registration failed, 64.6s total [ 64.775 I] cc: wrote SfM handoff bundle to /Users/nickp/mr/pgm/out/benchmark/runs/sfm/tat_Ignatius/unified/handoff/sfm (263/263 registered, 125767 tie points) [ 64.789 I] cc: wrote unified metrics report to /Users/nickp/mr/pgm/out/benchmark/runs/sfm/tat_Ignatius/unified/report/metrics.json [ 64.789 I] sfm [sfm]: done: 263/263 registered, 125767 tie points in 64.8s -> /Users/nickp/mr/pgm/out/benchmark/runs/sfm/tat_Ignatius/unified/handoff/sfm