bug about trainNetwork for Trainning Convolutional Neural Network for Regression
1 回表示 (過去 30 日間)
古いコメントを表示
as in demo of Trainning Convolutional Neural Network for Regression,
"[XTrain,~,YTrain] = digitTrain4DArrayData; [XValidation,~,YValidation] = digitTest4DArrayData; .... "
the final train code is "net = trainNetwork(XTrain,YTrain,layers,options);" we can see that XTrain and YTrain are read-ahead. because the data size in the demo is small. but if we are on large scale data, so how to deal with "XTrain" and "YTrain" .
does trainNetwork support "XTrain" and "YTrain" read online for regression?
2 件のコメント
回答 (1 件)
Wentao Du
2018 年 7 月 17 日
Not sure about "read online".
For large datasets, you can create a datastore (see this example using imageDatastore): https://www.mathworks.com/help/nnet/examples/create-simple-deep-learning-network-for-classification.html
More on datastore:
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!