How to import non-image data in Deep Network Designer

39 ビュー (過去 30 日間)
PARASHJYOTI BORAH
PARASHJYOTI BORAH 2022 年 6 月 27 日
コメント済み: David Ho 2022 年 7 月 7 日
How do I import non-image, csv data to train LSTM or any deep neural network model in Deep Network Designer?

回答 (1 件)

Garmit Pant
Garmit Pant 2022 年 6 月 28 日
Hello Parashhyoti
My understanding of the problem is that you are trying to train an LSTM or any other non-image related deep neural network using the Deep Network Designer and thus want to import data for the same.
In Deep Network Designer, you can import data in the form of Image Data or a Datastore from the workspace as shown below.
To import non-image data, you'd first have to create a datastore object that wroks with the trainNetwork function (eg: TransformedDatastore, CombinedDatastore, Custom mini-batch datastore.)
You can consult the following resource for creating your custom mini-batch datastore:
Alternatively, you can export your network using the Export option in the Designer tab and use the 'trainNetwork' method to train the network using training data in the form cell array of numeric arrays or numeric array created after reading the CSV file.
  2 件のコメント
PARASHJYOTI BORAH
PARASHJYOTI BORAH 2022 年 6 月 28 日
Thank you for your comment.
David Ho
David Ho 2022 年 7 月 7 日
To complement this great answer from @Garmit Pant, for more information on importing non-image data into Deep Netework Designer you can refer to the following documentation page:
For sequences, as Garmit has said, you can either load the data into the MATLAB Workspace (if it fits in memory) and create a combinedDatastore, or use a custom datastore.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangePreprocess Data for Deep Neural Networks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by