Why is the data missing when I use Deep Network Designer for training?Please heip.

1 view (last 30 days)

Answers (1)

Ben on 23 Jun 2022
I typically see this error when the data was on the GPU but that data has since been lost from the GPU.
For example you can reproduce a similar error by simply doing the following:
x = gpuArray(1);
Since you are training in deepNetworkDesigner I would check that your datastore does not contain gpuArray data and does not send data to the GPU. This should be unnecessary as trainNetwork will handle sending data to the GPU - and deepNetworkDesigner is using trainNetwork to do the training.
If this isn't the case could you post some code to show how you set up your datastore?

Community Treasure Hunt

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

Start Hunting!