Deep Learning using GPU
2 views (last 30 days)
Show older comments
Hi,
I tried to train data with Deep Learning using the GPU (Nvidia GTX 960M) but I obtained the following error message: "an unexpected error occurred during cuda execution. the cuda error was: CUDA_ERROR_UNKNOW" Despite the fact that I have installed the last Nvidia drivers and when I run "gpuDevice" the computer recognize the GPU.
Please your advice. Thanks, Itai
0 Comments
Answers (1)
Joss Knight
on 1 Aug 2018
The most likely explanation is a kernel timeout, see https://uk.mathworks.com/matlabcentral/answers/410236-cuda-error-after-calculating-mahalanobis-distance-for-large-dataset.
The next most likely is lack of memory not being handled properly on your low power laptop GPU. Try reducing your MiniBatchSize.
Generally, search for CUDA_ERROR or 960M and you'll find a variety of issues that can arise with these laptop chips.
0 Comments
See Also
Categories
Find more on GPU Computing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!