RuntimeError: Can't read tracks manager file

Today, after updating Webodm, I started getting errors and couldn’t make ortho photos.

RuntimeError: Can’t read tracks manager file
[ERROR] The program could not process this dataset using the current settings. Check that the images have enough overlap, that there are enough recognizable features and that the images are in focus. You could also try to increase the --min-num- features parameter.The program will now exit.

In addition, “FileNotFoundError: [Errno 2] No such file or directory:” has also appeared, which may be a direct factor.

Even if I try to set feature-quality: lowest, feature-type: hahog, it doesn’t work.
I also confirmed that the image data was corrupted, but there was no suspicious data.
It is no longer possible to use the photo data that created the ortho photo before.

What should I do?

The log is shown below.

[INFO] Initializing ODM 2.8.7 - Sat Jul 16 13:59:53 2022
[INFO] ==============
[INFO] 3d_tiles: False
[INFO] auto_boundary: True
[INFO] boundary: {}
[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_postprocess
[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_neighbors: 0
[INFO] matcher_type: flann
[INFO] max_concurrency: 8
[INFO] merge: all
[INFO] mesh_octree_depth: 11
[INFO] mesh_size: 200000
[INFO] min_num_features: 10000
[INFO] name: fccd5905-fb55-4a74-85d9-b456a59ea265
[INFO] no_gpu: False
[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_copc: 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: medium
[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: [‘odm_postprocess’]
[INFO] resize_to: 2048
[INFO] rolling_shutter: False
[INFO] rolling_shutter_readout: 0
[INFO] sfm_algorithm: incremental
[INFO] skip_3dmodel: False
[INFO] skip_band_alignment: False
[INFO] skip_orthophoto: 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] ==============
[INFO] Running dataset stage
[INFO] Loading dataset from: C:\WebODM\resources\app\apps\NodeODM\data\fccd5905-fb55-4a74-85d9-b456a59ea265\images
[INFO] Loading images database: C:\WebODM\resources\app\apps\NodeODM\data\fccd5905-fb55-4a74-85d9-b456a59ea265\images.json
[INFO] Found 121 usable images
[INFO] Coordinates file already exist: C:\WebODM\resources\app\apps\NodeODM\data\fccd5905-fb55-4a74-85d9-b456a59ea265\odm_georeferencing\coords.txt
[INFO] Model geo file already exist: C:\WebODM\resources\app\apps\NodeODM\data\fccd5905-fb55-4a74-85d9-b456a59ea265\odm_georeferencing\odm_georeferencing_model_geo.txt
[INFO] Parsing SRS header: WGS84 UTM 54N
[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
[WARNING] C:\WebODM\resources\app\apps\NodeODM\data\fccd5905-fb55-4a74-85d9-b456a59ea265\opensfm\image_list.txt already exists, not rerunning OpenSfM setup
[WARNING] C:\WebODM\resources\app\apps\NodeODM\data\fccd5905-fb55-4a74-85d9-b456a59ea265\opensfm\exif already exists, not rerunning photo to metadata
[INFO] running “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm” detect_features “C:\WebODM\resources\app\apps\NodeODM\data\fccd5905-fb55-4a74-85d9-b456a59ea265\opensfm”
2022-07-16 13:59:55,193 INFO: Planning to use 14410.901953125 MB of RAM for both processing queue and parallel processing.
2022-07-16 13:59:55,194 INFO: Scale-space expected size of a single image : 90.83747863769531 MB
2022-07-16 13:59:55,194 INFO: Expecting to queue at most 200 images while parallel processing of 8 images.
2022-07-16 13:59:55,201 INFO: Reading data for image DJI_0001.JPG (queue-size=0
2022-07-16 13:59:55,201 INFO: Reading data for image DJI_0032.JPG (queue-size=0
2022-07-16 13:59:55,201 INFO: Reading data for image DJI_0063.JPG (queue-size=0
2022-07-16 13:59:55,201 INFO: Reading data for image DJI_0094.JPG (queue-size=0
2022-07-16 13:59:55,505 INFO: Reading data for image DJI_0002.JPG (queue-size=1
2022-07-16 13:59:55,506 INFO: Extracting ROOT_SIFT_GPU features for image DJI_0001.JPG
2022-07-16 13:59:55,522 INFO: Reading data for image DJI_0095.JPG (queue-size=1
2022-07-16 13:59:55,556 INFO: Extracting ROOT_SIFT_GPU features for image DJI_0094.JPG
2022-07-16 13:59:55,556 INFO: Reading data for image DJI_0064.JPG (queue-size=1
2022-07-16 13:59:55,557 INFO: Extracting ROOT_SIFT_GPU features for image DJI_0063.JPG
2022-07-16 13:59:55,581 INFO: Reading data for image DJI_0033.JPG (queue-size=1
2022-07-16 13:59:55,582 INFO: Extracting ROOT_SIFT_GPU features for image DJI_0032.JPG
d:\a\odm\odm\superbuild\build\pypopsift_deps\popsift-src\src\popsift\sift_octave.cu:208
Could not allocate Blur level array: out of memory
[INFO] running “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm” match_features “C:\WebODM\resources\app\apps\NodeODM\data\fccd5905-fb55-4a74-85d9-b456a59ea265\opensfm”
2022-07-16 13:59:57,552 INFO: Altitude for orientation based matching 1.0
2022-07-16 13:59:57,665 INFO: Matching 1218 image pairs
2022-07-16 13:59:57,665 INFO: Computing pair matching with 8 processes
Traceback (most recent call last):
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm_main.py”, line 25, in
commands.command_runner(
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\command_runner.py”, line 38, in command_runner
command.run(data, args)
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\command.py”, line 13, in run
self.run_impl(data, args)
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\match_features.py”, line 13, in run_impl
match_features.run_dataset(dataset)
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\actions\match_features.py”, line 14, in run_dataset
pairs_matches, preport = matching.match_images(data, {}, images, images)
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\matching.py”, line 56, in match_images
match_images_with_pairs(data, config_override, exifs, pairs),
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\matching.py”, line 80, in match_images_with_pairs
matches = context.parallel_map(match_unwrap_args, args, processes, jobs_per_process)
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\context.py”, line 58, in parallel_map
res = Parallel(batch_size=batch_size)(delayed(func)(arg) for arg in args)
File “C:\WebODM\resources\app\apps\ODM\venv\lib\site-packages\joblib\parallel.py”, line 1061, in call
self.retrieve()
File “C:\WebODM\resources\app\apps\ODM\venv\lib\site-packages\joblib\parallel.py”, line 940, in retrieve
self._output.extend(job.get(timeout=self.timeout))
File “multiprocessing\pool.py”, line 768, in get
File “multiprocessing\pool.py”, line 125, in worker
File “C:\WebODM\resources\app\apps\ODM\venv\lib\site-packages\joblib_parallel_backends.py”, line 595, in call
return self.func(*args, **kwargs)
File “C:\WebODM\resources\app\apps\ODM\venv\lib\site-packages\joblib\parallel.py”, line 262, in call
return [func(*args, **kwargs)
File “C:\WebODM\resources\app\apps\ODM\venv\lib\site-packages\joblib\parallel.py”, line 262, in
return [func(*args, **kwargs)
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\matching.py”, line 210, in match_unwrap_args
matches = match(im1, im2, camera1, camera2, data, config_override, pose)
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\matching.py”, line 579, in match
p1, p2, matches, matcher_type = _match_descriptors_impl(
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\matching.py”, line 353, in _match_descriptors_impl
features_data1 = feature_loader.instance.load_all_data(
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\feature_loading.py”, line 109, in load_all_data
features_data = self._load_all_data_masked(data, image)
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\feature_loading.py”, line 160, in _load_all_data_masked
features_data = self._load_all_data_unmasked(data, image)
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\feature_loading.py”, line 154, in _load_all_data_unmasked
return self._load_features_nocache(data, image)
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\feature_loading.py”, line 201, in _load_features_nocache
features_data = data.load_features(image)
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\dataset.py”, line 318, in load_features
with self.io_handler.open(features_filepath, “rb”) as f:
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\io.py”, line 1462, in open
return open(*args, **kwargs)
FileNotFoundError: [Errno 2] No such file or directory: ‘C:\WebODM\resources\app\apps\NodeODM\data\fccd5905-fb55-4a74-85d9-b456a59ea265\opensfm\features\DJI_0009.JPG.features.npz’
[INFO] running “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm” create_tracks “C:\WebODM\resources\app\apps\NodeODM\data\fccd5905-fb55-4a74-85d9-b456a59ea265\opensfm”
2022-07-16 13:59:59,412 INFO: reading features
Traceback (most recent call last):
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm_main.py”, line 25, in
commands.command_runner(
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\command_runner.py”, line 38, in command_runner
command.run(data, args)
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\command.py”, line 13, in run
self.run_impl(data, args)
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\create_tracks.py”, line 13, in run_impl
create_tracks.run_dataset(dataset)
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\actions\create_tracks.py”, line 12, in run_dataset
features, colors, segmentations, instances = tracking.load_features(
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\tracking.py”, line 29, in load_features
features_data = dataset.load_features(im)
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\dataset.py”, line 318, in load_features
with self.io_handler.open(features_filepath, “rb”) as f:
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\io.py”, line 1462, in open
return open(*args, **kwargs)
FileNotFoundError: [Errno 2] No such file or directory: ‘C:\WebODM\resources\app\apps\NodeODM\data\fccd5905-fb55-4a74-85d9-b456a59ea265\opensfm\features\DJI_0001.JPG.features.npz’
[INFO] running “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm” reconstruct “C:\WebODM\resources\app\apps\NodeODM\data\fccd5905-fb55-4a74-85d9-b456a59ea265\opensfm”
Traceback (most recent call last):
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm_main.py”, line 25, in
commands.command_runner(
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\command_runner.py”, line 38, in command_runner
command.run(data, args)
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\command.py”, line 13, in run
self.run_impl(data, args)
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\reconstruct.py”, line 14, in run_impl
reconstruct.run_dataset(dataset)
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\actions\reconstruct.py”, line 9, in run_dataset
tracks_manager = data.load_tracks_manager()
File “C:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\dataset.py”, line 406, in load_tracks_manager
return pymap.TracksManager.instanciate_from_file(self._tracks_manager_file(filename))
RuntimeError: Can’t read tracks manager file
[ERROR] The program could not process this dataset using the current settings. Check that the images have enough overlap, that there are enough recognizable features and that the images are in focus. You could also try to increase the --min-num-features parameter.The program will now exit.

2 Likes

See:

1 Like

Seems like SIFT_GPU is failing. Try checking the no-gpu option in the process settings?

2 Likes

It was perfect.

I was really in trouble, so I was saved.
There are no words that could express my gratitude.

3 Likes