'Exception: Child returned 1' (What's wrong?)

Hello!

I’m trying to process some historical imagery of a river from the 1950s (https://drive.google.com/open?id=1n-9-iOoExLRXZ_wr5Mx899LKiKoKAMcc) but can’t get through the task. At first, I was having issues with disk space (I think), so I did a test with only 9 images, which worked successfully. I figured I might be able to process the entire dataset (120 images with a GCP file) through a Lightning node (seeing as my machine seemed to be limiting me), so I’ve made two attempts to do so - both unsuccessfully.

I’m using Google Chrome and WebODM on a 2012 Macbook Pro with 16GB RAM and an SSD.

I had set parameters to be: Options: min-num-features: 10000, orthophoto-resolution: 20, dem-resolution: 50, build-overviews: true, fast-orthophoto: true, skip-3dmodel: true

Note that I’m using 120 images with a GCP file. Each image is 5276 × 3870 pixels. About half of the images have at least one GCP (many of them have more, some of them have no GCP - would it help if I had a GCP for every image?).

The full task output is here: https://drive.google.com/open?id=1CLzLpjUKtmT3fqjAJbVy_NE8UA6ltvzE

This is the error message I’ve got:
.
100 - done.
[INFO] Completed mesh_dsm.tif in 0:31:02.864237
[INFO] Sampling points from DSM: /var/www/data/e84ea3f1-dd49-4825-927f-ef0af867ca84/odm_meshing/tmp/mesh_dsm.tif
[INFO] running /code/SuperBuild/src/dem2points/dem2points -inputFile /var/www/data/e84ea3f1-dd49-4825-927f-ef0af867ca84/odm_meshing/tmp/mesh_dsm.tif -outputFile /var/www/data/e84ea3f1-dd49-4825-927f-ef0af867ca84/odm_meshing/tmp/dsm_points.ply -skirtHeightThreshold 1.5 -skirtIncrements 0.2 -skirtHeightCap 100
[INFO] running /code/SuperBuild/src/PoissonRecon/Bin/Linux/PoissonRecon --in /var/www/data/e84ea3f1-dd49-4825-927f-ef0af867ca84/odm_meshing/tmp/dsm_points.ply --out /var/www/data/e84ea3f1-dd49-4825-927f-ef0af867ca84/odm_meshing/odm_25dmesh.dirty.ply --depth 9 --pointWeight 4 --samplesPerNode 1.0 --threads 8 --linearFit
[INFO] running /code/build/bin/odm_cleanmesh -inputFile /var/www/data/e84ea3f1-dd49-4825-927f-ef0af867ca84/odm_meshing/odm_25dmesh.dirty.ply -outputFile /var/www/data/e84ea3f1-dd49-4825-927f-ef0af867ca84/odm_meshing/odm_25dmesh.ply -removeIslands -decimateMesh 100000
ERROR: In /build/vtk6-YpT4yb/vtk6-6.2.0+dfsg1/IO/PLY/vtkPLYWriter.cxx, line 114
vtkPLYWriter (0x6fce90): No data to write!
[INFO] Finished odm_meshing stage
[INFO] Running mvs_texturing stage
[INFO] Writing MVS Textured file in: /var/www/data/e84ea3f1-dd49-4825-927f-ef0af867ca84/odm_texturing_25d/odm_textured_model.obj
[INFO] running /code/SuperBuild/install/bin/texrecon /var/www/data/e84ea3f1-dd49-4825-927f-ef0af867ca84/opensfm/reconstruction.nvm /var/www/data/e84ea3f1-dd49-4825-927f-ef0af867ca84/odm_meshing/odm_25dmesh.ply /var/www/data/e84ea3f1-dd49-4825-927f-ef0af867ca84/odm_texturing_25d/odm_textured_model -d gmi -o gauss_clamping -t none --nadir_mode -n 65535
/code/SuperBuild/install/bin/texrecon (built on Nov 19 2019, 17:31:20)
Load and prepare mesh:
Could not load mesh: No such file or directory
Traceback (most recent call last):
File “/code/run.py”, line 57, in
app.execute()
File “/code/stages/odm_app.py”, line 92, in execute
self.first_stage.run()
File “/code/opendm/types.py”, line 370, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 370, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 370, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 370, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 370, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 370, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 351, in run
self.process(self.args, outputs)
File “/code/stages/mvstex.py”, line 97, in process
‘-n {nadirWeight}’.format(**kwargs))
File “/code/opendm/system.py”, line 76, in run
raise Exception(“Child returned {}”.format(retcode))
Exception: Child returned 1

Does anyone know what’s going on? This is extremely frustrating!!

This indicates a malformed reconstruction; ODM probably wasn’t able to reconstruct this.

Try enabling --fast-orthophoto and increase --min-num-features.

Thanks, @pierotofy. I’ve been trying alternative runs and will keep increasing the min-num-features. Somehow I made one subset of 9 images to work but can’t get others to work!! Perhaps it is a difference in features.

I’ve been running into this message too with the other runs:
“Warning 1: TIFFReadDirectory:Sum of Photometric type-related color channels and ExtraSamples doesn’t match SamplesPerPixel. Defining non-color channels as ExtraSamples.”

Does anyone know what that’s telling me I need to change?