Invalid number of views error? while (NVM: Loading file...)

/usr/local/lib/python2.7/dist-packages/cryptography/__init__.py:39: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
CryptographyDeprecationWarning,
[INFO]    Initializing ODM - Wed Sep 02 12:55:41  2020
[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: True
[INFO]    dtm: False
[INFO]    end_with: odm_report
[INFO]    fast_orthophoto: False
[INFO]    feature_type: sift
[INFO]    force_gps: False
[INFO]    gcp: None
[INFO]    gps_accuracy: 15
[INFO]    ignore_gsd: False
[INFO]    matcher_distance: 0
[INFO]    matcher_neighbors: 8
[INFO]    max_concurrency: 32
[INFO]    merge: all
[INFO]    mesh_octree_depth: 10
[INFO]    mesh_point_weight: 4
[INFO]    mesh_samples: 1.0
[INFO]    mesh_size: 200000
[INFO]    min_num_features: 8000
[INFO]    mve_confidence: 0.6
[INFO]    name: 14849762-a7c6-413e-b1e5-644225f8d507
[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: False
[INFO]    pc_csv: False
[INFO]    pc_ept: False
[INFO]    pc_filter: 2.5
[INFO]    pc_las: False
[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: ['odm_report']
[INFO]    resize_to: 2048
[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: 999999
[INFO]    split_multitracks: False
[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]    time: False
[INFO]    use_3dmesh: False
[INFO]    use_exif: False
[INFO]    use_fixed_camera_params: False
[INFO]    use_hybrid_bundle_adjustment: False
[INFO]    use_opensfm_dense: False
[INFO]    verbose: False
[INFO]    ==============
[INFO]    Running dataset stage
[INFO]    Loading dataset from: /var/www/data/14849762-a7c6-413e-b1e5-644225f8d507/images
[INFO]    Loading images database: /var/www/data/14849762-a7c6-413e-b1e5-644225f8d507/images.json
[INFO]    Coordinates file already exist: /var/www/data/14849762-a7c6-413e-b1e5-644225f8d507/odm_georeferencing/coords.txt
[INFO]    Parsing SRS header: WGS84 UTM 52N
[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] /var/www/data/14849762-a7c6-413e-b1e5-644225f8d507/opensfm/image_list.txt already exists, not rerunning OpenSfM setup
[WARNING] Detect features already done: /var/www/data/14849762-a7c6-413e-b1e5-644225f8d507/opensfm/features exists
[WARNING] Match features already done: /var/www/data/14849762-a7c6-413e-b1e5-644225f8d507/opensfm/matches exists
[WARNING] Found a valid OpenSfM tracks file in: /var/www/data/14849762-a7c6-413e-b1e5-644225f8d507/opensfm/tracks.csv
[WARNING] Found a valid OpenSfM reconstruction file in: /var/www/data/14849762-a7c6-413e-b1e5-644225f8d507/opensfm/reconstruction.json
[INFO]    Already extracted cameras
[INFO]    Undistorting /var/www/data/14849762-a7c6-413e-b1e5-644225f8d507/opensfm ...
[WARNING] Found an undistorted directory in /var/www/data/14849762-a7c6-413e-b1e5-644225f8d507/opensfm/undistorted/images
[WARNING] Found a valid OpenSfM NVM reconstruction file in: /var/www/data/14849762-a7c6-413e-b1e5-644225f8d507/opensfm/undistorted/reconstruction.nvm
[WARNING] Will skip exporting /var/www/data/14849762-a7c6-413e-b1e5-644225f8d507/opensfm/geocoords_transformation.txt
[INFO]    Finished opensfm stage
[INFO]    Running mve stage
[INFO]    running /code/SuperBuild/src/elibs/mve/apps/makescene/makescene "/var/www/data/14849762-a7c6-413e-b1e5-644225f8d507/opensfm/undistorted/reconstruction.nvm" "/var/www/data/14849762-a7c6-413e-b1e5-644225f8d507/mve"
MVE Makescene (built on Aug 24 2020, 23:28:56)
Info: Detected VisualSFM bundle format.
NVM: Loading file...
terminate called after throwing an instance of 'util::Exception'
what():  Invalid number of views: 13684
Aborted (core dumped)
Traceback (most recent call last):
File "/code/run.py", line 62, in <module>
app.execute()
File "/code/stages/odm_app.py", line 95, in execute
self.first_stage.run()
File "/code/opendm/types.py", line 350, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 350, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 350, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 350, in run
self.next_stage.run(outputs)
File "/code/opendm/types.py", line 331, in run
self.process(self.args, outputs)
File "/code/stages/mve.py", line 38, in process
system.run('%s "%s" "%s"' % (context.makescene_path, nvm_file, tree.mve), env_vars={'OMP_NUM_THREADS': args.max_concurrency})
File "/code/opendm/system.py", line 76, in run
raise Exception("Child returned {}".format(retcode))
Exception: Child returned 134

While i was working with 13684 photos, it stopped due to error. So i tried re-run with odm-report.
But still, Iā€™m getting that error everytime i try. Is there any way to solve this situation?

1 Like