FileNotFound error - cameras.json

I am trying to process a dataset with 4,144 images. I use submodels with 500 images, WebODM breaks the data into 9 submodels with the error message that the camera.json file is not found.

Looking at the console file, processing for all the submodels completes, then the following error occurs:

2020-11-25 03:32:36,278 INFO: {‘points_count’: 16846, ‘cameras_count’: 12, ‘observations_count’: 41461, ‘average_track_length’: 2.461177727650481, ‘average_track_length_notwo’: 3.900440313111546}
2020-11-25 03:32:36,292 INFO: Reconstruction 0: 873 images, 692555 points
2020-11-25 03:32:36,293 INFO: Reconstruction 1: 12 images, 16846 points
2020-11-25 03:32:36,293 INFO: Reconstruction 2: 3 images, 4222 points
2020-11-25 03:32:36,293 INFO: 3 partial reconstructions in total.
Traceback (most recent call last):
File “/code/”, line 69, in
File “/code/stages/”, line 86, in execute
File “/code/opendm/”, line 361, in run
File “/code/opendm/”, line 342, in run
self.process(self.args, outputs)
File “/code/stages/”, line 133, in process
shutil.copy(s+"/…/cameras.json", path+"/cameras.json")
File “/usr/lib/python3.8/”, line 415, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File “/usr/lib/python3.8/”, line 261, in copyfile
with open(src, ‘rb’) as fsrc, open(dst, ‘wb’) as fdst:
FileNotFoundError: [Errno 2] No such file or directory: ‘/var/www/data/d0e1265b-bb82-4ecf-880e-8139e1fea3dd/opensfm/…/submodels/submodel_0000/opensfm/…/cameras.json’

Below is the initial part of the console file.
[INFO] DTM is turned on, automatically turning on point cloud classification
[INFO] Initializing ODM - Mon Nov 23 16:00:10 2020
[INFO] ==============
[INFO] build_overviews: False
[INFO] camera_lens: auto
[INFO] cameras: {}
[INFO] crop: 3
[INFO] debug: True
[INFO] dem_decimation: 1
[INFO] dem_euclidean_map: False
[INFO] dem_gapfill_steps: 0
[INFO] dem_resolution: 5
[INFO] depthmap_resolution: 640
[INFO] dsm: True
[INFO] dtm: True
[INFO] end_with: odm_report
[INFO] fast_orthophoto: False
[INFO] feature_quality: low
[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: 16
[INFO] max_concurrency: 16
[INFO] merge: all
[INFO] mesh_octree_depth: 8
[INFO] mesh_point_weight: 4
[INFO] mesh_samples: 1.0
[INFO] mesh_size: 200000
[INFO] min_num_features: 4000
[INFO] name: d0e1265b-bb82-4ecf-880e-8139e1fea3dd
[INFO] opensfm_depthmap_method: PATCH_MATCH
[INFO] opensfm_depthmap_min_consistent_views: 3
[INFO] opensfm_depthmap_min_patch_sd: 1
[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: True
[INFO] pc_csv: False
[INFO] pc_ept: False
[INFO] pc_filter: 2.5
[INFO] pc_las: True
[INFO] pc_rectify: False
[INFO] pc_sample: 0
[INFO] project_path: /var/www/data
[INFO] radiometric_calibration: none
[INFO] rerun: None
[INFO] rerun_all: False
[INFO] rerun_from: None
[INFO] resize_to: -1
[INFO] skip_3dmodel: 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: 500
[INFO] split_multitracks: True
[INFO] split_overlap: 150
[INFO] texturing_data_term: gmi
[INFO] texturing_keep_unseen_faces: False
[INFO] texturing_nadir_weight: 16
[INFO] texturing_outlier_removal_type: gauss_clamping
[INFO] texturing_skip_global_seam_leveling: False
[INFO] texturing_skip_hole_filling: False
[INFO] texturing_skip_local_seam_leveling: False
[INFO] texturing_skip_visibility_test: 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: True
[INFO] use_opensfm_dense: False
[INFO] verbose: True
[INFO] ==============
[INFO] Running dataset stage
[INFO] Loading dataset from: /var/www/data/d0e1265b-bb82-4ecf-880e-8139e1fea3dd/images
[DEBUG] /var/www/data/d0e1265b-bb82-4ecf-880e-8139e1fea3dd/images


Seems like a bug triggered by using --split-multitracks. Try turning it off?


Thank you for the reply. I disabled multitracks and the model ran to completion.


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