Unable to import data when using Deep Network Designer

22 ビュー (過去 30 日間)
shubin ma
shubin ma 2022 年 4 月 18 日
回答済み: Lokesh 2023 年 9 月 29 日
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?

回答 (1 件)

Lokesh
Lokesh 2023 年 9 月 29 日
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

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by