Forest drone flight - process exited with code 1 error

Hi,

I was processing a drone flight on ODM cloud captured with the pix4d app and a phantom 4. We did two flights, one at 50m and one at 80m. When I run all the photos from both flights together in ODM using the “Forest” settings and Resize photos = No, the process fails with the generic Code 1 error code. If I run the project using the default project settings, the project stiches fine. Any suggestions on what might be going on? I’m happy to post the logs if someone can tell me how to access them.

A colleague also ran the same images and said he got an “out of memory” error using the same “Forest” settings (sorry I don’t have further info on that error, but I’d note that this ODM instance is running on a HUGE server, so I’m guessing out of memory errors are more likely to be ODM resource management issues rather than actual memory limitations).

Images here:

Thanks!

Update: I re-ran the individual datasets and got the same failure using “Forest” settings.
Attached is the pdf report from running one of the flights with the “Default” settings and below is the task output for the failed “Forest” settings report.pdf (9.0 MB) (image load text removed for brevity):

[INFO] Initializing ODM - Wed Apr 21 04:39:22 2021
[INFO] ==============
[INFO] build_overviews: False
[INFO] camera_lens: auto
[INFO] cameras: {}
[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: ultra
[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: 22
[INFO] merge: all
[INFO] mesh_octree_depth: 11
[INFO] mesh_size: 200000
[INFO] min_num_features: 18000
[INFO] name: a6a23204-48cc-49ec-895c-da0a679f4862
[INFO] optimize_disk_space: False
[INFO] orthophoto_compression: DEFLATE
[INFO] orthophoto_cutline: 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: False
[INFO] pc_filter: 2.5
[INFO] pc_las: False
[INFO] pc_quality: medium
[INFO] pc_rectify: False
[INFO] pc_sample: 0
[INFO] primary_band: auto
[INFO] project_path: /var/www/data
[INFO] radiometric_calibration: none
[INFO] rerun: None
[INFO] rerun_all: False
[INFO] rerun_from: [‘dataset’, ‘split’, ‘merge’, ‘opensfm’, ‘openmvs’, ‘odm_filterpoints’, ‘odm_meshing’, ‘mvs_texturing’, ‘odm_georeferencing’, ‘odm_dem’, ‘odm_orthophoto’, ‘odm_report’]
[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_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] ==============
[INFO] Running dataset stage
[INFO] Loading dataset from: /var/www/data/a6a23204-48cc-49ec-895c-da0a679f4862/images
[INFO] Loading 306 images
[INFO] Wrote images database: /var/www/data/a6a23204-48cc-49ec-895c-da0a679f4862/images.json
[INFO] Found 306 usable images
[INFO] Parsing SRS header: WGS84 UTM 55S
[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: 4000px
[INFO] Altitude data detected, enabling it for GPS alignment
[INFO] [‘use_exif_size: no’, ‘flann_algorithm: KDTREE’, ‘feature_process_size: 4000’, ‘feature_min_frames: 18000’, ‘processes: 22’, ‘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 /code/SuperBuild/src/opensfm/bin/opensfm extract_metadata “/var/www/data/a6a23204-48cc-49ec-895c-da0a679f4862/opensfm”
2021-04-21 04:39:33,431 INFO: Extracting EXIF for DJI_0395.JPG

2021-04-21 04:39:58,979 INFO: Extracting EXIF for DJI_0414.JPG
[INFO] running /code/SuperBuild/src/opensfm/bin/opensfm detect_features “/var/www/data/a6a23204-48cc-49ec-895c-da0a679f4862/opensfm”
2021-04-21 04:40:00,440 INFO: Extracting ROOT_SIFT features for image DJI_0395.JPG
2021-04-21 04:40:00,440 INFO: Extracting ROOT_SIFT features for image DJI_0288.JPG
2021-04-21 04:40:00,440 INFO: Extracting ROOT_SIFT features for image DJI_0472.JPG
2021-04-21 04:40:00,441 INFO: Extracting ROOT_SIFT features for image DJI_0465.JPG
2021-04-21 04:40:00,441 INFO: Extracting ROOT_SIFT features for image DJI_0527.JPG
2021-04-21 04:40:00,441 INFO: Extracting ROOT_SIFT features for image DJI_0539.JPG
2021-04-21 04:40:00,441 INFO: Extracting ROOT_SIFT features for image DJI_0509.JPG
2021-04-21 04:40:00,441 INFO: Extracting ROOT_SIFT features for image DJI_0444.JPG
2021-04-21 04:40:00,441 INFO: Extracting ROOT_SIFT features for image DJI_0467.JPG
2021-04-21 04:40:00,441 INFO: Extracting ROOT_SIFT features for image DJI_0278.JPG
2021-04-21 04:40:00,441 INFO: Extracting ROOT_SIFT features for image DJI_0547.JPG
2021-04-21 04:40:00,441 INFO: Extracting ROOT_SIFT features for image DJI_0454.JPG
2021-04-21 04:40:00,442 INFO: Extracting ROOT_SIFT features for image DJI_0282.JPG
2021-04-21 04:40:00,442 INFO: Extracting ROOT_SIFT features for image DJI_0341.JPG
2021-04-21 04:40:00,442 INFO: Extracting ROOT_SIFT features for image DJI_0413.JPG
2021-04-21 04:40:00,442 INFO: Extracting ROOT_SIFT features for image DJI_0535.JPG
2021-04-21 04:40:00,442 INFO: Extracting ROOT_SIFT features for image DJI_0446.JPG
2021-04-21 04:40:00,442 INFO: Extracting ROOT_SIFT features for image DJI_0263.JPG
2021-04-21 04:40:00,442 INFO: Extracting ROOT_SIFT features for image DJI_0347.JPG
2021-04-21 04:40:00,442 INFO: Extracting ROOT_SIFT features for image DJI_0335.JPG
2021-04-21 04:40:00,442 INFO: Extracting ROOT_SIFT features for image DJI_0440.JPG
2021-04-21 04:40:00,443 INFO: Extracting ROOT_SIFT features for image DJI_0304.JPG
2021-04-21 04:40:01,061 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,061 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,061 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,061 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,061 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,061 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,061 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,062 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,062 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,083 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,083 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,084 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,084 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,086 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,105 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,107 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,108 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,111 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,118 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,118 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,156 DEBUG: Computing sift with threshold 0.1
2021-04-21 04:40:01,199 DEBUG: Computing sift with threshold 0.1
/code/SuperBuild/src/opensfm/bin/opensfm: line 12: 1078717 Killed “$PYTHON” “$DIR”/opensfm_main.py “[email protected]
Traceback (most recent call last):
File “/code/run.py”, line 69, in
app.execute()
File “/code/stages/odm_app.py”, line 83, in execute
self.first_stage.run()
File “/code/opendm/types.py”, line 360, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 360, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 360, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 341, in run
self.process(self.args, outputs)
File “/code/stages/run_opensfm.py”, line 32, in process
octx.feature_matching(self.rerun())
File “/code/opendm/osfm.py”, line 279, in feature_matching
self.run(‘detect_features’)
File “/code/opendm/osfm.py”, line 27, in run
system.run(’%s/bin/opensfm %s “%s”’ %
File “/code/opendm/system.py”, line 79, in run
raise Exception(“Child returned {}”.format(retcode))
Exception: Child returned 137

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.