eltociear commited on
Commit
9d66e70
1 Parent(s): 6d6d485

chore: update sparse_ga.py

Browse files
Files changed (1) hide show
  1. mast3r/cloud_opt/sparse_ga.py +1 -1
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 usefull 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
 
 
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