How to combine multiple inputs and a single output in a datastore?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
taicheng chen
2020-3-21
same problem QQ
In my problem, the input images size and numerical data size are different.
Sunusi Abdullahi
2020-3-24
you can use the function of data augment first, to make the size of your inputs the same, then you can concatenate
回答(1 个)
Jayanti
2025-3-26
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!