WebODM icon indicating copy to clipboard operation
WebODM copied to clipboard

refineBatchPFGS failed

Open AnthonyCoughlin opened this issue 9 years ago • 14 comments

WebODM stuck in a loop. Watching Docker the command line is still running but has been repeating the same 'warnings' and WebODM is throwing an error message 'refineBatchPFGS failed'. See attached.

dog_refinepatch_failed

webodm_bfgs_failed

webodm_bfgs_failed2

Let me know if you need more info!

AnthonyCoughlin avatar Feb 11 '17 23:02 AnthonyCoughlin

Still going.

webodm_bfgs_failed3

AnthonyCoughlin avatar Feb 12 '17 00:02 AnthonyCoughlin

It is possible that the ReadTimeout error stopped execution. I'll have to investigate to tell for sure. refinePatchesBFGS often times fails during processing, but should not interrupt the process.

Restarting the task might fix it temporarily.

pierotofy avatar Feb 12 '17 15:02 pierotofy

@pierotofy Thanks again for the assistance. When this happened it corrupted the entire Docker db. I've received db errors when trying to restart the Docker Machine. I ended up wiping the WebODM folder again and uninstalling Docker Toolbox. Then reinstalling Docker Toolbox and recloned WebODM. I had to run docker-compose build to repair the db (not sure why I thought the uninstall would have removed all files) then ran ./webodm.sh update. Now WebODM starts with no errors. However, I attempted to stitch the same dataset today (FYI - I uploaded the same data to MapsMadeEasy.com last night and it worked just fine - I'm pro ODM tho man!) and it failed. I received this error (see below). I am forcing focal-length and CCD width, I may be putting in the wrong values - would that cause an error?

webodm_error_2-12-16

AnthonyCoughlin avatar Feb 12 '17 22:02 AnthonyCoughlin

Also, watching the Docker cmd line, I keep seeing this warning (see below). Not sure if this helps you at all...

webodm_background_wrapper

AnthonyCoughlin avatar Feb 12 '17 22:02 AnthonyCoughlin

@AnthonyCoughlin thanks for the additional screens! No worries, I use mapsmadeeasy on occasion as well :)

It looks like the same problem is happening (ReadTimeout error). I will have time to look at this sometimes next week, I'll post an update with hopefully a fix then.

pierotofy avatar Feb 12 '17 22:02 pierotofy

@pierotofy, take your time. Thanks again.

AnthonyCoughlin avatar Feb 13 '17 01:02 AnthonyCoughlin

@pierotofy,

Update: I'm starting to believe there is something wrong with my dataset. I successfully tested four other datasets yesterday evening, using both default settings and forced focal and CCD. I'm planning on testing the failing dataset this evening and will get back with you.

AnthonyCoughlin avatar Feb 13 '17 18:02 AnthonyCoughlin

I think the root cause of this problem lies in node-OpenDroneMap, and likely not on WebODM. Even though you received some error messages, the execution should have continued at the next cycle since the errors were thrown from a separate thread. Would you be able to share the dataset that you used?

pierotofy avatar Feb 15 '17 15:02 pierotofy

#104

@pierotofy, Should I post or reference this issue/bug on the ODM git? Whats the best way to share my images?

AnthonyCoughlin avatar Feb 16 '17 00:02 AnthonyCoughlin

@AnthonyCoughlin Dropbox, or any other file sharing website that you like. If you can share the dataset publicly, just post the link here on Github. Otherwise send it here: https://www.masseranolabs.com/contact/.

I'll open an issue in the proper repository once I can reproduce it and confirm it.

pierotofy avatar Feb 16 '17 02:02 pierotofy

Hey @pierotofy, Sorry for the delay. Sent you a link to images via the above mentioned link. Thanks again for your help!

AnthonyCoughlin avatar Feb 18 '17 14:02 AnthonyCoughlin

Got it.

I just ran the dataset and it processed correctly using the latest WebODM/node-OpenDroneMap.

image

I did use the code that was introduced in #103, so perhaps that could have made a difference, but I don't think it did. My guess is that perhaps your Docker containers don't have enough memory allocated, which is making the processing really, really slow.

Power down the Virtualbox "boot2docker" or "default" virtual machine from the VirtualBox Manager application, and follow these instructions to add more RAM: http://superuser.com/questions/926339/how-to-change-the-ram-allocated-to-an-os-in-virtualbox

Also, what happens if you add this processing node and use that instead? hostname: nodeodm.masseranolabs.com port: 80?

pierotofy avatar Feb 18 '17 15:02 pierotofy

I'll test this afternoon. Thanks!

AnthonyCoughlin avatar Feb 18 '17 15:02 AnthonyCoughlin

I'll close this for now, unless the problem is still there, in which case we can reopen it.

pierotofy avatar Feb 20 '17 13:02 pierotofy