Effacer les filtres
Effacer les filtres

How to import non-image data in Deep Network Designer

39 vues (au cours des 30 derniers jours)
PARASHJYOTI BORAH
PARASHJYOTI BORAH le 27 Juin 2022
Commenté : David Ho le 7 Juil 2022
How do I import non-image, csv data to train LSTM or any deep neural network model in Deep Network Designer?

Réponses (1)

Garmit Pant
Garmit Pant le 28 Juin 2022
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 commentaires
PARASHJYOTI BORAH
PARASHJYOTI BORAH le 28 Juin 2022
Thank you for your comment.
David Ho
David Ho le 7 Juil 2022
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.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by