Hello folks,
I am a new WebODM user, I have successfully processed a few jobs, however always using a external .txt file for geotag.
Now I am trying to process a sample dataset from Agrowing (https://agrowing.com/), however I am getting the following error:
Process exited with code 1
[INFO] Initializing ODM - Mon Apr 12 21:40:21 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: True
[INFO] dtm: False
[INFO] end_with: odm_report
[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_distance: 0
[INFO] matcher_neighbors: 8
[INFO] matcher_type: flann
[INFO] max_concurrency: 8
[INFO] merge: all
[INFO] mesh_octree_depth: 11
[INFO] mesh_size: 200000
[INFO] min_num_features: 8000
[INFO] name: 6481220e-0fcd-4457-96b1-6329bfd02265
[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: None
[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_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/6481220e-0fcd-4457-96b1-6329bfd02265/images
[INFO] Loading 195 images
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 341, in run
self.process(self.args, outputs)
File “/code/stages/dataset.py”, line 110, in process
p = types.ODM_Photo(f)
File “/code/opendm/photo.py”, line 79, in init
self.parse_exif_values(path_file)
File “/code/opendm/photo.py”, line 123, in parse_exif_values
self.altitude = self.float_value(tags[‘GPS GPSAltitude’])
File “/code/opendm/photo.py”, line 333, in float_value
v = self.float_values(tag)
File “/code/opendm/photo.py”, line 328, in float_values
return [float(v.num) / float(v.den) if v.den != 0 else None for v in tag.values]
File “/code/opendm/photo.py”, line 328, in
return [float(v.num) / float(v.den) if v.den != 0 else None for v in tag.values]
AttributeError: ‘int’ object has no attribute ‘den’
So, I guess it’s related to the photo’s metadata, maybe a syntax error? Anyone here knows how to solve it, please?
Here is the data:
I got the same error for the “RG+N” and the “VIS_ColorAdjusted” sets.