How to combine multiple inputs and a single output in a datastore?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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.

3 Commenti
taicheng chen
il 21 Mar 2020
same problem QQ
In my problem, the input images size and numerical data size are different.
Sunusi Abdullahi
il 24 Mar 2020
you can use the function of data augment first, to make the size of your inputs the same, then you can concatenate
Risposte (1)
Jayanti
il 26 Mar 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 “tabularTextDatastore” depending 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!
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!