How to solve following CUDA error "matconvnet"?

조회 수: 2 (최근 30일)
mohammed mahmoud
mohammed mahmoud 2018년 3월 12일
답변: Joss Knight 2018년 3월 14일
cnn_train_dag_dcgan: resetting GPU
Error using gpuDevice (line 26)
An unexpected error occurred during CUDA execution. The CUDA error was:
CUDA_ERROR_UNKNOWN
Error in cnn_train_dag_dcgan>prepareGPUs (line 516)
gpuDevice(opts.gpus)
Error in cnn_train_dag_dcgan (line 90
prepareGPUs(opts, epoch == start+1) ;
Error in get_train_DCGAN (line 130)
[net, info] = cnn_train_dag_dcgan(net, imdb, @getBatchHdd, opts.train, ...
Error in main_start_dcgan (line 57)
get_train_DCGAN(opts.train);

답변 (1개)

Joss Knight
Joss Knight 2018년 3월 14일
Unknown CUDA errors like this are nearly always due to a kernel timeout. If you have a graphics card that is driving your display, and are on Windows, you should disable kernel timeouts by setting the TdrLevel registry key to 0. See https://docs.microsoft.com/en-us/windows-hardware/drivers/display/tdr-registry-keys

카테고리

Help CenterFile Exchange에서 GPU Computing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by