cuDNN error on Surface Book 2 when running CNN example.

28 views (last 30 days)
Hello,
I have run into an error when trying to train my convolutional neural network. The error is
Error using trainNetwork (line 154)
Unexpected error calling cuDNN: CUDNN_STATUS_EXECUTION_FAILED.
Error in Analysis4 (line 65)
net = trainNetwork(image_datasetTrain,layers,options);
Caused by:
Error using nnet.internal.cnngpu.convolveForward2D
Unexpected error calling cuDNN: CUDNN_STATUS_EXECUTION_FAILED.
I am defining the layers of my network the same as in the CNN deep learning example. The total size of all images in 20MBs.
I am running R2018a on Windows 10 64-bit.
Please provide some guidance on how to fix this issue.

Answers (2)

Aydin Sümer
Aydin Sümer on 3 Dec 2018
I have same error too. I have no idea how can i fix this error. Someone help me to fix this error ?

FSB
FSB on 19 Jan 2019
I have tried putting my variables in gpu first in the following manner:
ile=gpuArray(0.0001);
This was done for all numeric values and it worked for me.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!