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 Center および File ExchangeGPU Computing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by