minibatchqueue function cannot generate the expected MiniBatchSize
Afficher commentaires plus anciens
As the title states, when I am using minibatchqueue, the data generated is not the batch size I specified, but the full batch.
Here's a very simple code to illustrate the problem:
t_list = dlarray(0:0.001:2,'CB');
mbq = minibatchqueue( ...
arrayDatastore(t_list), ...
MiniBatchFormat='CB',...
MiniBatchSize=200, ...
OutputEnvironment='auto');
next(mbq);
Running this code reveals two things that are not as expected:


I don't know what the problem is. Thanks to the technician for paying attention and giving an answer!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Custom Training Using Automatic Differentiation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!