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. code example

Example: tensorflow.python.framework.errors_impl.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.

Mostly an OOM error if your cuDNN is functioning properly.
Try shutting down other processes before running.