How to save cell data to datastore?

My data is from image.I want to save it to datastore to do deep learning.I cannot get suit way.

回答 (1 件)

yanqi liu
yanqi liu 2022 年 2 月 26 日

0 投票

yes,sir,may be make it as 4-D format,such as
XTrain2=(reshape(XTrain, [224,224,3,your_data_number]));
then,make inputLayer
imageInputLayer([224,224,3])

1 件のコメント

neal paze
neal paze 2022 年 2 月 26 日
I need do multiple-input deep learning,if I want use trainNetwork,the input must be combinedatastore or transformdatastore.Can my 4-D format be a datastore?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

質問済み:

2022 年 2 月 26 日

コメント済み:

2022 年 2 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by