[ERROR] The program exited with a strange error code. Options: mesh-octree-depth: 12, mesh-size: 300000, pc-quality: ultra, use-3dmesh: true

Trying to get a bit better 3D output image than default, failed after about 2 hours. Ended up with this error:
[ERROR] The program exited with a strange error code. Please report it at https://community.opendronemap.org

Abbreviated Console text, too big to include all of it, and can’t attach text. I can upload it and post a link if useful.:

[INFO] Initializing ODM - Tue Jul 06 19:25:58 2021
[INFO] ==============
[INFO] build_overviews: False
[INFO] camera_lens: auto
[INFO] cameras: {}
[INFO] cog: True
[INFO] copy_to: None
[INFO] crop: 3
[INFO] debug: False
[INFO] dem_decimation: 1
[INFO] dem_euclidean_map: False
[INFO] dem_gapfill_steps: 3
[INFO] dem_resolution: 5
[INFO] depthmap_resolution: 640
[INFO] dsm: False
[INFO] dtm: False
[INFO] end_with: odm_report
[INFO] fast_orthophoto: False
[INFO] feature_quality: high
[INFO] feature_type: sift
[INFO] force_gps: False
[INFO] gcp: None
[INFO] geo: None
[INFO] gps_accuracy: 10
[INFO] ignore_gsd: False
[INFO] matcher_distance: 0
[INFO] matcher_neighbors: 8
[INFO] matcher_type: flann
[INFO] max_concurrency: 16
[INFO] merge: all
[INFO] mesh_octree_depth: 12
[INFO] mesh_size: 300000
[INFO] min_num_features: 8000
[INFO] name: f36b9b0a-35bd-42f8-8aac-d7dfa1c6f7c3
[INFO] optimize_disk_space: False
[INFO] orthophoto_compression: DEFLATE
[INFO] orthophoto_cutline: False
[INFO] orthophoto_kmz: False
[INFO] orthophoto_no_tiled: False
[INFO] orthophoto_png: False
[INFO] orthophoto_resolution: 5
[INFO] pc_classify: False
[INFO] pc_csv: False
[INFO] pc_ept: True
[INFO] pc_filter: 2.5
[INFO] pc_geometric: False
[INFO] pc_las: False
[INFO] pc_quality: ultra
[INFO] pc_rectify: False
[INFO] pc_sample: 0
[INFO] pc_tile: False
[INFO] primary_band: auto
[INFO] project_path: C:\WebODM\resources\app\apps\NodeODM\data
[INFO] radiometric_calibration: none
[INFO] rerun: None
[INFO] rerun_all: False
[INFO] rerun_from: None
[INFO] resize_to: 2048
[INFO] skip_3dmodel: False
[INFO] skip_band_alignment: False
[INFO] skip_report: False
[INFO] sm_cluster: None
[INFO] smrf_scalar: 1.25
[INFO] smrf_slope: 0.15
[INFO] smrf_threshold: 0.5
[INFO] smrf_window: 18.0
[INFO] split: 999999
[INFO] split_image_groups: None
[INFO] split_overlap: 150
[INFO] texturing_data_term: gmi
[INFO] texturing_keep_unseen_faces: False
[INFO] texturing_outlier_removal_type: gauss_clamping
[INFO] texturing_skip_global_seam_leveling: False
[INFO] texturing_skip_local_seam_leveling: False
[INFO] texturing_tone_mapping: none
[INFO] tiles: False
[INFO] time: False
[INFO] use_3dmesh: True
[INFO] use_exif: False
[INFO] use_fixed_camera_params: False
[INFO] use_hybrid_bundle_adjustment: False
[INFO] verbose: False
[INFO] ==============
[INFO] Running dataset stage
[INFO] Loading dataset from: C:\WebODM\resources\app\apps\NodeODM\data\f36b9b0a-35bd-42f8-8aac-d7dfa1c6f7c3\images
[INFO] Loading 222 images
[INFO] Wrote images database: C:\WebODM\resources\app\apps\NodeODM\data\f36b9b0a-35bd-42f8-8aac-d7dfa1c6f7c3\images.json
[INFO] Found 222 usable images
[INFO] Parsing SRS header: WGS84 UTM 56S
[INFO] Finished dataset stage
[INFO] Running split stage
[INFO] Normal dataset, will process all at once.
[INFO] Finished split stage
[INFO] Running merge stage
[INFO] Normal dataset, nothing to merge.
[INFO] Finished merge stage
[INFO] Running opensfm stage
[INFO] Writing exif overrides
[INFO] Maximum photo dimensions: 5472px
[INFO] Photo dimensions for feature extraction: 2736px
[INFO] Altitude data detected, enabling it for GPS alignment
[INFO] [‘use_exif_size: no’, ‘flann_algorithm: KDTREE’, ‘feature_process_size: 2736’, ‘feature_min_frames: 8000’, ‘processes: 16’, ‘matching_gps_neighbors: 8’, ‘matching_gps_distance: 0’, ‘optimize_camera_parameters: yes’, ‘undistorted_image_format: tif’, ‘bundle_outlier_filtering_type: AUTO’, ‘align_orientation_prior: vertical’, ‘triangulation_type: ROBUST’, ‘retriangulation_ratio: 2’, ‘feature_type: SIFT’, ‘use_altitude_tag: yes’, ‘align_method: auto’, ‘local_bundle_radius: 0’]
[INFO] running C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm extract_metadata “C:\WebODM\resources\app\apps\NodeODM\data\f36b9b0a-35bd-42f8-8aac-d7dfa1c6f7c3\opensfm”
2021-07-06 19:26:01,092 INFO: Extracting EXIF for DJI_0287.JPG

