How to solve following CUDA error "matconvnet"?
2 views (last 30 days)
Show older comments
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);
0 Comments
Answers (1)
Joss Knight
on 14 Mar 2018
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
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!