title: 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
body: <p>I'm doing a project on face recognition on Google colab. When I try to execute the following code</p>
  <pre><code>H = model.fit(
      aug.flow(trainX, trainY, batch_size=BS),
      steps_per_epoch=len(trainX) // BS,
      validation_data=(testX, testY),
      validation_steps=len(testX) // BS,
      epochs=EPOCHS)
  </code></pre>
  <p>it gives me this error</p>
  <pre><code>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 model/Conv1/Conv2D
   (defined at /usr/local/lib/python3.7/dist-packages/keras/layers/convolutional.py:238)
  ]] [Op:__inference_train_function_7525]
  
  Errors may have originated from an input operation.
  Input Source operations connected to node model/Conv1/Conv2D:
  In[0] IteratorGetNext (defined at /usr/local/lib/python3.7/dist-packages/keras/engine/training.py:866)  
  In[1] model/Conv1/Conv2D/ReadVariableOp:
  </code></pre>
  <p>There is a lot more in the error it goes on..
  and I did try restarting the runtime and most solutions to this problem are on local machines.
  Please help me out if anyone knows the solution</p>
  <p>tensorflow version 2.7.0
  CUDA Version: 11.2</p>