Azzera filtri
Azzera filtri

Error while teaching neural network Alexnet

1 visualizzazione (ultimi 30 giorni)
Mykyta Slyvkanych
Mykyta Slyvkanych il 12 Gen 2018
Commentato: Alison Eele il 15 Gen 2018
Hello. I use Alexnet neural network for lane detection. While reteaching it with new frames of road, i have an error:
An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_LAUNCH_FAILED
I have GeForce 840M GPU. Matlab uses it for teaching.
But when i use CPU for teaching(different PC (without discrete GPU) is used), it works properly, but it takes very long time.
If have any ideas how to solve it, please tell them.
  1 Commento
Alison Eele
Alison Eele il 15 Gen 2018
It is possible you are encountering a kernel execution timeout which is imposed by the operating system on processes running on the GPU for longer than a few seconds. We have more information about it here: https://www.mathworks.com/matlabcentral/answers/99300
After you've encountered that error can you do any other code that interacts with the GPU successfully without restarting MATLAB? e.g.
A=gpuArray.rand(1)
If you can't then I would strongly suspect the execution timeout to be to be the problem.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by