Hi,
Im currently trying to process some Images but it wont complete with that message:
/usr/local/lib/python3.9/dist-packages/numpy/core/fromnumeric.py:3440: RuntimeWarning: Mean of empty slice.
return _methods._mean(a, axis=axis, dtype=dtype,
/usr/local/lib/python3.9/dist-packages/numpy/core/_methods.py:189: RuntimeWarning: invalid value encountered in double_scalars
ret = ret.dtype.type(ret / rcount)
Traceback (most recent call last):
File "/code/SuperBuild/install/bin/opensfm/bin/opensfm_main.py", line 25, in <module>
commands.command_runner(
File "/code/SuperBuild/install/bin/opensfm/opensfm/commands/command_runner.py", line 37, in command_runner
command.run(data, args)
File "/code/SuperBuild/install/bin/opensfm/opensfm/commands/command.py", line 12, in run
self.run_impl(data, args)
File "/code/SuperBuild/install/bin/opensfm/opensfm/commands/reconstruct.py", line 11, in run_impl
reconstruct.run_dataset(dataset)
File "/code/SuperBuild/install/bin/opensfm/opensfm/actions/reconstruct.py", line 13, in run_dataset
report, reconstructions = reconstruction.incremental_reconstruction(
File "/code/SuperBuild/install/bin/opensfm/opensfm/reconstruction.py", line 1530, in incremental_reconstruction
reconstruction, rec_report["grow"] = grow_reconstruction(
File "/code/SuperBuild/install/bin/opensfm/opensfm/reconstruction.py", line 1387, in grow_reconstruction
remove_outliers(reconstruction, config)
File "/code/SuperBuild/install/bin/opensfm/opensfm/reconstruction.py", line 1114, in remove_outliers
threshold_sqr = get_actual_threshold(config, reconstruction.points) ** 2
File "/code/SuperBuild/install/bin/opensfm/opensfm/reconstruction.py", line 1097, in get_actual_threshold
mean, std = get_error_distribution(points)
File "/code/SuperBuild/install/bin/opensfm/opensfm/reconstruction.py", line 1085, in get_error_distribution
np.linalg.norm(np.array(all_errors) - robust_mean, axis=1)
File "<__array_function__ internals>", line 5, in norm
File "/usr/local/lib/python3.9/dist-packages/numpy/linalg/linalg.py", line 2561, in norm
return sqrt(add.reduce(s, axis=axis, keepdims=keepdims))
numpy.AxisError: axis 1 is out of bounds for array of dimension 1
===== Dumping Info for Geeks (developers need this to fix bugs) =====
Child returned 1
Traceback (most recent call last):
File "/code/stages/odm_app.py", line 94, in execute
self.first_stage.run()
File "/code/opendm/types.py", line 346, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 346, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 346, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 327, in run
self.process(self.args, outputs)
File "/code/stages/run_opensfm.py", line 37, in process
octx.reconstruct(self.rerun())
File "/code/opendm/osfm.py", line 53, in reconstruct
self.run('reconstruct')
File "/code/opendm/osfm.py", line 34, in run
system.run('"%s" %s "%s"' %
File "/code/opendm/system.py", line 106, in run
raise SubprocessException("Child returned {}".format(retcode), retcode)
opendm.system.SubprocessException: Child returned 1
===== Done, human-readable information to follow... =====
[ERROR] Uh oh! Processing stopped because of strange values in the reconstruction. This is often a sign that the input data has some issues or the software cannot deal with it. Have you followed best practices for data acquisition? See https://docs.opendronemap.org/flying/
the flags are: --auto-boundary --orthophoto-resolution 2 --pc-quality high --gps-accuracy 0.02 --force-gps
Im using about 180 GCP references
if needed I can run it again and post the full output.