2021-07-06 19:26:20,721 INFO: Extracting EXIF for DJI_0507.JPG
[INFO] running C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm detect_features “C:\WebODM\resources\app\apps\NodeODM\data\f36b9b0a-35bd-42f8-8aac-d7dfa1c6f7c3\opensfm”
2021-07-06 19:26:21,745 INFO: Capping memory usage to ~ 14765.1640625 MB
2021-07-06 19:26:21,745 INFO: Expecting to process 193 images.
2021-07-06 19:26:21,760 INFO: Reading data for image DJI_0286.JPG (queue-size=0

2021-07-06 20:00:06,999 INFO: -------------------------------------------------------
2021-07-06 20:00:06,999 INFO: DJI_0483.JPG resection inliers: 199 / 257
2021-07-06 20:00:06,999 INFO: Adding DJI_0483.JPG to the reconstruction
2021-07-06 20:00:07,413 INFO: -------------------------------------------------------
2021-07-06 20:00:07,415 INFO: Shots and/or GCPs are well-conditioned. Using naive 3D-3D alignment.
2021-07-06 20:01:00,444 DEBUG: Ceres Solver Report: Iterations: 27, Initial cost: 6.792484e+04, Final cost: 5.647052e+04, Termination: CONVERGENCE
2021-07-06 20:01:06,136 INFO: Removed outliers: 9155
2021-07-06 20:01:09,226 INFO: Reconstruction 0: 222 images, 349647 points
2021-07-06 20:01:09,226 INFO: 1 partial reconstructions in total.
[INFO] Export reconstruction stats
[INFO] running C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm compute_statistics --diagram_max_points 100000 “C:\WebODM\resources\app\apps\NodeODM\data\f36b9b0a-35bd-42f8-8aac-d7dfa1c6f7c3\opensfm”
2021-07-06 20:02:02,036 DEBUG: locator: <matplotlib.colorbar._ColorbarAutoLocator object at 0x00000267D4303700>
2021-07-06 20:02:02,036 DEBUG: Using auto colorbar locator <matplotlib.colorbar._ColorbarAutoLocator object at 0x00000267D4303700> on colorbar
2021-07-06 20:02:02,036 DEBUG: Setting pcolormesh
2021-07-06 20:02:07,230 DEBUG: locator: <matplotlib.colorbar._ColorbarAutoLocator object at 0x00000267936C89D0>
2021-07-06 20:02:07,230 DEBUG: Using auto colorbar locator <matplotlib.colorbar._ColorbarAutoLocator object at 0x00000267936C89D0> on colorbar
2021-07-06 20:02:07,230 DEBUG: Setting pcolormesh
[INFO] running C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm export_geocoords --reconstruction --proj “+proj=utm +zone=56 +south +datum=WGS84 +units=m +no_defs +type=crs” --offset-x 312323.0 --offset-y 6546576.0 “C:\WebODM\resources\app\apps\NodeODM\data\f36b9b0a-35bd-42f8-8aac-d7dfa1c6f7c3\opensfm”
[INFO] Updating C:\WebODM\resources\app\apps\NodeODM\data\f36b9b0a-35bd-42f8-8aac-d7dfa1c6f7c3\opensfm\config.yaml
[INFO] undistorted_image_max_size: 2736
[INFO] Undistorting C:\WebODM\resources\app\apps\NodeODM\data\f36b9b0a-35bd-42f8-8aac-d7dfa1c6f7c3\opensfm …
2021-07-06 20:03:06,598 DEBUG: Undistorting image DJI_0464.JPG

2021-07-06 20:04:04,002 DEBUG: Undistorting image DJI_0468.JPG
[INFO] running C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm export_visualsfm --points “C:\WebODM\resources\app\apps\NodeODM\data\f36b9b0a-35bd-42f8-8aac-d7dfa1c6f7c3\opensfm”
[INFO] Finished opensfm stage
[INFO] Running openmvs stage
[INFO] running C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm export_openmvs “C:\WebODM\resources\app\apps\NodeODM\data\f36b9b0a-35bd-42f8-8aac-d7dfa1c6f7c3\opensfm”
[INFO] Running dense reconstruction. This might take a while.
[INFO] Estimating depthmaps
[INFO] running C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\OpenMVS\DensifyPointCloud “C:\WebODM\resources\app\apps\NodeODM\data\f36b9b0a-35bd-42f8-8aac-d7dfa1c6f7c3\opensfm\undistorted\openmvs\scene.mvs” --resolution-level 0 --min-resolution 2736 --max-resolution 2736 --max-threads 16 --number-views-fuse 2 -w “C:\WebODM\resources\app\apps\NodeODM\data\f36b9b0a-35bd-42f8-8aac-d7dfa1c6f7c3\opensfm\undistorted\openmvs\depthmaps” -v 0 --geometric-iters 0
===== Dumping Info for Geeks (developers need this to fix bugs) =====
Child returned 3221226505
Traceback (most recent call last):
File “C:\WebODM\resources\app\apps\ODM\stages\odm_app.py”, line 89, in execute
self.first_stage.run()
File “C:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 340, in run
self.next_stage.run(outputs)
File “C:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 340, in run
self.next_stage.run(outputs)
File “C:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 340, in run
self.next_stage.run(outputs)
[Previous line repeated 1 more time]
File “C:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 321, in run
self.process(self.args, outputs)
File “C:\WebODM\resources\app\apps\ODM\stages\openmvs.py”, line 79, in process
system.run(’%s “%s” %s’ % (context.omvs_densify_path,
File “C:\WebODM\resources\app\apps\ODM\opendm\system.py”, line 106, in run
raise SubprocessException(“Child returned {}”.format(retcode), retcode)
opendm.system.SubprocessException: Child returned 3221226505

===== Done, human-readable information to follow… =====

[ERROR] The program exited with a strange error code. Please report it at https://community.opendronemap.org


1 Like

How much RAM do you have?

Can you retry without increasing the --mesh-size (and including --pc-geometric likely will increase point cloud quality).

1 Like

32GB today, but should have 64GB next week.
I’ll retry as suggested.

1 Like

Sweet! Enjoy the extra RAM. I want to try 64GB/128GB myself, but can’t stomach the price, haha.

1 Like

Yes the cost was rather difficult to stomach for me too!

1 Like

Failed after 3.5 hours, perhaps I just have to settle for medium quality? It is only 222 images, so not a huge data set

Options: pc-geometric: true, pc-quality: ultra

Error ended with this:

[INFO] running C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm export_visualsfm --points “C:\WebODM\resources\app\apps\NodeODM\data\86a57af2-fbb3-479b-bc10-92ca158d58a3\opensfm”
[INFO] Finished opensfm stage
[INFO] Running openmvs stage
[INFO] running C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm export_openmvs “C:\WebODM\resources\app\apps\NodeODM\data\86a57af2-fbb3-479b-bc10-92ca158d58a3\opensfm”
[INFO] Running dense reconstruction. This might take a while.
[INFO] Estimating depthmaps
[INFO] running C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\OpenMVS\DensifyPointCloud “C:\WebODM\resources\app\apps\NodeODM\data\86a57af2-fbb3-479b-bc10-92ca158d58a3\opensfm\undistorted\openmvs\scene.mvs” --resolution-level 0 --min-resolution 2736 --max-resolution 2736 --max-threads 16 --number-views-fuse 2 -w “C:\WebODM\resources\app\apps\NodeODM\data\86a57af2-fbb3-479b-bc10-92ca158d58a3\opensfm\undistorted\openmvs\depthmaps” -v 0
===== Dumping Info for Geeks (developers need this to fix bugs) =====
Child returned 3221226505
Traceback (most recent call last):
File “C:\WebODM\resources\app\apps\ODM\stages\odm_app.py”, line 89, in execute
self.first_stage.run()
File “C:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 340, in run
self.next_stage.run(outputs)
File “C:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 340, in run
self.next_stage.run(outputs)
File “C:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 340, in run
self.next_stage.run(outputs)
[Previous line repeated 1 more time]
File “C:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 321, in run
self.process(self.args, outputs)
File “C:\WebODM\resources\app\apps\ODM\stages\openmvs.py”, line 79, in process
system.run(’%s “%s” %s’ % (context.omvs_densify_path,
File “C:\WebODM\resources\app\apps\ODM\opendm\system.py”, line 106, in run
raise SubprocessException(“Child returned {}”.format(retcode), retcode)
opendm.system.SubprocessException: Child returned 3221226505

===== Done, human-readable information to follow… =====

[ERROR] The program exited with a strange error code. Please report it at https://community.opendronemap.org

1 Like

Here’s what I’m trying to do with the 3D. Top pic a single frame out of the 222, shows good detail, taken from 30m (EDIT: not 50m) AGL, one of the non-nadir images.
LoomberahRd-Canyon20210706

The 3D model makes a mess of the railings, and I was hoping to be able to produce an image where the railing above the erodes gully looked reasonable. This one was produced with these options:
Options: ignore-gsd: true, dsm: true, pc-quality: high, dem-resolution: 2.0, orthophoto-resolution: 2.0

Kevins-Canyon20210706-3D

Open images in a new tab to see them full size.

1 Like

You may need to add:
–pc-geometric

Increasing --pc-quality likely would also help, but you may be too resource constrained.

1 Like

I’m no longer resource limited, running highest quality settings and 35 mins in, will let you know how it goes!

1 Like

222 images with the below settings took 3h 25m, but the railings are still pretty messed up, so not sure what else I can try.

Created on: 10/07/2021, 11:22:58

Processing Node: node-odm-1 (manual)

Options: dem-resolution: 1, depthmap-resolution: 800, dtm: true, feature-quality: ultra, ignore-gsd: true, mesh-octree-depth: 12, mesh-size: 300000, optimize-disk-space: true, orthophoto-png: true, orthophoto-resolution: 1, pc-geometric: true, pc-quality: ultra, pc-rectify: true, use-3dmesh: true

Kevins-Canyon20210706-3Da
View in new tab to see full size

1 Like

Don’t adjust the depth map resolution manually. You’re overriding another flag with much lower quality values that way.

You might also be able to increase the mesh octree depth to 14.

Does the point cloud have good, clear coverage of the railings?

1 Like

Trying again with those suggestions.
How can I see the point cloud, nothing I have will open the .laz file. The railings were certainly well covered in the imaging, which was a combination of nadir, 85deg and some 70deg angle images of the canyon, which included the railings.

Somewhat strangely, the quality report shows the whole area in survey data as 2. Given the camera locations, I think it should be 5. I think I had something like 85% front and 75% side overlap in both runs at right angles at 50m AGL, plus the 70deg images in the central area from ~35m AGL.

report20210710.pdf (9.4 MB)

1 Like

You can view the reconstructed Point Cloud in WebODM by going into the 3D View item and not enabling the Textured Mesh. You can increase the splat quality and max number of points to get a better idea of the coverage.

You can also try CloudCompare, MeshLab, and/or QGIS for loading the LAZ files.

Hmm… It sounds like it didn’t have a good time extracting tie points. Interesting.

QGIS wouldn’t open the .laz file.

Here is the point cloud from WebODM, and it is certainly rather patchy along the railing.

Point-cloud20210710
View in another tab for full size

1 Like

Failed after 6h33m with:

Options: dsm: true, dtm: true, feature-quality: ultra, ignore-gsd: true, mesh-octree-depth: 14, mesh-size: 300000, orthophoto-png: true, orthophoto-resolution: 1, pc-geometric: true, pc-quality: ultra, pc-rectify: true

I didn’t see any more than about 60% of memory in use.
Here’s the end of the console text:

[INFO] Filtering C:\WebODM\resources\app\apps\NodeODM\data\fa057819-05a4-4679-8ede-99eda85ee4ec\odm_filterpoints\parts\part_98.ply (statistical, meanK 16, standard deviation 2.5)
[INFO] running pdal translate -i “C:\WebODM\resources\app\apps\NodeODM\data\fa057819-05a4-4679-8ede-99eda85ee4ec\odm_filterpoints\parts\part_98.ply” -o “C:\WebODM\resources\app\apps\NodeODM\data\fa057819-05a4-4679-8ede-99eda85ee4ec\odm_filterpoints\parts\part_98_filtered.ply” outlier range --writers.ply.sized_types=false --writers.ply.storage_mode=“little endian” --writers.ply.dims=“x=float,y=float,z=float,nx=float,ny=float,nz=float,red=uchar,blue=uchar,green=uchar,views=uchar” --filters.outlier.method=“statistical” --filters.outlier.mean_k=16 --filters.outlier.multiplier=2.5 --filters.range.limits=“Classification![7:7]”
[INFO] Filtering C:\WebODM\resources\app\apps\NodeODM\data\fa057819-05a4-4679-8ede-99eda85ee4ec\odm_filterpoints\parts\part_99.ply (statistical, meanK 16, standard deviation 2.5)
[INFO] running pdal translate -i “C:\WebODM\resources\app\apps\NodeODM\data\fa057819-05a4-4679-8ede-99eda85ee4ec\odm_filterpoints\parts\part_99.ply” -o “C:\WebODM\resources\app\apps\NodeODM\data\fa057819-05a4-4679-8ede-99eda85ee4ec\odm_filterpoints\parts\part_99_filtered.ply” outlier range --writers.ply.sized_types=false --writers.ply.storage_mode=“little endian” --writers.ply.dims=“x=float,y=float,z=float,nx=float,ny=float,nz=float,red=uchar,blue=uchar,green=uchar,views=uchar” --filters.outlier.method=“statistical” --filters.outlier.mean_k=16 --filters.outlier.multiplier=2.5 --filters.range.limits=“Classification![7:7]”
[INFO] Merging 617 point cloud chunks to C:\WebODM\resources\app\apps\NodeODM\data\fa057819-05a4-4679-8ede-99eda85ee4ec\odm_filterpoints\point_cloud.ply
[INFO] Finished odm_filterpoints stage
[INFO] Running odm_meshing stage
[INFO] Writing ODM Mesh file in: C:\WebODM\resources\app\apps\NodeODM\data\fa057819-05a4-4679-8ede-99eda85ee4ec\odm_meshing\odm_mesh.ply
[INFO] running “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\PoissonRecon” --in “C:\WebODM\resources\app\apps\NodeODM\data\fa057819-05a4-4679-8ede-99eda85ee4ec\odm_filterpoints\point_cloud.ply” --out “C:\WebODM\resources\app\apps\NodeODM\data\fa057819-05a4-4679-8ede-99eda85ee4ec\odm_meshing\odm_mesh.dirty.ply” --depth 14 --pointWeight 4.0 --samplesPerNode 1.0 --threads 15 --maxMemory 67 --bType 2 --linearFit
[WARNING] Child returned 3221225477
[WARNING] PoissonRecon failed with 7 threads, let’s retry with 3…
[INFO] running “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\PoissonRecon” --in “C:\WebODM\resources\app\apps\NodeODM\data\fa057819-05a4-4679-8ede-99eda85ee4ec\odm_filterpoints\point_cloud.ply” --out “C:\WebODM\resources\app\apps\NodeODM\data\fa057819-05a4-4679-8ede-99eda85ee4ec\odm_meshing\odm_mesh.dirty.ply” --depth 14 --pointWeight 4.0 --samplesPerNode 1.0 --threads 7 --maxMemory 70 --bType 2 --linearFit
[WARNING] Child returned 3221225477
[WARNING] PoissonRecon failed with 3 threads, let’s retry with 1…
[INFO] running “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\PoissonRecon” --in “C:\WebODM\resources\app\apps\NodeODM\data\fa057819-05a4-4679-8ede-99eda85ee4ec\odm_filterpoints\point_cloud.ply” --out “C:\WebODM\resources\app\apps\NodeODM\data\fa057819-05a4-4679-8ede-99eda85ee4ec\odm_meshing\odm_mesh.dirty.ply” --depth 14 --pointWeight 4.0 --samplesPerNode 1.0 --threads 3 --maxMemory 70 --bType 2 --linearFit
[WARNING] Child returned 3221225477
[WARNING] PoissonRecon failed with 1 threads, let’s retry with 0…
[INFO] running “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\PoissonRecon” --in “C:\WebODM\resources\app\apps\NodeODM\data\fa057819-05a4-4679-8ede-99eda85ee4ec\odm_filterpoints\point_cloud.ply” --out “C:\WebODM\resources\app\apps\NodeODM\data\fa057819-05a4-4679-8ede-99eda85ee4ec\odm_meshing\odm_mesh.dirty.ply” --depth 14 --pointWeight 4.0 --samplesPerNode 1.0 --threads 1 --maxMemory 70 --bType 2 --linearFit
[WARNING] Child returned 3221225477
[INFO] running “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\OpenMVS\ReconstructMesh” -i “C:\WebODM\resources\app\apps\NodeODM\data\fa057819-05a4-4679-8ede-99eda85ee4ec\odm_meshing\odm_mesh.dirty.ply” -o “C:\WebODM\resources\app\apps\NodeODM\data\fa057819-05a4-4679-8ede-99eda85ee4ec\odm_meshing\odm_mesh.ply” --remove-spikes 0 --remove-spurious 20 --smooth 0 --target-face-num 600000
===== Dumping Info for Geeks (developers need this to fix bugs) =====
Child returned 1
Traceback (most recent call last):
File “C:\WebODM\resources\app\apps\ODM\stages\odm_app.py”, line 89, in execute
self.first_stage.run()
File “C:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 340, in run
self.next_stage.run(outputs)
File “C:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 340, in run
self.next_stage.run(outputs)
File “C:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 340, in run
self.next_stage.run(outputs)
[Previous line repeated 3 more times]
File “C:\WebODM\resources\app\apps\ODM\opendm\types.py”, line 321, in run
self.process(self.args, outputs)
File “C:\WebODM\resources\app\apps\ODM\stages\odm_meshing.py”, line 24, in process
mesh.screened_poisson_reconstruction(tree.filtered_point_cloud,
File “C:\WebODM\resources\app\apps\ODM\opendm\mesh.py”, line 207, in screened_poisson_reconstruction
system.run(’"{reconstructmesh}" -i “{infile}” ’
File “C:\WebODM\resources\app\apps\ODM\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.html

Looks like it tried to scale back concurrency multiple times to prevent OOM, but still ended up OOM and failing to allocate enough RAM.

1 Like

I’m running it again with mesh-octree-depth: 13.
For this run I noticed it said it expected 200 images (there are 222) and allocated 45GB memory, even though I have 97GB available. Is there a way to increase the amount of memory allocated?

It will allocate what it needs at each step. You don’t need to tune anything in that regard.

Here’s another go, which took 6 1/2 hours. Much better point matching, but still not good railing modelling. Currently running again now with mesh-octree-depth: 13. I’m beginning to think I might need more like 90% overlaps to get good 3D.

Options: dem-resolution: 2.0, dsm: true, dtm: true, feature-quality: ultra, ignore-gsd: true, optimize-disk-space: true, orthophoto-png: true, orthophoto-resolution: 2.0, pc-geometric: true, pc-quality: ultra

Kevins-Canyon20210706-3Db

[INFO] DTM is turned on, automatically turning on point cloud classification
[INFO] Initializing ODM - Sun Jul 11 15:51:55 2021
[INFO] ==============
[INFO] build_overviews: False
[INFO] camera_lens: auto
[INFO] cameras: {}
[INFO] cog: True
[INFO] copy_to: None
[INFO] crop: 3
[INFO] debug: False
[INFO] dem_decimation: 1
[INFO] dem_euclidean_map: False
[INFO] dem_gapfill_steps: 3
[INFO] dem_resolution: 2.0
[INFO] depthmap_resolution: 640
[INFO] dsm: True
[INFO] dtm: True
[INFO] end_with: odm_report
[INFO] fast_orthophoto: False
[INFO] feature_quality: ultra
[INFO] feature_type: sift
[INFO] force_gps: False
[INFO] gcp: None
[INFO] geo: None
[INFO] gps_accuracy: 10
[INFO] ignore_gsd: True
[INFO] matcher_distance: 0
[INFO] matcher_neighbors: 8
[INFO] matcher_type: flann
[INFO] max_concurrency: 16
[INFO] merge: all
[INFO] mesh_octree_depth: 11
[INFO] mesh_size: 200000
[INFO] min_num_features: 8000
[INFO] name: 8ff1807b-4f6f-4433-a159-7d25dd221e3c
[INFO] optimize_disk_space: True
[INFO] orthophoto_compression: DEFLATE
[INFO] orthophoto_cutline: False
[INFO] orthophoto_kmz: False
[INFO] orthophoto_no_tiled: False
[INFO] orthophoto_png: True
[INFO] orthophoto_resolution: 2.0
[INFO] pc_classify: True
[INFO] pc_csv: False
[INFO] pc_ept: True
[INFO] pc_filter: 2.5
[INFO] pc_geometric: True
[INFO] pc_las: False
[INFO] pc_quality: ultra
[INFO] pc_rectify: False
[INFO] pc_sample: 0
[INFO] pc_tile: False
[INFO] primary_band: auto
[INFO] project_path: C:\WebODM\resources\app\apps\NodeODM\data
[INFO] radiometric_calibration: none
[INFO] rerun: None
[INFO] rerun_all: False
[INFO] rerun_from: None
[INFO] resize_to: 2048
[INFO] skip_3dmodel: False
[INFO] skip_band_alignment: False
[INFO] skip_report: False
[INFO] sm_cluster: None
[INFO] smrf_scalar: 1.25
[INFO] smrf_slope: 0.15
[INFO] smrf_threshold: 0.5
[INFO] smrf_window: 18.0
[INFO] split: 999999
[INFO] split_image_groups: None
[INFO] split_overlap: 150
[INFO] texturing_data_term: gmi
[INFO] texturing_keep_unseen_faces: False
[INFO] texturing_outlier_removal_type: gauss_clamping
[INFO] texturing_skip_global_seam_leveling: False
[INFO] texturing_skip_local_seam_leveling: False
[INFO] texturing_tone_mapping: none
[INFO] tiles: False
[INFO] time: False
[INFO] use_3dmesh: False
[INFO] use_exif: False
[INFO] use_fixed_camera_params: False
[INFO] use_hybrid_bundle_adjustment: False
[INFO] verbose: False
[INFO] ==============

1 Like

Yeah, high overlap and multiple angles really helps 3D.

2 Likes