### How did you install WebODM? (Docker, natively, ...)?
Installed via Docker
…
### What's your browser and operating system? (Copy/paste the output of https://www.whatismybrowser.com/)
FireFox 52 on Windows 7
### What is the problem?
The script gets stuck somewhere in the incremental reconstruction: see below
[DEBUG] running PYTHONPATH=/code/SuperBuild/install/lib/python2.7/dist-packages /code/SuperBuild/src/opensfm/bin/opensfm reconstruct /var/www/data/e082c431-abe7-4916-b623-6a1dd966364d/opensfm
2017-11-20 09:28:39,142 Starting incremental reconstruction
2017-11-20 09:28:39,978 Common tracks: 1090
2017-11-20 09:28:40,045 Two-view reconstruction inliers 1082
2017-11-20 09:28:40,162 Triangulated: 1087
2017-11-20 09:28:40,797 Ceres Solver Report: Iterations: 50, Initial cost: 4.668900e+01, Final cost: 3.994001e+01, Termination: NO_CONVERGENCE
2017-11-20 09:28:40,800 Bundle setup/run/teardown 0.0067720413208/0.379173994064/0.00315690040588
2017-11-20 09:28:40,806 -------------------------------------------------------
2017-11-20 09:28:40,816 20171114-104215_DJI_FC300X_DJI_0014.JPG resection inliers: 552 / 557
2017-11-20 09:28:40,830 Adding 20171114-104215_DJI_FC300X_DJI_0014.JPG to the reconstruction
2017-11-20 09:28:41,784 Ceres Solver Report: Iterations: 50, Initial cost: 6.938895e+01, Final cost: 6.296003e+01, Termination: NO_CONVERGENCE
2017-11-20 09:28:41,790 Bundle setup/run/teardown 0.0141401290894/0.862434864044/0.00559091567993
2017-11-20 09:28:41,791 Removed outliers: 0
2017-11-20 09:28:41,821 -------------------------------------------------------
2017-11-20 09:28:41,837 20171114-104217_DJI_FC300X_DJI_0015.JPG resection inliers: 903 / 929
2017-11-20 09:28:41,869 Adding 20171114-104217_DJI_FC300X_DJI_0015.JPG to the reconstruction
2017-11-20 09:28:42,720 Ceres Solver Report: Iterations: 20, Initial cost: 3.555697e+01, Final cost: 2.318229e+01, Termination: CONVERGENCE
2017-11-20 09:28:42,730 Bundle setup/run/teardown 0.0230720043182/0.731673955917/0.00962901115417
2017-11-20 09:28:42,732 Removed outliers: 1
2017-11-20 09:28:42,756 -------------------------------------------------------
2017-11-20 09:28:42,779 20171114-104218_DJI_FC300X_DJI_0016.JPG resection inliers: 1281 / 1300
2017-11-20 09:28:42,817 Adding 20171114-104218_DJI_FC300X_DJI_0016.JPG to the reconstruction
2017-11-20 09:28:45,590 Bundle setup/run/teardown 0.0382380485535/2.6265809536/0.0145370960236
2017-11-20 09:28:45,594 Removed outliers: 6
2017-11-20 09:28:45,623 -------------------------------------------------------
2017-11-20 09:28:45,656 20171114-104221_DJI_FC300X_DJI_0017.JPG resection inliers: 1842 / 1867
2017-11-20 09:28:45,710 Adding 20171114-104221_DJI_FC300X_DJI_0017.JPG to the reconstruction
2017-11-20 09:28:49,347 Ceres Solver Report: Iterations: 50, Initial cost: 2.677067e+02, Final cost: 2.442471e+02, Termination: NO_CONVERGENCE
2017-11-20 09:28:49,363 Bundle setup/run/teardown 0.0520930290222/3.52778816223/0.0163218975067
2017-11-20 09:28:49,368 Removed outliers: 4
2017-11-20 09:28:49,448 -------------------------------------------------------
2017-11-20 09:28:49,456 20171114-104204_DJI_FC300X_DJI_0009.JPG resection inliers: 401 / 409
2017-11-20 09:28:49,472 Adding 20171114-104204_DJI_FC300X_DJI_0009.JPG to the reconstruction
2017-11-20 09:28:52,495 Bundle setup/run/teardown 0.0779390335083/2.79822397232/0.0207421779633
2017-11-20 09:28:52,502 Removed outliers: 2
2017-11-20 09:28:52,541 -------------------------------------------------------
2017-11-20 09:28:52,557 20171114-104202_DJI_FC300X_DJI_0008.JPG resection inliers: 850 / 854
2017-11-20 09:28:52,607 Adding 20171114-104202_DJI_FC300X_DJI_0008.JPG to the reconstruction
2017-11-20 09:28:57,852 Bundle setup/run/teardown 0.0669989585876/5.01042914391/0.0287230014801
2017-11-20 09:28:57,860 Removed outliers: 2
2017-11-20 09:28:57,910 -------------------------------------------------------
2017-11-20 09:28:57,947 20171114-104201_DJI_FC300X_DJI_0007.JPG resection inliers: 1948 / 1955
2017-11-20 09:28:58,006 Adding 20171114-104201_DJI_FC300X_DJI_0007.JPG to the reconstruction
2017-11-20 09:29:03,113 Bundle setup/run/teardown 0.0940809249878/4.88885498047/0.0341410636902
2017-11-20 09:29:03,122 Removed outliers: 1
2017-11-20 09:29:03,190 -------------------------------------------------------
2017-11-20 09:29:03,211 20171114-104156_DJI_FC300X_DJI_0006.JPG resection inliers: 979 / 1091
2017-11-20 09:29:03,252 Adding 20171114-104156_DJI_FC300X_DJI_0006.JPG to the reconstruction
2017-11-20 09:29:06,190 Bundle setup/run/teardown 0.134706020355/2.68358588219/0.0506761074066
2017-11-20 09:29:06,204 Removed outliers: 3
2017-11-20 09:29:06,301 -------------------------------------------------------
2017-11-20 09:29:06,325 20171114-104154_DJI_FC300X_DJI_0005.JPG resection inliers: 1002 / 1014
2017-11-20 09:29:06,367 Adding 20171114-104154_DJI_FC300X_DJI_0005.JPG to the reconstruction
2017-11-20 09:29:10,575 Bundle setup/run/teardown 0.133820056915/3.9007229805/0.0442090034485
2017-11-20 09:29:10,587 Removed outliers: 4
2017-11-20 09:29:10,683 -------------------------------------------------------
2017-11-20 09:29:10,707 20171114-104145_DJI_FC300X_DJI_0003.JPG resection inliers: 742 / 837
2017-11-20 09:29:10,750 Adding 20171114-104145_DJI_FC300X_DJI_0003.JPG to the reconstruction
2017-11-20 09:29:19,524 Bundle setup/run/teardown 0.165601015091/8.53529787064/0.0442979335785
2017-11-20 09:29:19,534 Removed outliers: 4
2017-11-20 09:29:19,669 -------------------------------------------------------
2017-11-20 09:29:19,680 20171114-104211_DJI_FC300X_DJI_0012.JPG resection inliers: 416 / 442
2017-11-20 09:29:19,708 Adding 20171114-104211_DJI_FC300X_DJI_0012.JPG to the reconstruction
2017-11-20 09:29:32,241 Bundle setup/run/teardown 0.315791845322/12.1591970921/0.0435719490051
2017-11-20 09:29:32,251 Removed outliers: 12
2017-11-20 09:29:32,356 -------------------------------------------------------
2017-11-20 09:29:32,364 20171114-104206_DJI_FC300X_DJI_0010.JPG resection inliers: 347 / 359
2017-11-20 09:29:32,383 Adding 20171114-104206_DJI_FC300X_DJI_0010.JPG to the reconstruction
2017-11-20 09:29:45,732 Bundle setup/run/teardown 0.176887989044/13.1005740166/0.0651059150696
2017-11-20 09:29:45,753 Removed outliers: 6
2017-11-20 09:29:45,882 -------------------------------------------------------
2017-11-20 09:29:45,886 20171114-104151_DJI_FC300X_DJI_0004.JPG resection inliers: 59 / 70
2017-11-20 09:29:45,899 Adding 20171114-104151_DJI_FC300X_DJI_0004.JPG to the reconstruction
2017-11-20 09:30:01,516 Bundle setup/run/teardown 0.218353033066/15.3242278099/0.0703361034393
2017-11-20 09:30:01,536 Removed outliers: 6
2017-11-20 09:30:01,727 -------------------------------------------------------
2017-11-20 09:30:01,731 20171114-104224_DJI_FC300X_DJI_0018.JPG resection inliers: 49 / 61
2017-11-20 09:30:01,744 Adding 20171114-104224_DJI_FC300X_DJI_0018.JPG to the reconstruction
2017-11-20 09:30:19,003 Bundle setup/run/teardown 0.235948801041/16.933106184/0.0736207962036
2017-11-20 09:30:19,023 Removed outliers: 8
2017-11-20 09:30:19,153 -------------------------------------------------------
2017-11-20 09:30:19,159 20171114-104312_DJI_FC300X_DJI_0031.JPG resection inliers: 20 / 32
2017-11-20 09:30:19,166 Adding 20171114-104312_DJI_FC300X_DJI_0031.JPG to the reconstruction
2017-11-20 09:30:31,250 Bundle setup/run/teardown 0.191405057907/11.8432028294/0.0476710796356
2017-11-20 09:30:31,264 Removed outliers: 6
2017-11-20 09:30:31,408 -------------------------------------------------------
2017-11-20 09:30:31,409 20171114-104306_DJI_FC300X_DJI_0028.JPG resection inliers: 4 / 6
2017-11-20 09:30:31,416 Some images can not be added
2017-11-20 09:30:31,417 -------------------------------------------------------
2017-11-20 09:30:44,857 Bundle setup/run/teardown 0.181850194931/13.081884861/0.176079034805
2017-11-20 09:30:46,195 Starting reconstruction with 20171114-104254_DJI_FC300X_DJI_0023.JPG and 20171114-104259_DJI_FC300X_DJI_0025.JPG
2017-11-20 09:30:46,196 Common tracks: 504
2017-11-20 09:30:46,223 Two-view reconstruction inliers 504
2017-11-20 09:30:46,291 Triangulated: 504
2017-11-20 09:30:46,765 Ceres Solver Report: Iterations: 50, Initial cost: 4.322592e+01, Final cost: 4.075228e+01, Termination: NO_CONVERGENCE
2017-11-20 09:30:46,768 Bundle setup/run/teardown 0.00273704528809/0.312144994736/0.0029468536377
2017-11-20 09:30:46,771 -------------------------------------------------------
2017-11-20 09:30:46,776 20171114-104252_DJI_FC300X_DJI_0022.JPG resection inliers: 262 / 263
2017-11-20 09:30:46,805 Adding 20171114-104252_DJI_FC300X_DJI_0022.JPG to the reconstruction
2017-11-20 09:30:47,352 Ceres Solver Report: Iterations: 26, Initial cost: 8.108492e+01, Final cost: 7.195785e+01, Termination: CONVERGENCE
2017-11-20 09:30:47,360 Bundle setup/run/teardown 0.0159938335419/0.441395998001/0.00795817375183
2017-11-20 09:30:47,362 Removed outliers: 1
/code/SuperBuild/src/opensfm/opensfm/align.py:84: RuntimeWarning: invalid value encountered in divide
A /= s
2017-11-20 09:30:47,373 -------------------------------------------------------
/code/SuperBuild/src/opensfm/opensfm/reconstruction.py:587: RuntimeWarning: invalid value encountered in less
inliers = np.linalg.norm(reprojected_bs - bs, axis=1) < threshold
2017-11-20 09:30:47,412 20171114-104302_DJI_FC300X_DJI_0026.JPG resection inliers: 0 / 248
2017-11-20 09:30:47,480 20171114-104240_DJI_FC300X_DJI_0020.JPG resection inliers: 0 / 108
2017-11-20 09:30:47,579 20171114-104236_DJI_FC300X_DJI_0019.JPG resection inliers: 0 / 25
2017-11-20 09:30:47,587 Some images can not be added
2017-11-20 09:30:47,588 -------------------------------------------------------
2017-11-20 09:30:47,624 Ceres Solver Report: Iterations: -2, Initial cost: -1.000000e+00, Final cost: -1.000000e+00, Termination: FAILURE
2017-11-20 09:30:47,635 Bundle setup/run/teardown 0.0303871631622/0.00586891174316/0.0102889537811
Traceback (most recent call last):
File "/code/SuperBuild/src/opensfm/bin/opensfm", line 34, in <module>
command.run(args)
File "/code/SuperBuild/src/opensfm/opensfm/commands/reconstruct.py", line 20, in run
reconstruction.incremental_reconstruction(data)
File "/code/SuperBuild/src/opensfm/opensfm/reconstruction.py", line 923, in incremental_reconstruction
data, graph, reconstruction, remaining_images, gcp)
File "/code/SuperBuild/src/opensfm/opensfm/reconstruction.py", line 895, in grow_reconstruction
align.align_reconstruction(reconstruction, gcp, data.config)
File "/code/SuperBuild/src/opensfm/opensfm/align.py", line 14, in align_reconstruction
res = align_reconstruction_similarity(reconstruction, gcp, config)
File "/code/SuperBuild/src/opensfm/opensfm/align.py", line 56, in align_reconstruction_similarity
return align_reconstruction_naive_similarity(reconstruction, gcp)
File "/code/SuperBuild/src/opensfm/opensfm/align.py", line 80, in align_reconstruction_naive_similarity
T = tf.superimposition_matrix(X.T, Xp.T, scale=True)
File "/code/SuperBuild/src/opensfm/opensfm/transformations.py", line 1041, in superimposition_matrix
scale=scale, usesvd=usesvd)
File "/code/SuperBuild/src/opensfm/opensfm/transformations.py", line 954, in affine_matrix_from_points
u, s, vh = numpy.linalg.svd(numpy.dot(v1, v0.T))
File "/usr/lib/python2.7/dist-packages/numpy/linalg/linalg.py", line 1359, in svd
u, s, vt = gufunc(a, signature=signature, extobj=extobj)
File "/usr/lib/python2.7/dist-packages/numpy/linalg/linalg.py", line 99, in _raise_linalgerror_svd_nonconvergence
raise LinAlgError("SVD did not converge")
numpy.linalg.linalg.LinAlgError: SVD did not converge
Traceback (most recent call last):
File "/code/run.py", line 47, in <module>
plasm.execute(niter=1)
File "/code/scripts/opensfm.py", line 115, in process
(context.pyopencv_path, context.opensfm_path, tree.opensfm))
File "/code/opendm/system.py", line 34, in run
raise Exception("Child returned {}".format(retcode))
Exception: Child returned 1
### What should be the expected behavior?
No error during process and complete job. Earlier experiments did work.
### How can we reproduce this? (What steps did you do to trigger the problem? What parameters are you using for processing? If possible please include a copy of your dataset uploaded on Google Drive or Dropbox. Be detailed)
I uploaded 35 figures made from an indoor drone flight (camera: dji fc300x | dimensions: 4000 x 3000 | focal: 3.61 | ccd: 6.2 | lat: 0.0 | lon: 0.0 | alt: -95.131) and used default options. I varied with min-num-features up tot 10000 and enabling/disabling use-pmvs option. Besides that I increased the memory of the virtual machine up to 4898 MB, and CPUs with 1 and 2. I also varied with the number of photos, but all have the same error message.Finally I also added GCP info to see if that makes a change, but it didn't. There were still some waterbodies on the ground, could the reflection of light in these waterbodies trigger the error?