X

Help Articles are product support tips and information straight from the NV5 Geospatial Technical Support team developed to help you use our products to their fullest potential.



18543 Rate this article:
No rating

ENVI Deep Learning training error: CUDNN_STATUS_ALLOC_FAILED

What is the cause of the error 'CUDNN_STATUS_ALLOC_FAILED' when training a model using the ENVI Deep Learning module?

A message that references "CUDNN_STATUS_ALLOC_FAILED" or a "ResourceExhaustedError" is a GPU memory allocation error that often occurs when the graphics card or drivers are not up to specification requirements.

      

CUDNN memory allocation error and ResourceExhaustedError

 

ENVI Deep Learning leverages TensorFlow™ technology to train deep learning models within the ENVI user interface. The underlying TensorFlow deep learning code is optimized for NVIDIA GPUs. GPU acceleration is only supported on NVIDIA GPU cards with CUDA® Compute Capability 3.5 or higher. You can see a list of CUDA-enabled GPU cards at https://developer.nvidia.com/cuda-gpus.

WIth ENVI Deep Learning, we recommend using a GPU with at least 8 GB of memory and it must meet the NVIDIA® driver version requirements (384.x or higher).  While you can run the Deep Learning module with a CPU rather than GPU, it is not recommended because the deep learning training process is computationally intensive and you will greatly benefit from the use of a dedicated GPU.

If you encounter a memory allocation error in Deep Learning, there are a couple of settings you can try to resolve the error and allow the training to continue.  

  1. First try to reduce the Patch_Size parameter when initializing a new model. The default value is 572, try a much smaller value and see what works.
  2. Adjust the Number of Patches per Batch, in the Train task. It is usually best to leave it at the default and let ENVI decide what value to use, but in cases where memory errors persist, it may help to set the value to 2 to begin with, then increase if possible to make training faster.

For more information on ENVI Deep Learning please see the FAQ.

 

 

Created 5/20/2019 - mm

Reviewed 5/21/2019 - e.iturrate

Please login or register to post comments.
Featured

End-of-Life Policy Enforcement for ENVI 5.3 / IDL 8.5 and Earlier Versions

5/6/2024

April 1, 2024 Dear ENVI/IDL Customer,  We are reaching out to notify you of our supported... more »

How to Upgrade licenses to ENVI 6.x / IDL 9.x

12/5/2023

What is the new Upgrade function? Starting with ENVI 6.0 and IDL 9.0, we have implemented an... more »

What to do if the 'License Administrator - License Server' for the Next-Generation License Server does not start?

6/13/2023

Background: With the release of ENVI 5.7 & IDL 8.9 and the corresponding Next-Generation licensing... more »

Next-Generation Licensing FAQ

4/28/2023

  NV5 Geospatial has adopted a new licensing technology for all future releases of our ENVI, IDL... more »

The IDL Virtual Machine

6/6/2013

What is the IDL Virtual Machine? An IDL Virtual Machine is a runtime version of IDL that can... more »