フィルターのクリア

Deep Learning - Data no longer exists on the device

6 ビュー (過去 30 日間)
Hanif Juma
Hanif Juma 2018 年 4 月 11 日
回答済み: Alvaro Lopez Anaya 2019 年 11 月 7 日
I got the following error when trying to implement a deep learning NN in MATLAB.
Error using trainNetwork (line 154) The data no longer exists on the device.
Caused by:
Error using nnet.internal.cnngpu.batchNormalizationForwardTrain
The data no longer exists on the device.
Any suggestions?

回答 (2 件)

Joss Knight
Joss Knight 2018 年 4 月 15 日
This would happen if you are resetting the device or switching device using reset or gpuDevice. Perhaps you have a custom layer which is innocuously calling gpuDevice(1); this is resetting the device and invalidating all GPU data.
  7 件のコメント
Walter Roberson
Walter Roberson 2019 年 3 月 25 日
Sounds to me as if you are out of GPU memory.
Walter Roberson
Walter Roberson 2019 年 11 月 6 日
cui comments to Joss Knight:
thank you! my network is running out of GPU memory!

サインインしてコメントする。


Alvaro Lopez Anaya
Alvaro Lopez Anaya 2019 年 11 月 7 日
In my case, I had similar problems, despite of the fact that I have a gtx1080Ti.
As Joss said, reducing the MiniBatchSize solved my problem. It's all about the training options.

カテゴリ

Help Center および File ExchangeParallel and Cloud についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by