How to save cell data to datastore?
3 次查看(过去 30 天)
显示 更早的评论
My data is from image.I want to save it to datastore to do deep learning.I cannot get suit way.


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!