Getting Error while training cnn

Getting a error whil training a cnn :

UnknownError: 2 root error(s) found.
(0) Unknown: 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 conv2d/Conv2D}}]]
[[loss/mul/_113]]
(1) Unknown: 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 conv2d/Conv2D}}]]
0 successful operations.
0 derived errors ignored.

Honestly, in my experience, this error can originate from a lot of sources: Faulty CUDA installation, Faulty cuDDN installation, corrupt tensorflow-gpu installation, Driver mismatch.

Your best bet is making a clean conda environment with tennsorflow-gpu installed:

conda create -n tensor anaconda tensorflow-gpu

where tensor is the name of the environment or using Google Colab (Recommended).

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.