NodeODM script crashing after undistorting images

I was wondering if anyone knew of a common issue to cause ODM to crash after undistorting images. I’ve tried two different datasets and both work when I use up to 21 images (have about 50 total in the dataset), but anything more causes the crash after undistorting in the log. It doesn’t spit out an error & just kills the process. I’ve tried a variety of settings including doing the lowest quality settings. I found that if I use the split flag, it’ll work without issue for the entire dataset but I was under the impression you can’t get textured models while using the split flag (which I’m trying to do).

Below is the end part of the log. If you need the entire log, I can post that later as well.

2023-03-28 13:03:06,860 INFO: DJI_0735.JPG resection inliers: 168 / 202
2023-03-28 13:03:06,862 INFO: Adding DJI_0735.JPG to the reconstruction
2023-03-28 13:03:06,896 INFO: -------------------------------------------------------
2023-03-28 13:03:06,902 INFO: DJI_0684.JPG resection inliers: 166 / 170
2023-03-28 13:03:06,904 INFO: Adding DJI_0684.JPG to the reconstruction
2023-03-28 13:03:06,939 INFO: -------------------------------------------------------
2023-03-28 13:03:06,941 INFO: DJI_0720.JPG resection inliers: 156 / 162
2023-03-28 13:03:06,944 INFO: Adding DJI_0720.JPG to the reconstruction
2023-03-28 13:03:06,987 INFO: Shots and/or GCPs are well-conditioned. Using naive 3D-3D alignment.
2023-03-28 13:03:07,855 DEBUG: Ceres Solver Report: Iterations: 8, Initial cost: 3.527305e+03, Final cost: 2.596358e+03, Termination: CONVERGENCE
2023-03-28 13:03:08,008 INFO: Removed outliers: 101
2023-03-28 13:03:08,018 INFO: -------------------------------------------------------
2023-03-28 13:03:08,020 INFO: DJI_0719.JPG resection inliers: 165 / 173
2023-03-28 13:03:08,023 INFO: Adding DJI_0719.JPG to the reconstruction
2023-03-28 13:03:08,068 INFO: -------------------------------------------------------
2023-03-28 13:03:08,070 INFO: DJI_0679.JPG resection inliers: 141 / 153
2023-03-28 13:03:08,073 INFO: Adding DJI_0679.JPG to the reconstruction
2023-03-28 13:03:08,110 INFO: -------------------------------------------------------
2023-03-28 13:03:08,113 INFO: DJI_0680.JPG resection inliers: 116 / 137
2023-03-28 13:03:08,115 INFO: Adding DJI_0680.JPG to the reconstruction
2023-03-28 13:03:08,179 INFO: -------------------------------------------------------
2023-03-28 13:03:08,182 INFO: DJI_0681.JPG resection inliers: 207 / 239
2023-03-28 13:03:08,185 INFO: Adding DJI_0681.JPG to the reconstruction
2023-03-28 13:03:08,248 INFO: -------------------------------------------------------
2023-03-28 13:03:25,725 DEBUG: Undistorting image DJI_0712.JPG
2023-03-28 13:03:25,725 DEBUG: Undistorting image DJI_0710.JPG
2023-03-28 13:03:25,725 DEBUG: Undistorting image DJI_0692.JPG
2023-03-28 13:03:25,725 DEBUG: Undistorting image DJI_0727.JPG
2023-03-28 13:03:25,726 DEBUG: Undistorting image DJI_0697.JPG
2023-03-28 13:03:25,727 DEBUG: Undistorting image DJI_0729.JPG
2023-03-28 13:03:25,726 DEBUG: Undistorting image DJI_0690.JPG
2023-03-28 13:03:25,728 DEBUG: Undistorting image DJI_0681.JPG
2023-03-28 13:03:25,729 DEBUG: Undistorting image DJI_0696.JPG
2023-03-28 13:03:25,731 DEBUG: Undistorting image DJI_0709.JPG
2023-03-28 13:03:25,729 DEBUG: Undistorting image DJI_0691.JPG
2023-03-28 13:03:25,732 DEBUG: Undistorting image DJI_0704.JPG
2023-03-28 13:03:25,732 DEBUG: Undistorting image DJI_0686.JPG
2023-03-28 13:03:25,732 DEBUG: Undistorting image DJI_0713.JPG
2023-03-28 13:03:25,734 DEBUG: Undistorting image DJI_0677.JPG
2023-03-28 13:03:25,790 DEBUG: Undistorting image DJI_0735.JPG
2023-03-28 13:03:25,792 DEBUG: Undistorting image DJI_0726.JPG
2023-03-28 13:03:25,732 DEBUG: Undistorting image DJI_0715.JPG
2023-03-28 13:03:25,733 DEBUG: Undistorting image DJI_0717.JPG
2023-03-28 13:03:25,798 DEBUG: Undistorting image DJI_0734.JPG
/code/run.sh: line 9: 27738 Killed python3 $RUNPATH/run.py “$@”
TIME TO COMPLETE : 141.0417 seconds
PS C:\Users\chris\Documents\Study_Images>

PC Setup:

  • I7-12700k
  • RTX 3090 (launching ODM using GPU, but don’t think it’s actually being utilized. Haven’t figured out why yet)
  • 32GB DDR5
  • Windows 11 w/ Docker & PyODM/nodeODM

Wanted to see if anyone has any thoughts or suggestions.

1 Like

Welcome!

Have you had success running the image against ODM?

What size (megapixels) are the images, and what settings are you using for the Task?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.