Skip to content

Commit

Permalink
reformat python black
Browse files Browse the repository at this point in the history
  • Loading branch information
senselessdev1 committed Dec 3, 2023
1 parent 6ae33ae commit c0a14a7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gtsfm/visualization/view_scene_tanks_and_temples.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ def view_scene(args: argparse.Namespace) -> None:
i2 = 4

synthetic_generator = SyntheticCorrespondenceGenerator(args.data_root, args.scene_name)
images = [loader.get_image_full_res(index=i) for i in range(i2+1)]
images = [loader.get_image_full_res(index=i) for i in range(i2 + 1)]
keypoints_list, corr_idx_dict = synthetic_generator.generate_correspondences(
client=client,
images=images,
image_pairs=[[i1,i2]],
image_pairs=[[i1, i2]],
num_sampled_3d_points=500,
)

Expand All @@ -123,11 +123,11 @@ def view_scene(args: argparse.Namespace) -> None:
images[i2],
keypoints_list[i1],
keypoints_list[i2],
corr_idx_dict[(i1,i2)],
inlier_mask=np.ones(len(corr_idx_dict[(i1,i2)]), dtype=bool)
corr_idx_dict[(i1, i2)],
inlier_mask=np.ones(len(corr_idx_dict[(i1, i2)]), dtype=bool),
)
plt.imshow(plot_img.value_array)
plt.axis('off')
plt.axis("off")
plt.show()


Expand Down

0 comments on commit c0a14a7

Please sign in to comment.