How to import non-image data in Deep Network Designer

46 visualizaciones (últimos 30 días)
PARASHJYOTI BORAH
PARASHJYOTI BORAH el 27 de Jun. de 2022
Comentada: David Ho el 7 de Jul. de 2022
How do I import non-image, csv data to train LSTM or any deep neural network model in Deep Network Designer?

Respuestas (1)

Garmit Pant
Garmit Pant el 28 de Jun. de 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 comentarios
PARASHJYOTI BORAH
PARASHJYOTI BORAH el 28 de Jun. de 2022
Thank you for your comment.
David Ho
David Ho el 7 de Jul. de 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.

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by