When I using a trained YOLOv3 model to predict, there is always this error

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.
[[{{node conv2d_1/convolution}}]]
[[{{node boolean_mask_3/GatherV2}}]]

When I input the image I want to use, then it crashes.
I can train but cannot predict with trained model.
I want to know how to overcome this problem.

Enviroment:
Python 3.6
Tensorflow 1.13.2
CUDA 10.0
cuDNN 10.0

GPU: RTX 2080 Ti