Filter löschen
Filter löschen

Deep Learning - Data no longer exists on the device

6 Ansichten (letzte 30 Tage)
Hanif Juma
Hanif Juma am 11 Apr. 2018
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?

Antworten (2)

Joss Knight
Joss Knight am 15 Apr. 2018
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 Kommentare
Walter Roberson
Walter Roberson am 25 Mär. 2019
Sounds to me as if you are out of GPU memory.
Walter Roberson
Walter Roberson am 6 Nov. 2019
cui comments to Joss Knight:
thank you! my network is running out of GPU memory!

Melden Sie sich an, um zu kommentieren.


Alvaro Lopez Anaya
Alvaro Lopez Anaya am 7 Nov. 2019
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.

Community Treasure Hunt

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

Start Hunting!

Translated by