Error "Cannot determine image format"

Hello everyone, could you help me??

I’m running the next command in a t2.large AWS instance:

docker run -ti --rm -v $(pwd):/datasets/code opendronemap/odm --project-path /datasets

but I get an error, this is the output of the command:

e[39m[INFO] Initializing OpenDroneMap app - Wed Oct 30 16:50:11 2019e[0m
e[39m[INFO] ==============e[0m
e[39m[INFO] build_overviews: Falsee[0m
e[39m[INFO] camera_lens: autoe[0m
e[39m[INFO] cameras: {}e[0m
e[39m[INFO] crop: 3e[0m
e[39m[INFO] debug: Falsee[0m
e[39m[INFO] dem_decimation: 1e[0m
e[39m[INFO] dem_euclidean_map: Falsee[0m
e[39m[INFO] dem_gapfill_steps: 3e[0m
e[39m[INFO] dem_resolution: 5e[0m
e[39m[INFO] depthmap_resolution: 640e[0m
e[39m[INFO] dsm: Falsee[0m
e[39m[INFO] dtm: Falsee[0m
e[39m[INFO] end_with: odm_orthophotoe[0m
e[39m[INFO] fast_orthophoto: Falsee[0m
e[39m[INFO] force_gps: Falsee[0m
e[39m[INFO] gcp: Nonee[0m
e[39m[INFO] ignore_gsd: Falsee[0m
e[39m[INFO] matcher_distance: 0e[0m
e[39m[INFO] matcher_neighbors: 8e[0m
e[39m[INFO] max_concurrency: 2e[0m
e[39m[INFO] merge: alle[0m
e[39m[INFO] mesh_octree_depth: 9e[0m
e[39m[INFO] mesh_point_weight: 4e[0m
e[39m[INFO] mesh_samples: 1.0e[0m
e[39m[INFO] mesh_size: 100000e[0m
e[39m[INFO] min_num_features: 8000e[0m
e[39m[INFO] mve_confidence: 0.6e[0m
e[39m[INFO] name: codee[0m
e[39m[INFO] opensfm_depthmap_method: PATCH_MATCHe[0m
e[39m[INFO] opensfm_depthmap_min_consistent_views: 3e[0m
e[39m[INFO] opensfm_depthmap_min_patch_sd: 1e[0m
e[39m[INFO] orthophoto_compression: DEFLATEe[0m
e[39m[INFO] orthophoto_cutline: Falsee[0m
e[39m[INFO] orthophoto_no_tiled: Falsee[0m
e[39m[INFO] orthophoto_resolution: 5e[0m
e[39m[INFO] pc_classify: Falsee[0m
e[39m[INFO] pc_csv: Falsee[0m
e[39m[INFO] pc_ept: Falsee[0m
e[39m[INFO] pc_filter: 2.5e[0m
e[39m[INFO] pc_las: Falsee[0m
e[39m[INFO] project_path: /datasetse[0m
e[39m[INFO] rerun: Nonee[0m
e[39m[INFO] rerun_all: Falsee[0m
e[39m[INFO] rerun_from: Nonee[0m
e[39m[INFO] resize_to: 2048e[0m
e[39m[INFO] skip_3dmodel: Falsee[0m
e[39m[INFO] sm_cluster: Nonee[0m
e[39m[INFO] smrf_scalar: 1.25e[0m
e[39m[INFO] smrf_slope: 0.15e[0m
e[39m[INFO] smrf_threshold: 0.5e[0m
e[39m[INFO] smrf_window: 18.0e[0m
e[39m[INFO] split: 999999e[0m
e[39m[INFO] split_overlap: 150e[0m
e[39m[INFO] texturing_data_term: gmie[0m
e[39m[INFO] texturing_keep_unseen_faces: Falsee[0m
e[39m[INFO] texturing_nadir_weight: 16e[0m
e[39m[INFO] texturing_outlier_removal_type: gauss_clampinge[0m
e[39m[INFO] texturing_skip_global_seam_leveling: Falsee[0m
e[39m[INFO] texturing_skip_hole_filling: Falsee[0m
e[39m[INFO] texturing_skip_local_seam_leveling: Falsee[0m
e[39m[INFO] texturing_skip_visibility_test: Falsee[0m
e[39m[INFO] texturing_tone_mapping: nonee[0m
e[39m[INFO] time: Falsee[0m
e[39m[INFO] use_3dmesh: Falsee[0m
e[39m[INFO] use_exif: Falsee[0m
e[39m[INFO] use_fixed_camera_params: Falsee[0m
e[39m[INFO] use_hybrid_bundle_adjustment: Falsee[0m
e[39m[INFO] use_opensfm_dense: Falsee[0m
e[39m[INFO] verbose: Falsee[0m
e[39m[INFO] ==============e[0m
e[39m[INFO] Running dataset stagee[0m
e[39m[INFO] Loading dataset from: /datasets/code/imagese[0m
e[39m[INFO] Loading images database: /datasets/code/images.jsone[0m
e[39m[INFO] Found 696 usable imagese[0m
e[39m[INFO] Coordinates file already exist: /datasets/code/odm_georeferencing/coords.txte[0m
e[39m[INFO] Parsing SRS header: WGS84 UTM 14Ne[0m
e[39m[INFO] Finished dataset stagee[0m
e[39m[INFO] Running split stagee[0m
e[39m[INFO] Normal dataset, will process all at once.e[0m
e[39m[INFO] Finished split stagee[0m
e[39m[INFO] Running merge stagee[0m
e[39m[INFO] Normal dataset, nothing to merge.e[0m
e[39m[INFO] Finished merge stagee[0m
e[39m[INFO] Running opensfm stagee[0m
e[93m[WARNING] /datasets/code/opensfm/image_list.txt already exists, not rerunning OpenSfM setupe[0m
e[93m[WARNING] Detect features already done: /datasets/code/opensfm/features existse[0m
e[93m[WARNING] Match features already done: /datasets/code/opensfm/matches existse[0m
e[93m[WARNING] Found a valid OpenSfM tracks file in: /datasets/code/opensfm/tracks.csve[0m
e[93m[WARNING] Found a valid OpenSfM reconstruction file in: /datasets/code/opensfm/reconstruction.jsone[0m
e[39m[INFO] Already extracted camerase[0m
e[93m[WARNING] Found an undistorted directory in /datasets/code/opensfm/undistortede[0m
e[93m[WARNING] Found a valid OpenSfM NVM reconstruction file in: /datasets/code/opensfm/reconstruction.nvme[0m
e[93m[WARNING] Will skip exporting /datasets/code/opensfm/geocoords_transformation.txte[0m
e[39m[INFO] Finished opensfm stagee[0m
e[39m[INFO] Running mve stagee[0m
e[93m[WARNING] Found a valid MVE reconstruction file in: /datasets/code/mve/mve_dense_point_cloud.plye[0m
e[39m[INFO] Finished mve stagee[0m
e[39m[INFO] Running odm_filterpoints stagee[0m
e[93m[WARNING] Found a valid point cloud file in: /datasets/code/odm_filterpoints/point_cloud.plye[0m
e[39m[INFO] Finished odm_filterpoints stagee[0m
e[39m[INFO] Running odm_meshing stagee[0m
e[93m[WARNING] Found a valid ODM Mesh file in: /datasets/code/odm_meshing/odm_mesh.plye[0m
e[93m[WARNING] Found a valid ODM 2.5D Mesh file in: /datasets/code/odm_meshing/odm_25dmesh.plye[0m
e[39m[INFO] Finished odm_meshing stagee[0m
e[39m[INFO] Running mvs_texturing stagee[0m
e[39m[INFO] Writing MVS Textured file in: /datasets/code/odm_texturing/odm_textured_model.obje[0m
e[39m[INFO] Removing old tmp directory /datasets/code/odm_texturing/tmpe[0m
e[39m[INFO] running /code/SuperBuild/install/bin/texrecon /datasets/code/opensfm/reconstruction.nvm /datasets/code/odm_meshing/odm_mesh.ply /datasets/code/odm_texturing/odm_textured_model -d gmi -o gauss_clamping -t none -n 65535e[0m
/code/SuperBuild/install/bin/texrecon (built on Oct 18 2019, 23:32:28)
Load and prepare mesh:
PLY Loader: comment VTK generated PLY File
Reading PLY: 100012 verts… 199864 faces… done.
Generating texture views:
NVM: Loading file…
NVM: Number of views: 539
NVM: Number of features: 0
terminate called after throwing an instance of ‘util::Exception’
what(): /datasets/code/opensfm/: Cannot determine image format
Aborted (core dumped)
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 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 134

thank you for your help

8 GB of RAM is too little for 500 images on the texture step. You ran out of memory, I am afraid. You’ll need to use a higher memory instance. Good luck!

Hello, thank you for your response

I ran the next command on an instance with 32G of RAM and 8 CPU’s and it broke in the same stage but with a different error.

this is the output:

e[39m[INFO] Initializing OpenDroneMap app - Fri Nov 01 18:35:46 2019e[0m
e[39m[INFO] ==============e[0m
e[39m[INFO] build_overviews: Falsee[0m
e[39m[INFO] cameras: {}e[0m
e[39m[INFO] crop: 3e[0m
e[39m[INFO] debug: Falsee[0m
e[39m[INFO] dem_decimation: 1e[0m
e[39m[INFO] dem_euclidean_map: Falsee[0m
e[39m[INFO] dem_gapfill_steps: 3e[0m
e[39m[INFO] dem_resolution: 5e[0m
e[39m[INFO] depthmap_resolution: 640e[0m
e[39m[INFO] dsm: Falsee[0m
e[39m[INFO] dtm: Falsee[0m
e[39m[INFO] end_with: odm_orthophotoe[0m
e[39m[INFO] fast_orthophoto: Falsee[0m
e[39m[INFO] force_gps: Falsee[0m
e[39m[INFO] gcp: Nonee[0m
e[39m[INFO] ignore_gsd: Falsee[0m
e[39m[INFO] matcher_distance: 0e[0m
e[39m[INFO] matcher_neighbors: 8e[0m
e[39m[INFO] max_concurrency: 8e[0m
e[39m[INFO] merge: alle[0m
e[39m[INFO] mesh_octree_depth: 9e[0m
e[39m[INFO] mesh_point_weight: 4e[0m
e[39m[INFO] mesh_samples: 1.0e[0m
e[39m[INFO] mesh_size: 100000e[0m
e[39m[INFO] min_num_features: 8000e[0m
e[39m[INFO] mve_confidence: 0.6e[0m
e[39m[INFO] name: codee[0m
e[39m[INFO] opensfm_depthmap_method: PATCH_MATCHe[0m
e[39m[INFO] opensfm_depthmap_min_consistent_views: 3e[0m
e[39m[INFO] opensfm_depthmap_min_patch_sd: 1e[0m
e[39m[INFO] orthophoto_bigtiff: IF_SAFERe[0m
e[39m[INFO] orthophoto_compression: DEFLATEe[0m
e[39m[INFO] orthophoto_cutline: Falsee[0m
e[39m[INFO] orthophoto_no_tiled: Falsee[0m
e[39m[INFO] orthophoto_resolution: 5e[0m
e[39m[INFO] pc_classify: Falsee[0m
e[39m[INFO] pc_csv: Falsee[0m
e[39m[INFO] pc_ept: Falsee[0m
e[39m[INFO] pc_filter: 2.5e[0m
e[39m[INFO] pc_las: Falsee[0m
e[39m[INFO] project_path: /datasetse[0m
e[39m[INFO] rerun: Nonee[0m
e[39m[INFO] rerun_all: Falsee[0m
e[39m[INFO] rerun_from: Nonee[0m
e[39m[INFO] resize_to: 2048e[0m
e[39m[INFO] skip_3dmodel: Falsee[0m
e[39m[INFO] sm_cluster: Nonee[0m
e[39m[INFO] smrf_scalar: 1.25e[0m
e[39m[INFO] smrf_slope: 0.15e[0m
e[39m[INFO] smrf_threshold: 0.5e[0m
e[39m[INFO] smrf_window: 18.0e[0m
e[39m[INFO] split: 999999e[0m
e[39m[INFO] split_overlap: 150e[0m
e[39m[INFO] texturing_data_term: gmie[0m
e[39m[INFO] texturing_keep_unseen_faces: Falsee[0m
e[39m[INFO] texturing_nadir_weight: 16e[0m
e[39m[INFO] texturing_outlier_removal_type: gauss_clampinge[0m
e[39m[INFO] texturing_skip_global_seam_leveling: Falsee[0m
e[39m[INFO] texturing_skip_hole_filling: Falsee[0m
e[39m[INFO] texturing_skip_local_seam_leveling: Falsee[0m
e[39m[INFO] texturing_skip_visibility_test: Falsee[0m
e[39m[INFO] texturing_tone_mapping: nonee[0m
e[39m[INFO] time: Falsee[0m
e[39m[INFO] use_3dmesh: Falsee[0m
e[39m[INFO] use_exif: Falsee[0m
e[39m[INFO] use_fixed_camera_params: Falsee[0m
e[39m[INFO] use_hybrid_bundle_adjustment: Falsee[0m
e[39m[INFO] use_opensfm_dense: Falsee[0m
e[39m[INFO] verbose: Falsee[0m
e[39m[INFO] ==============e[0m
e[39m[INFO] Running dataset stagee[0m
e[39m[INFO] Loading dataset from: /datasets/code/imagese[0m
e[39m[INFO] Loading images database: /datasets/code/images.jsone[0m
e[39m[INFO] Found 696 usable imagese[0m
e[39m[INFO] Coordinates file already exist: /datasets/code/odm_georeferencing/coords.txte[0m
e[39m[INFO] Parsing SRS header: WGS84 UTM 14Ne[0m
e[39m[INFO] Finished dataset stagee[0m
e[39m[INFO] Running split stagee[0m
e[39m[INFO] Normal dataset, will process all at once.e[0m
e[39m[INFO] Finished split stagee[0m
e[39m[INFO] Running merge stagee[0m
e[39m[INFO] Normal dataset, nothing to merge.e[0m
e[39m[INFO] Finished merge stagee[0m
e[39m[INFO] Running opensfm stagee[0m
e[93m[WARNING] /datasets/code/opensfm/image_list.txt already exists, not rerunning OpenSfM setupe[0m
e[93m[WARNING] Detect features already done: /datasets/code/opensfm/features existse[0m
e[93m[WARNING] Match features already done: /datasets/code/opensfm/matches existse[0m
e[93m[WARNING] Found a valid OpenSfM tracks file in: /datasets/code/opensfm/tracks.csve[0m
e[93m[WARNING] Found a valid OpenSfM reconstruction file in: /datasets/code/opensfm/reconstruction.jsone[0m
e[39m[INFO] Already extracted camerase[0m
e[93m[WARNING] Found an undistorted directory in /datasets/code/opensfm/undistortede[0m
e[93m[WARNING] Found a valid OpenSfM NVM reconstruction file in: /datasets/code/opensfm/reconstruction.nvme[0m
e[93m[WARNING] Found a valid Bundler file in: /datasets/code/opensfm/list_r000.oute[0m
e[93m[WARNING] Will skip exporting /datasets/code/opensfm/geocoords_transformation.txte[0m
e[39m[INFO] Finished opensfm stagee[0m
e[39m[INFO] Running mve stagee[0m
e[93m[WARNING] Found a valid MVE reconstruction file in: /datasets/code/mve/mve_dense_point_cloud.plye[0m
e[39m[INFO] Finished mve stagee[0m
e[39m[INFO] Running odm_filterpoints stagee[0m
e[93m[WARNING] Found a valid point cloud file in: /datasets/code/odm_filterpoints/point_cloud.plye[0m
e[39m[INFO] Finished odm_filterpoints stagee[0m
e[39m[INFO] Running odm_meshing stagee[0m
e[93m[WARNING] Found a valid ODM Mesh file in: /datasets/code/odm_meshing/odm_mesh.plye[0m
e[93m[WARNING] Found a valid ODM 2.5D Mesh file in: /datasets/code/odm_meshing/odm_25dmesh.plye[0m
e[39m[INFO] Finished odm_meshing stagee[0m
e[39m[INFO] Running mvs_texturing stagee[0m
e[39m[INFO] Writing MVS Textured file in: /datasets/code/odm_texturing/odm_textured_model.obje[0m
e[39m[INFO] Removing old tmp directory /datasets/code/odm_texturing/tmpe[0m
e[39m[INFO] running /code/SuperBuild/install/bin/texrecon /datasets/code/opensfm/reconstruction.nvm /datasets/code/odm_meshing/odm_mesh.ply /datasets/code/odm_texturing/odm_textured_model -d gmi -o gauss_clamping -t none -n 65535e[0m
/code/SuperBuild/install/bin/texrecon (built on Aug 13 2019, 21:43:57)
Load and prepare mesh:
PLY Loader: comment VTK generated PLY File
Reading PLY: 100002 verts… 199846 faces… done.
Warning: Zero-length normals detected: 8 face normals, 0 vertex normals
Generating texture views:
NVM: Loading file…
NVM: Number of views: 538
NVM: Number of features: 0
terminate called after throwing an instance of ‘util::Exception’
terminate called recursively
terminate called recursively
terminate called recursively
terminate called recursively
Aborted (core dumped)
Traceback (most recent call last):
File “/code/run.py”, line 56, in
app.execute()
File “/code/stages/odm_app.py”, line 92, in execute
self.first_stage.run()
File “/code/opendm/types.py”, line 373, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 373, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 373, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 373, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 373, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 373, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 373, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 354, 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 134

This was the command:

docker run -ti --rm -v $(pwd):/datasets/code opendronemap/odm:0.8.2 --project-path /datasets

Try to run with the latest version, not 0.8.2?

opendronemap/odm:latest

I tried to run with the latest version but this was the output

2019-11-01 22:08:02,050 DEBUG: STREAM ‘IDAT’ 41 8192
2019-11-01 22:08:02,050 DEBUG: STREAM ‘IHDR’ 16 13
2019-11-01 22:08:02,051 DEBUG: STREAM ‘IDAT’ 41 8192
2019-11-01 22:08:02,051 DEBUG: STREAM ‘IHDR’ 16 13
2019-11-01 22:08:02,051 DEBUG: STREAM ‘IDAT’ 41 8192
2019-11-01 22:08:02,051 DEBUG: STREAM ‘IHDR’ 16 13
2019-11-01 22:08:02,052 DEBUG: STREAM ‘IDAT’ 41 8192
2019-11-01 22:08:02,052 DEBUG: STREAM ‘IHDR’ 16 13
2019-11-01 22:08:02,052 DEBUG: STREAM ‘IDAT’ 41 8192
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm export_geocoords --transformation --proj ‘+proj=utm +zone=14 +datum=WGS84 +units=m +no_defs +type=crs’ “/datasets/code/opensfm”
[INFO] Finished opensfm stage
[INFO] Running mve stage
[INFO] running /code/SuperBuild/src/elibs/mve/apps/makescene/makescene “/datasets/code/opensfm/reconstruction.nvm” “/datasets/code/mve”
MVE Makescene (built on Nov 1 2019, 04:32:51)
Info: Detected VisualSFM bundle format.
NVM: Loading file…
NVM: Number of views: 534
NVM: Number of features: 0
Creating output directories…
Writing MVE views…
Error loading: /datasets/code/opensfm/ (skipping view_0007.mve)
Error loading: /datasets/code/opensfm/undistorted/DJI_0136 (skipping view_0005.mve)Error loading:
/datasets/code/opensfm/Error loading: /datasets/code/opensfm/ (skipping view_0009.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0010.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0011.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0012.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0013.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0014.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0015.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0006.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0017.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0016.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0019.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0020.mve)
(skipping Error loading: /datasets/code/opensfm/ (skipping view_0021.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0018.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0022.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0023.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0024.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0025.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0026.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0027.mve)
Error loading: /datasets/code/opensfm/ (skipping view_0028.mve)

Error loading: /datasets/code/opensfm/ (skipping view_0057.mve)
Writing MVE view: view_0002.mve…
Writing MVE view: view_0001.mve…
Writing MVE view: view_0003.mve…
Writing MVE view: view_0004.mve…
Writing MVE view: view_0000.mve…
Writing bundle file…
Writing bundle (534 cameras, 0 features): /datasets/code/mve/synth_0.out…

Done importing NVM file!
[INFO]
[INFO] ,/**
[INFO] ,
@%/@%
[INFO] ,/@%@&.
[INFO] ,
@&/@&
[INFO] ,
@&
@&*
[INFO] ,/@&
@&.
[INFO] ,
@&/@&
[INFO] ,
@&
@&
.
[INFO] ,/@&&&,
[INFO] ,
&&
@&.
[INFO] ,@&**************************************@&.
[INFO] ,@&#@@@@@@@@@%&&,
[INFO] .
&&&@@@@@@@@@@@@@@@@.
[INFO] .@&&@@@@@@@@@@@@@@@@@%(@@%@@.
[INFO] .
@@%@@@@@@@@@@@@@@@@@@@@@#&@@@@%&@,
[INFO] .
&@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/*****@@.
[INFO] .@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%@@.
[INFO] .
@@/@@@@@&(@@@@@@@@@@@@@@@@@@@@@@@#********%@,
[INFO] /@
@#@@@@%/@@@@@@@@@@@@@@@@@@@@********************/@(,
[INFO] ,
@(&@@@@@@#****/@@@@@@@#(@@&/
@&
[INFO] #@/
@@@@@&@&&@,
[INFO] #@#
**********&@@@@#&@,
[INFO] */@#
@@@***********@@.
[INFO] #@//@@/%@,
[INFO] *#@#
#@@%%@,
[INFO] /@#
(@@@@@@@&%/
&@
.
[INFO] (@(/%@@%%@,
[INFO] (@%%@
[INFO] @%
&@
,
[INFO] (@(
%@/

[INFO] ,(@%#@/
[INFO] ,
@%
&@/,
[INFO] /@#
#@/

[INFO] ,/@&#@/
[INFO] ,
@&
%@/,
[INFO] /@#
(@/

[INFO] ,/@@@@(

[INFO] .
,
[INFO]
[INFO] Running dense reconstruction. This might take a while. Please be patient, the process is not dead or hung. [4/1935]
[INFO] Process is running
[INFO] running /code/SuperBuild/src/elibs/mve/apps/dmrecon/dmrecon -s4 --progress=silent --local-neighbors=2 “/datasets/code/mve”
MVE Depth Map Reconstruction (built on Nov 1 2019, 04:32:48)
Initializing scene with 5 views…
Initialized 5 views (max ID is 4), took 1ms.
Reading Photosynther file (534 cameras, 0 features)…
Reconstructing all views…
Global View Selection failed
Global View Selection failed
Global View Selection failed
Global View Selection failed
Global View Selection failed
Reconstruction took 6411ms.
Saving views back to disc…
Saving views to MVE files… done.
[INFO] running /code/SuperBuild/src/elibs/mve/apps/scene2pset/scene2pset -F4 “/datasets/code/mve” “/datasets/code/mve/mve_dense_point_cloud.ply”
MVE Scene to Pointset (built on Nov 1 2019, 04:32:59)
Using depthmap “depth-L4” and color image “undist-L4”
Initializing scene with 5 views…
Initialized 5 views (max ID is 4), took 0ms.
Writing final point set (0 points)…
Writing PLY file (0 verts, with colors, with normals, with confidences, with values, 0 faces)… done.
[INFO] running /code/SuperBuild/src/elibs/mve/apps/meshclean/meshclean -t0.6 --no-clean --component-size=0 “/datasets/code/mve/mve_dense_point_cloud.ply” “/datasets/code/mve/mve_dense_poi$
t_cloud.filtered.ply”
MVE FSSR Mesh Cleaning (built on Nov 1 2019, 04:33:20)
Loading mesh: /datasets/code/mve/mve_dense_point_cloud.ply
PLY Loader: comment Export generated by libmve
Reading PLY: 0 verts… done.
Error: Mesh is empty!
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 351, in run
self.process(self.args, outputs)
File “/code/stages/mve.py”, line 124, in process
system.run(’%s -t%s --no-clean --component-size=0 “%s” “%s”’ % (context.meshclean_path, min(1.0, args.mve_confidence), tree.mve_model, mve_filtered_model), env_vars={‘OMP_NUM_THREADS’: a$
gs.max_concurrency})
File “/code/opendm/system.py”, line 76, in run
raise Exception(“Child returned {}”.format(retcode))
Exception: Child returned 1

Mm, does it work if you use --use-opensfm-dense?

with the option --use-opensfm-dense this is the last part of the output…

2019-11-03 05:51:12,150 INFO: Pruning depthmap for image DJI_0277.JPG [49/1805]
2019-11-03 05:51:12,464 INFO: Pruning depthmap for image DJI_0210.JPG
2019-11-03 05:51:14,464 INFO: Pruning depthmap for image DJI_0582.JPG
2019-11-03 05:51:15,841 INFO: Pruning depthmap for image DJI_0560.JPG
2019-11-03 05:51:16,817 INFO: Pruning depthmap for image DJI_0236.JPG
2019-11-03 05:51:21,579 INFO: Pruning depthmap for image DJI_0121 (2).JPG
2019-11-03 05:51:29,516 INFO: Pruning depthmap for image DJI_0241.JPG
2019-11-03 05:52:03,626 INFO: Merging depthmaps
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm export_geocoords --transformation --proj ‘+proj=utm +zone=14 +datum=WGS84 +units=m +no_defs +type=crs’ “/datasets/code/opensfm”
[INFO] Finished opensfm stage
[INFO] Running odm_filterpoints stage
[INFO] Filtering point cloud (statistical, meanK 16, standard deviation 2.5)
[INFO] running /code/build/bin/odm_filterpoints -inputFile /datasets/code/opensfm/depthmaps/merged.ply -outputFile /datasets/code/odm_filterpoints/point_cloud.ply -sd 2.5 -meank 16 -sample
0
[INFO] Finished odm_filterpoints stage
[INFO] Running odm_meshing stage
[INFO] Writing ODM Mesh file in: /datasets/code/odm_meshing/odm_mesh.ply
[INFO] running /code/SuperBuild/src/PoissonRecon/Bin/Linux/PoissonRecon --in /datasets/code/odm_filterpoints/point_cloud.ply --out /datasets/code/odm_meshing/odm_mesh.dirty.ply --depth 9 -
-pointWeight 4 --samplesPerNode 1.0 --threads 7 --linearFit
[INFO] running /code/build/bin/odm_cleanmesh -inputFile /datasets/code/odm_meshing/odm_mesh.dirty.ply -outputFile /datasets/code/odm_meshing/odm_mesh.ply -removeIslands -decimateMesh 10000
0
[INFO] Writing ODM 2.5D Mesh file in: /datasets/code/odm_meshing/odm_25dmesh.ply
[WARNING] Maximum resolution set to GSD - 10.0% (6.38 cm / pixel, requested resolution was 5.0 cm / pixel)
[INFO] ODM 2.5D DSM resolution: 0.452297799212752
[INFO] Created temporary directory: /datasets/code/odm_meshing/tmp
[INFO] Creating DSM for 2.5D mesh
[INFO] running pdal info /datasets/code/odm_filterpoints/point_cloud.ply > /tmp/tmpArc7gs.json
[INFO] Point cloud bounds are [minx: -520.059082, maxx: 1361.500732] [miny: -1235.810913, maxy: 1039.748413]
[INFO] DEM resolution is (5032, 4161), max tile size is 4096, will split DEM generation into 1 tiles
[INFO] Generating /datasets/code/odm_meshing/tmp/mesh_dsm_r0.6396456818781769_x0_y0.tif (max, radius: 0.6396456818781769, resolution: 0.452297799212752)
[INFO] running pdal pipeline -i /tmp/tmpWYnc5f.json > /dev/null 2>&1
[INFO] running gdalbuildvrt “/datasets/code/odm_meshing/tmp/tiles.vrt” “/datasets/code/odm_meshing/tmp/mesh_dsm_r0.6396456818781769_x0_y0.tif”
0…10…20…30…40…50…60…70…80…90…100 - done.
[INFO] running gdal_translate -co NUM_THREADS=8 --config GDAL_CACHEMAX 48.5% /datasets/code/odm_meshing/tmp/tiles.vrt /datasets/code/odm_meshing/tmp/tiles.tmp.tif
Input file size is 4161, 5032
0…10…20…30…40…50…60…70…80…90…100 - done.
[INFO] running gdal_translate -co NUM_THREADS=8 --config GDAL_CACHEMAX 48.5% -outsize 10% 0 /datasets/code/odm_meshing/tmp/tiles.tmp.tif /datasets/code/odm_meshing/tmp/tiles.small.tif
Input file size is 4161, 5032
0…10…20…30…40…50…60…70…80…90…100 - done.
[INFO] running gdal_fillnodata.py -co NUM_THREADS=8 --config GDAL_CACHEMAX 48.5% -b 1 -of GTiff /datasets/code/odm_meshing/tmp/tiles.small.tif /datasets/code/odm_meshing/tmp/tiles.small_fi
lled.tif
0…10…20…30…40…50…60…70…80…90…100 - done.
[INFO] running gdalbuildvrt -resolution highest -r bilinear “/datasets/code/odm_meshing/tmp/merged.vrt” “/datasets/code/odm_meshing/tmp/tiles.small_filled.tif” “/datasets/code/odm_meshing/
tmp/tiles.tmp.tif”
0…10…20…30…40…50…60…70…80…90…100 - done.
[INFO] running gdal_translate -co NUM_THREADS=8 --config GDAL_CACHEMAX 48.5% /datasets/code/odm_meshing/tmp/merged.vrt /datasets/code/odm_meshing/tmp/tiles.tif
Input file size is 4161, 5032
0…10…20…30…40…50…60…70…80…90…100 - done.
[INFO] Starting smoothing…
[INFO] Smoothing iteration 1 [1/1806]
[INFO] Completed smoothing to create …/datasets/code/odm_meshing/tmp/mesh_dsm.tif in 0:00:07.839898
[INFO] Completed mesh_dsm.tif in 0:02:27.549226
[INFO] Creating mesh from DSM: /datasets/code/odm_meshing/tmp/mesh_dsm.tif
[INFO] running /code/SuperBuild/src/dem2mesh/dem2mesh -inputFile /datasets/code/odm_meshing/tmp/mesh_dsm.tif -outputFile /datasets/code/odm_meshing/odm_25dmesh.dirty.ply -maxTileLength 400
0 -maxVertexCount 100000
[INFO] running /code/build/bin/odm_cleanmesh -inputFile /datasets/code/odm_meshing/odm_25dmesh.dirty.ply -outputFile /datasets/code/odm_meshing/odm_25dmesh.ply -removeIslands -decimateMesh
100000
[INFO] Finished odm_meshing stage
[INFO] Running mvs_texturing stage
[INFO] Writing MVS Textured file in: /datasets/code/odm_texturing/odm_textured_model.obj
[INFO] running /code/SuperBuild/install/bin/texrecon /datasets/code/opensfm/reconstruction.nvm /datasets/code/odm_meshing/odm_mesh.ply /datasets/code/odm_texturing/odm_textured_model -d gm
i -o gauss_clamping -t none -n 65535
/code/SuperBuild/install/bin/texrecon (built on Nov 1 2019, 04:32:12)
Load and prepare mesh:
PLY Loader: comment VTK generated PLY File
Reading PLY: 99560 verts… 198972 faces… done.
Generating texture views:
NVM: Loading file…
NVM: Number of views: 534
NVM: Number of features: 0
terminate called after throwing an instance of ‘util::Exception’
what(): terminate called recursively
terminate called recursively
terminate called recursively
Aborted (core dumped)
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 134