ODM quits with keyerror

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ODM quits with keyerror

Ted Fines
Environment: ODM installed today (3/4/2016) on Ubuntu 14.04 w/ 4 GB of RAM.  I've successfully had it process the caliterra sample image set.

I am getting an error when directing it to my own image set.  The output when I try to run run.py is below (there are no log files produced).  Any help?

Thanks in advance,
Ted

ubuntu@odm:~/Test_images$ ~/OpenDroneMap/run.py 

  - configuration:
     start_with : resize
     end_with : odm_orthophoto
     force_focal : None
     odm_texturing_textureWithSize : 3600
     matcher_neighbors : 8
     matcher_threshold : 2.0
     cmvs_maxImages : 500
     odm_orthophoto_resolution : 20.0
     pmvs_threshold : 0.7
     zip_results : False
     resize_to : 2400
     use_opensfm : True
     min_num_features : 6000
     odm_meshing_octreeDepth : 9
     odm_meshing_solverDivide : 9
     pmvs_wsize : 7
     odm_texturing_textureResolution : 4096
     matcher_ratio : 0.6
     odm_meshing_samplesPerNode : 1.0
     odm_meshing_maxVertexCount : 100000
     matcher_distance : 0
     pmvs_level : 1
     run_only : None
     job_dir_name : None
     odm_georeferencing_useGcp : False
     odm_georeferencing_gcpFile : gcp_list.txt
     pmvs_csize : 2
     pmvs_minImageNum : 3
     force_ccd : None

  - source files - Mon Apr 04 17:56:05  2016
Traceback (most recent call last):
  File "/home/ubuntu/OpenDroneMap/run.py", line 986, in <module>
    prepare_objects()
  File "/home/ubuntu/OpenDroneMap/run.py", line 415, in prepare_objects
    fileObject["ccd"] = float(ccdWidths[fileObject["id"]])
KeyError: u'DJI FC550'


_______________________________________________
OpenDroneMap-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/opendronemap-users
Reply | Threaded
Open this post in threaded view
|

Re: ODM quits with keyerror

Dakota Benjamin

Try adding "--force-ccd 17.3"


I got that number from the sensor width here: http://www.dji.com/products/compare-xcamera

www.dji.com
Compare the Zenmuse X series cameras and learn about the differences between DJI's Zenmuse X3, Zenmuse X5, and Zenmuse X5R.





From: OpenDroneMap-users <[hidden email]> on behalf of Ted Fines <[hidden email]>
Sent: Monday, April 4, 2016 7:07 PM
To: [hidden email]
Subject: [OpenDroneMap-users] ODM quits with keyerror
 
Environment: ODM installed today (3/4/2016) on Ubuntu 14.04 w/ 4 GB of RAM.  I've successfully had it process the caliterra sample image set.

I am getting an error when directing it to my own image set.  The output when I try to run run.py is below (there are no log files produced).  Any help?

Thanks in advance,
Ted

ubuntu@odm:~/Test_images$ ~/OpenDroneMap/run.py 

  - configuration:
     start_with : resize
     end_with : odm_orthophoto
     force_focal : None
     odm_texturing_textureWithSize : 3600
     matcher_neighbors : 8
     matcher_threshold : 2.0
     cmvs_maxImages : 500
     odm_orthophoto_resolution : 20.0
     pmvs_threshold : 0.7
     zip_results : False
     resize_to : 2400
     use_opensfm : True
     min_num_features : 6000
     odm_meshing_octreeDepth : 9
     odm_meshing_solverDivide : 9
     pmvs_wsize : 7
     odm_texturing_textureResolution : 4096
     matcher_ratio : 0.6
     odm_meshing_samplesPerNode : 1.0
     odm_meshing_maxVertexCount : 100000
     matcher_distance : 0
     pmvs_level : 1
     run_only : None
     job_dir_name : None
     odm_georeferencing_useGcp : False
     odm_georeferencing_gcpFile : gcp_list.txt
     pmvs_csize : 2
     pmvs_minImageNum : 3
     force_ccd : None

  - source files - Mon Apr 04 17:56:05  2016
Traceback (most recent call last):
  File "/home/ubuntu/OpenDroneMap/run.py", line 986, in <module>
    prepare_objects()
  File "/home/ubuntu/OpenDroneMap/run.py", line 415, in prepare_objects
    fileObject["ccd"] = float(ccdWidths[fileObject["id"]])
KeyError: u'DJI FC550'


_______________________________________________
OpenDroneMap-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/opendronemap-users
Reply | Threaded
Open this post in threaded view
|

Re: ODM quits with keyerror

Ted Fines
Ha!  I had just opened ccd_defs.json to see if the 550 was defined, saw that it wasn't, and was about to Google it when your message came in.  I added the line 
"DJI FC550": 17.3,

to ccd_defs.json, and now it is processing away.

Thank you!
Ted


On Tue, Apr 5, 2016 at 7:18 AM, Dakota Benjamin <[hidden email]> wrote:

Try adding "--force-ccd 17.3"


I got that number from the sensor width here: http://www.dji.com/products/compare-xcamera

Compare the Zenmuse X series cameras and learn about the differences between DJI's Zenmuse X3, Zenmuse X5, and Zenmuse X5R.





From: OpenDroneMap-users <[hidden email]> on behalf of Ted Fines <[hidden email]>
Sent: Monday, April 4, 2016 7:07 PM
To: [hidden email]
Subject: [OpenDroneMap-users] ODM quits with keyerror
 
Environment: ODM installed today (3/4/2016) on Ubuntu 14.04 w/ 4 GB of RAM.  I've successfully had it process the caliterra sample image set.

I am getting an error when directing it to my own image set.  The output when I try to run run.py is below (there are no log files produced).  Any help?

Thanks in advance,
Ted

ubuntu@odm:~/Test_images$ ~/OpenDroneMap/run.py 

  - configuration:
     start_with : resize
     end_with : odm_orthophoto
     force_focal : None
     odm_texturing_textureWithSize : 3600
     matcher_neighbors : 8
     matcher_threshold : 2.0
     cmvs_maxImages : 500
     odm_orthophoto_resolution : 20.0
     pmvs_threshold : 0.7
     zip_results : False
     resize_to : 2400
     use_opensfm : True
     min_num_features : 6000
     odm_meshing_octreeDepth : 9
     odm_meshing_solverDivide : 9
     pmvs_wsize : 7
     odm_texturing_textureResolution : 4096
     matcher_ratio : 0.6
     odm_meshing_samplesPerNode : 1.0
     odm_meshing_maxVertexCount : 100000
     matcher_distance : 0
     pmvs_level : 1
     run_only : None
     job_dir_name : None
     odm_georeferencing_useGcp : False
     odm_georeferencing_gcpFile : gcp_list.txt
     pmvs_csize : 2
     pmvs_minImageNum : 3
     force_ccd : None

  - source files - Mon Apr 04 17:56:05  2016
Traceback (most recent call last):
  File "/home/ubuntu/OpenDroneMap/run.py", line 986, in <module>
    prepare_objects()
  File "/home/ubuntu/OpenDroneMap/run.py", line 415, in prepare_objects
    fileObject["ccd"] = float(ccdWidths[fileObject["id"]])
KeyError: u'DJI FC550'



_______________________________________________
OpenDroneMap-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/opendronemap-users