ODM error at Aligning submodels stage

Hi,

I am processing a dataset of 794 images, with split set at 300, fast orthophoto turned on. ODM runs on Virtualbox with 15 cores and about 23 GB of RAM, 100 GB swap.

At the aligning submodel stage, ODM spits out errors:

[INFO]    Aligning submodels...
[INFO]    /datasets/code/submodels/submodel_0000/opensfm/reconstruction.aligned.json is now /datasets/code/submodels/submodel_0000/opensfm/reconstruction.json
[INFO]    /datasets/code/submodels/submodel_0001/opensfm/reconstruction.aligned.json is now /datasets/code/submodels/submodel_0001/opensfm/reconstruction.json
[INFO]    /datasets/code/submodels/submodel_0002/opensfm/reconstruction.aligned.json is now /datasets/code/submodels/submodel_0002/opensfm/reconstruction.json
[INFO]    ========================
[INFO]    Processing submodel_0000
[INFO]    ========================
Traceback (most recent call last):
  File "/code/run.py", line 57, in <module>
    app.execute()
  File "/code/stages/odm_app.py", line 92, in execute
    self.first_stage.run()
  File "/code/opendm/types.py", line 464, in run
    self.next_stage.run(outputs)
  File "/code/opendm/types.py", line 445, in run
    self.process(self.args, outputs)
  File "/code/stages/splitmerge.py", line 150, in process
    system.run(" ".join(map(quote, argv)), env_vars=os.environ.copy())
  File "/usr/lib/python2.7/pipes.py", line 269, in quote
    for c in file:
TypeError: 'float' object is not iterable

Any help is appreciated.

Hey @hoangbh :hand: are you running the latest version of ODM? Try running docker pull opendronemap/odm and retry. Possibly linked to this one that we fixed 2 days ago: https://github.com/OpenDroneMap/ODM/issues/1072

1 Like

I installed ODM last week, so it should be relatively new. I did use the argument --crop 0 though, that might be related to the one you linked?

Anyway, I’ll try what you suggested and see what happens.

Thanks!

I did what you suggested and it worked! Thank you for your help!

2 Likes