# CNN Training Error

**URL:** <https://forums.developer.nvidia.com/t/cnn-training-error/227597>\
**Category:** cuDNN\
**Created:** [September 11, 2022, 3:40pm UTC](https://forums.developer.nvidia.com/t/cnn-training-error/227597 "2022-09-11T15:40:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user137355](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@user137355](https://forums.developer.nvidia.com/u/user137355)\
**Post date:** [September 11, 2022, 3:40pm UTC](https://forums.developer.nvidia.com/t/cnn-training-error/227597/1 "2022-09-11T15:40:12Z")

</div>

Fundamentals of Deep Learning

03\_aasl\_cnn.ipynb  
model.fit(x\_train, y\_train, epochs=20, verbose=1, validation\_data=(x\_valid, y\_valid))

I found the below error on AWS provided by NVIDIA.  
Please solve it

UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.  
[[node sequential\_1/conv2d\_3/Conv2D (defined at :1)]] [Op:\_\_inference\_train\_function\_3683]

Function call stack:  
train\_function

---

<div class="post-metadata">

**Author:** ![spolisetty](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/spolisetty/32/14047_2.png) [@spolisetty](https://forums.developer.nvidia.com/u/spolisetty)\
**Post date:** [September 21, 2022, 5:42pm UTC](https://forums.developer.nvidia.com/t/cnn-training-error/227597/2 "2022-09-21T17:42:28Z")

</div>

Hi,

This could be due to incompatible platform (CUDA, Tensorflow, Drivers versions) or you’re running out of memory.  
Please refer to the following support matrix doc and installation doc, make sure cuDNN is available correctly.

> **[Support Matrix :: NVIDIA Deep Learning cuDNN Documentation](https://docs.nvidia.com/deeplearning/cudnn/support-matrix/index.html)**
>
> These support matrices provide a look into the supported versions of the OS, NVIDIA CUDA, the CUDA driver, and the hardware for the NVIDIA cuDNN 8.5.0 release.

> **[Installation Guide :: NVIDIA Deep Learning cuDNN Documentation](https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html)**
>
> This cuDNN 8.5.0 Installation Guide provides step-by-step instructions on how to install and check for correct operation of NVIDIA cuDNN on Linux and Microsoft Windows systems.

Thank you.
