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!