New user - please help PROCESS EXITED WITH CODE 1

Hi Everyone

This is my first day trying out ODM. I have experience with drone mapping and bit with manual photogrammetry.

I have tried to process projects with different images. I get a consistent error message within 20 seconds of processing. I have tried various settings. Please see below. It looks the error is line 76, however I have no idea what this is or what this means. Please help and many thanks in advance.

Rich

File “/code/opendm/system.py”, line 76, in run
raise Exception(“Child returned {}”.format(retcode))
Exception: Child returned 1

Preformatted textFile “/code/opendm/osfm.py”, line 23, in run
(context.opensfm_path, command, self.opensfm_project_path))
File “/code/opendm/system.py”, line 76, in run
raise Exception(“Child returned {}”.format(retcode))
Exception: Child returned 1Preformatted text

Preformatted textFile “/code/opendm/osfm.py”, line 234, in feature_matching
self.run(‘detect_features’)
File “/code/opendm/osfm.py”, line 23, in run
(context.opensfm_path, command, self.opensfm_project_path))
File “/code/opendm/system.py”, line 76, in run
raise Exception(“Child returned {}”.format(retcode))
Exception: Child returned 1Preformatted text

Hey @itsrichphoto :hand: could you provide some more details about how you are running ODM (are you using WebODM? Are you on Windows/Mac/Linux? What command are you using, etc.). Also do you have a copy of the images you could link?

Hi perotofy

Many thanks for your response. I am using webODM on a mac with i9 64gb ram 1tb ssd and 8gb gpu. I have tried in different web browsers, restarted the machine etc. I have used different sets of images, and always get the same response. the images are saved on an external hard drive. To me, it seems from the result text that maybe so0me code isn’t in place or something isn’t selected on

All images are 12mp and captured on an autel evo. They have been resized by webodm and i have also tried with lower res images too

Many thanks

Hi

Can anyone offer some suggestions?

It’s difficult to help without a copy of the images. :frowning:

2 Likes

Hi there

Also a new user to this great software.

Looks lige I got some of the same problems. I’ve also downloaded the package to my Mac.

I’m getting the “Process exited with code 1” every time.

Here’s a link to a small project (153 images) with the error after processing:

Thank you in advance!

Looks like

Hi Pierotofy

Many thanks for your guidance. Hera are some images from an old project. I ran the images through reality capture and immediately had an error/message come up because the drone image sensor isn’t in a database. The profile is built in to it. Do you think this might be the issue?

Many thanks again

https://www.dropbox.com/sh/zyogcu2dfjm03qh/AACyPgif4FIC5Tnl1HE3CNUXa?dl=0

Did you try to process the .pts files or only the .JPG? ODM does not support .pts files.

Just the .jpg, it shadows out the .pts which are ptgui files for stitching the images together. I have tried several sets of images in varying quantities and always get the same result within 20 seconds of processing

Thanks for the additional info; what command are you using to run the dataset? I think perhaps there might be a problem there (in the -v volume parameter specifically). I just processed 6 images from that dataset just fine.

image

Thanks for the suggestion. I am not sure I understand the question. I used the WebODM interface in the browser. I left everything on automatic/default. The images were originally on an external hard drive. Do you think that might be the issue? I just copied some low res images on to the computer ssd and after 25 seconds of processing, I received the same error. Do you think there could be some code missing or could there be a firewall in place? I have tried in different browsers

File “/code/opendm/system.py”, line 76, in run
raise Exception(“Child returned {}”.format(retcode))
Exception: Child returned 1

Processing Node: node-odm-1 (auto)

Options: mesh-octree-depth: 11, use-3dmesh: true, depthmap-resolution: 1000, mesh-size: 300000, rerun-from: dataset

Ah, I thought when you mentioned ODM that you were using github.com/OpenDroneMap/ODM.

I’ve processed the same images fine with WebODM too (default parameters, resized images to 2048).

My guess is that perhaps you don’t have sufficient disk space? Check your Diagnostic panel from WebODM.

image

Yeehar!

Thanks so much Pierotofy for your perseverance and knowledge.

That did the trick! The settings were not that low, but I raised everything in docker.

Here are the instructions for anyone else having this problem!

I want to experiment with WebODM a lot more. including interiors and 360 images

3 Likes