OpenSfM icon indicating copy to clipboard operation
OpenSfM copied to clipboard

Error in executing plot_inliers

Open mac516 opened this issue 4 years ago • 1 comments

Hello

I have error in executing plot_inliers. Error message is follow:

Plotting tracks for image00293.jpg - image00296.jpg... Traceback (most recent call last): File "/source/OpenSfM/bin/plot_inliers", line 968, in create_tracks_figure(image1, image2, ds, save, single) plot_bootstrapped_reconstruction(fw, ip, 4, p1, p2, robust_tracks, linked_tracks, graph, data) File "/source/OpenSfM/bin/plot_inliers", line 589, in plot_bootstrapped_reconstruction reconstruction, _, _ = reconstruct.bootstrap_reconstruction(data, graph, ip.im1, ip.im2, pm1, pm2) TypeError: bootstrap_reconstruction() missing 1 required positional argument: 'p2'

The function "bootstrap_reconstruction" in reconstruction.py needs 7 parameters. However, the function "reconstruct.bootstrap_reconstruction" in plot_inliers call with 6 parameters.

Is this bug?

mac516 avatar Apr 22 '20 02:04 mac516

Hi @mac516 , yes, it is a bug that we're going to address. Thank you for reporting.

YanNoun avatar Mar 15 '21 10:03 YanNoun