TypeError during split-merge

AWS specs:

  • ami: ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20180522 - ami-db710fa3
  • instance type: m4.2xlarge (ECUs: 26, vCPUs: 8, Memory: 32 GiB)

OpenDroneMap native install at 58a19b7c4cb51cd62d6d68a2e4406d3eebe83302 (9-Jul-2018)

Dataset is 2,378 images, 4000 × 3000, taken with a DJI Mavic.

Split-merge run with run_all.sh and only change to settings.yaml was setting the project_path.

[94m[INFO]    Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txte[0m
e[94m[INFO]    Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txte[0m
e[92m[DEBUG]   Found GEOS DLL: <CDLL '/usr/local/lib/python2.7/dist-packages/shapely/.libs/libgeos_c-bd8d3f16.so.1.10.2', handle 2574610 at 7f616ef23dd0>, using it.e[0m
e[92m[DEBUG]   Trying `CDLL(libc.so.6)`e[0m
e[92m[DEBUG]   Library path: 'libc.so.6'e[0m
e[92m[DEBUG]   DLL: <CDLL 'libc.so.6', handle 7f6192ca44e8 at 7f616ef23e10>e[0m
Traceback (most recent call last):
  File "/home/ubuntu/OpenDroneMap/scripts/metadataset/merge.py", line 78, in <module>
    if poly.contains(Point(point[[2, 3]])):
  File "/usr/local/lib/python2.7/dist-packages/shapely/geometry/point.py", line 49, in __init__
  File "/usr/local/lib/python2.7/dist-packages/shapely/geometry/point.py", line 130, in _set_coords
    self._geom, self._ndim = geos_point_from_py(args[0])
  File "/usr/local/lib/python2.7/dist-packages/shapely/geometry/point.py", line 209, in geos_point_from_py
    dx = c_double(coords[0])
TypeError: a float is required

Full log attached to a GitHub issue.

Commented on the github issue, as this is a likely bug. I pinged @dkbenjamin too, as he’s the most likely to have quick insights on what is happening.