I'm doing a project on face recognition on Google colab. When I try to execute the following 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)
it gives me this error
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:
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
tensorflow version 2.7.0 CUDA Version: 11.2