mapillary / OpenSfM

Open source Structure-from-Motion pipeline
https://www.opensfm.org/
BSD 2-Clause "Simplified" License
3.42k stars 861 forks source link

[bug] navigation_graph #652

Open tomasparks opened 4 years ago

tomasparks commented 4 years ago

When I run navigation_graph on a dataset I get

/home/opensfm/OpenSfM/bin/navigation_graph /home/opensfm/data/berlin/

Traceback (most recent call last): File "/home/opensfm/OpenSfM/bin/navigation_graph", line 299, in rec_graph = create_optical_center_graph(recs, data.config) File "/home/opensfm/OpenSfM/bin/navigation_graph", line 147, in create_optical_center_graph optical_centers = np.vstack(optical_centers) File "<__array_function__ internals>", line 5, in vstack File "/usr/lib/python3/dist-packages/numpy/core/shape_base.py", line 282, in vstack return _nx.concatenate(arrs, 0) File "<__array_function__ internals>", line 5, in concatenate ValueError: need at least one array to concatenate

YanNoun commented 3 years ago

Hi @tomasparks , indeed, it looks like a bug, we're going to address it, thank you for reporting.

jonasdlindner commented 2 years ago

Script was removed here https://github.com/mapillary/OpenSfM/commit/d2f24ed8fb0971dc8b37408f2be1daa94809eec5