bug about trainNetwork for Trainning Convolutional Neural Network for Regression

2 vues (au cours des 30 derniers jours)
Jack Xiao
Jack Xiao le 14 Juil 2018
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 commentaires
Greg Heath
Greg Heath le 14 Juil 2018
So why the use of the term
BUG
?
Greg
Jack Xiao
Jack Xiao le 15 Juil 2018
sorry for the term. but how to solve the problem? does trainNetwork support "XTrain" and "YTrain" read online for regression?

Connectez-vous pour commenter.

Réponses (1)

Wentao Du
Wentao Du le 17 Juil 2018
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:

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by