How to combine multiple inputs and a single output in a datastore?

3 visualizaciones (últimos 30 días)
Sungkun
Sungkun el 7 de En. de 2020
Respondida: Jayanti el 26 de Mzo. de 2025
Hi,
As I know, a function of combine can make a datastore containing several datastores. But here, in order to use "trainnetwork" for deep learning, we have to use only one datastore. How can I seperate input datastores to the output one to train my network? I guess labels of input parts may have to be created.
I will use two inputs (images + numerical data) and one output (images) with unet which is already built in Matlab.
2020-01-07_1-31-04.jpg
  3 comentarios
taicheng chen
taicheng chen el 21 de Mzo. de 2020
same problem QQ
In my problem, the input images size and numerical data size are different.
Sunusi Abdullahi
Sunusi Abdullahi el 24 de Mzo. de 2020
you can use the function of data augment first, to make the size of your inputs the same, then you can concatenate

Iniciar sesión para comentar.

Respuestas (1)

Jayanti
Jayanti el 26 de Mzo. de 2025
Hi Sungkun,
I found a similar Matlab answer related to your query. This answer explains how to create and combine datastores for multiple inputs.
You can use “imageDatastore” for input and output images. For numerical data, you can use “arrayDatastore or “tabularTextDatastoredepending on the format of your data.
I am also attaching the documentation link on various datastores for your reference.
Then use the “combine” function to combine multiple datastores into single datastores.
Hope it will be helpful!

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by