Deep Learning - Data no longer exists on the device
6 ビュー (過去 30 日間)
古いコメントを表示
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?
0 件のコメント
回答 (2 件)
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
2019 年 11 月 6 日
cui comments to Joss Knight:
thank you! my network is running out of GPU memory!
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.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!