How to combine multiple inputs and a single output in a datastore?
조회 수: 3 (최근 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!