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

Antworten (1)

yanqi liu
yanqi liu am 26 Feb. 2022

0 Stimmen

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 Kommentar

neal paze
neal paze am 26 Feb. 2022
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?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 26 Feb. 2022

Kommentiert:

am 26 Feb. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by