How to save cell data to datastore?
1 回表示 (過去 30 日間)
古いコメントを表示
My data is from image.I want to save it to datastore to do deep learning.I cannot get suit way.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/907515/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/907520/image.png)
0 件のコメント
回答 (1 件)
yanqi liu
2022 年 2 月 26 日
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])
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!