Deep Learning using GPU
显示 更早的评论
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
回答(1 个)
Joss Knight
2018-8-1
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 GPU Computing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!