pypopsift
pypopsift copied to clipboard
Possible Issue: Could not allocate Intermediate layered array: out of memory
[INFO] Fast orthophoto is turned on, automatically setting --skip-3dmodel
[INFO] Initializing ODM 2.7.1 - Sun Jan 16 13:59:31 2022
[INFO] ==============
[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: True
[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: 8
[INFO] matcher_type: flann
[INFO] max_concurrency: 6
[INFO] merge: all
[INFO] mesh_octree_depth: 11
[INFO] mesh_size: 200000
[INFO] min_num_features: 8000
[INFO] name: af5f6e29-1af4-4457-8515-f6587d14211c
[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: medium
[INFO] pc_rectify: False
[INFO] pc_sample: 0
[INFO] pc_tile: False
[INFO] primary_band: auto
[INFO] project_path: D:\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] sfm_algorithm: incremental
[INFO] skip_3dmodel: True
[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: D:\WebODM\resources\app\apps\NodeODM\data\af5f6e29-1af4-4457-8515-f6587d14211c\images
[INFO] Loading 201 images
[INFO] Found 201 usable images
[INFO] Parsing SRS header: WGS84 UTM 32N
[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] Maximum photo dimensions: 8000px
[INFO] Photo dimensions for feature extraction: 4000px
[INFO] Using GPU for extracting SIFT features
[INFO] Altitude data detected, enabling it for GPS alignment
[INFO] ['use_exif_size: no', 'flann_algorithm: KDTREE', 'feature_process_size: 4000', 'feature_min_frames: 8000', 'processes: 6', 'matching_gps_neighbors: 8', 'matching_gps_distance: 0', 'matching_graph_rounds: 50', 'optimize_camera_parameters: yes', 'reconstruction_algorithm: incremental', 'undistorted_image_format: tif', 'bundle_outlier_filtering_type: AUTO', 'sift_peak_threshold: 0.066', 'align_orientation_prior: vertical', 'triangulation_type: ROBUST', 'retriangulation_ratio: 2', 'matcher_type: FLANN', 'feature_type: SIFT_GPU', 'use_altitude_tag: yes', 'align_method: auto', 'local_bundle_radius: 0']
[INFO] Wrote reference_lla.json
[INFO] running "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm" detect_features "D:\WebODM\resources\app\apps\NodeODM\data\af5f6e29-1af4-4457-8515-f6587d14211c\opensfm"
2022-01-16 13:59:36,110 INFO: Capping memory usage to ~ 11308.298828125 MB
2022-01-16 13:59:36,110 INFO: Expecting to process 61 images.
2022-01-16 13:59:36,122 INFO: Reading data for image DJI_0002.JPG (queue-size=0
2022-01-16 13:59:36,122 INFO: Reading data for image DJI_0136.JPG (queue-size=0
2022-01-16 13:59:36,122 INFO: Reading data for image DJI_0867.JPG (queue-size=0
2022-01-16 13:59:37,097 INFO: Reading data for image DJI_0869.JPG (queue-size=1
2022-01-16 13:59:37,103 INFO: Reading data for image DJI_0004.JPG (queue-size=2
2022-01-16 13:59:37,104 INFO: Reading data for image DJI_0138.JPG (queue-size=1
2022-01-16 13:59:37,105 INFO: Extracting ROOT_SIFT_GPU features for image DJI_0002.JPG
2022-01-16 13:59:37,105 INFO: Extracting ROOT_SIFT_GPU features for image DJI_0867.JPG
2022-01-16 13:59:37,105 INFO: Extracting ROOT_SIFT_GPU features for image DJI_0136.JPG
d:\a\odm\odm\superbuild\build\pypopsift\_deps\popsift-src\src\popsift\sift_octave.cu:287
Could not allocate Intermediate layered array: out of memory
[INFO] running "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm" match_features "D:\WebODM\resources\app\apps\NodeODM\data\af5f6e29-1af4-4457-8515-f6587d14211c\opensfm"
2022-01-16 13:59:39,651 INFO: Altitude for orientation based matching 1898.18818028513
2022-01-16 13:59:39,698 INFO: Altitude for orientation based matching 1898.18818028513
2022-01-16 13:59:39,823 INFO: Matching 1797 image pairs
2022-01-16 13:59:39,823 INFO: Computing pair matching with 6 processes
Traceback (most recent call last):
File "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\\opensfm_main.py", line 25, in <module>
commands.command_runner(
File "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\command_runner.py", line 37, in command_runner
command.run(data, args)
File "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\command.py", line 12, in run
self.run_impl(data, args)
File "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\match_features.py", line 11, in run_impl
match_features.run_dataset(dataset)
File "D:\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 "D:\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 "D:\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 "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\context.py", line 56, in parallel_map
res = Parallel(batch_size=batch_size)(delayed(func)(arg) for arg in args)
File "D:\WebODM\resources\app\apps\ODM\venv\lib\site-packages\joblib\parallel.py", line 1061, in __call__
self.retrieve()
File "D:\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 "D:\WebODM\resources\app\apps\ODM\venv\lib\site-packages\joblib\_parallel_backends.py", line 595, in __call__
return self.func(*args, **kwargs)
File "D:\WebODM\resources\app\apps\ODM\venv\lib\site-packages\joblib\parallel.py", line 262, in __call__
return [func(*args, **kwargs)
File "D:\WebODM\resources\app\apps\ODM\venv\lib\site-packages\joblib\parallel.py", line 262, in <listcomp>
return [func(*args, **kwargs)
File "D:\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 "D:\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 "D:\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 "D:\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 "D:\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 "D:\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 "D:\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 "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\dataset.py", line 313, in load_features
with self.io_handler.open(features_filepath, "rb") as f:
File "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\io.py", line 1439, in open
return open(*args, **kwargs)
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\WebODM\\resources\\app\\apps\\NodeODM\\data\\af5f6e29-1af4-4457-8515-f6587d14211c\\opensfm\\features\\DJI_0897.JPG.features.npz'
[INFO] running "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm" create_tracks "D:\WebODM\resources\app\apps\NodeODM\data\af5f6e29-1af4-4457-8515-f6587d14211c\opensfm"
2022-01-16 13:59:41,387 INFO: reading features
Traceback (most recent call last):
File "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\\opensfm_main.py", line 25, in <module>
commands.command_runner(
File "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\command_runner.py", line 37, in command_runner
command.run(data, args)
File "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\command.py", line 12, in run
self.run_impl(data, args)
File "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\create_tracks.py", line 11, in run_impl
create_tracks.run_dataset(dataset)
File "D:\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 "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\tracking.py", line 28, in load_features
features_data = dataset.load_features(im)
File "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\dataset.py", line 313, in load_features
with self.io_handler.open(features_filepath, "rb") as f:
File "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\io.py", line 1439, in open
return open(*args, **kwargs)
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\WebODM\\resources\\app\\apps\\NodeODM\\data\\af5f6e29-1af4-4457-8515-f6587d14211c\\opensfm\\features\\DJI_0002.JPG.features.npz'
[INFO] running "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\opensfm" reconstruct "D:\WebODM\resources\app\apps\NodeODM\data\af5f6e29-1af4-4457-8515-f6587d14211c\opensfm"
Traceback (most recent call last):
File "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\bin\\opensfm_main.py", line 25, in <module>
commands.command_runner(
File "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\command_runner.py", line 37, in command_runner
command.run(data, args)
File "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\command.py", line 12, in run
self.run_impl(data, args)
File "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\commands\reconstruct.py", line 11, in run_impl
reconstruct.run_dataset(dataset)
File "D:\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 "D:\WebODM\resources\app\apps\ODM\SuperBuild\install\bin\opensfm\opensfm\dataset.py", line 381, 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.