chore: update sparse_ga.py
Browse files
mast3r/cloud_opt/sparse_ga.py
CHANGED
@@ -143,7 +143,7 @@ def sparse_global_alignment(imgs, pairs_in, cache_path, model, subsample=8, desc
|
|
143 |
# min_spanning_tree = {(imgs[i],imgs[j]) for i,j in mst[1]}
|
144 |
# tmp_pairs = {(a,b):v for (a,b),v in tmp_pairs.items() if {(a,b),(b,a)} & min_spanning_tree}
|
145 |
|
146 |
-
# smartly combine all
|
147 |
imsizes, pps, base_focals, core_depth, anchors, corres, corres2d, preds_21 = \
|
148 |
condense_data(imgs, tmp_pairs, canonical_views, preds_21, dtype)
|
149 |
|
|
|
143 |
# min_spanning_tree = {(imgs[i],imgs[j]) for i,j in mst[1]}
|
144 |
# tmp_pairs = {(a,b):v for (a,b),v in tmp_pairs.items() if {(a,b),(b,a)} & min_spanning_tree}
|
145 |
|
146 |
+
# smartly combine all useful data
|
147 |
imsizes, pps, base_focals, core_depth, anchors, corres, corres2d, preds_21 = \
|
148 |
condense_data(imgs, tmp_pairs, canonical_views, preds_21, dtype)
|
149 |
|