Unable to import data when using Deep Network Designer
22 views (last 30 days)
Show older comments
I used an example from Generate Experiment Using Deep Network Designer - MATLAB & Simulink - MathWorks 中国 ,But it prompts 'There are no data store variables in the workspace' when I choose to import data in the workspace. I don't know why,Is it because of my data format problem?
0 Comments
Answers (1)
Lokesh
on 29 Sep 2023
Hi shubin,
I see that you are facing issues while trying to import data when using “Deep Network Designer”.
In “Deep Network Designer”, for “Image classification” task you can import image classification data from an “ImageDatastore” or a folder containing subfolders of images from each class. However, for other extended workflows such as numeric feature input, out-of-memory data, image processing, audio and speech processing, you need to use suitable datastore objects.
From the image shared, it appears that there are no datastore variables in your workspace.
To resolve the issue you are facing, you can try creating and using datastore objects that are compatible with the “trainNetwork” function. Some examples of these datastore objects include “AugmentedImageDatastore”, “CombinedDatastore”, “pixelLabelImageDatastore” (from Computer Vision Toolbox), “audioDatastore” (from Audio Toolbox), or even a custom datastore.
You can refer to the below mentioned documentations for more information about constructing and using datastore objects for deep learning applications:
I hope you find this helpful.
Best Regards,
Lokesh
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!