Borrar filtros
Borrar filtros

Error while teaching neural network Alexnet

1 visualización (últimos 30 días)
Mykyta Slyvkanych
Mykyta Slyvkanych el 12 de En. de 2018
Comentada: Alison Eele el 15 de En. de 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 comentario
Alison Eele
Alison Eele el 15 de En. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by