I am not able to use the function minibatchqueue. I get the error as "Unrecognized function or variable 'minibatchqueue'."
Show older comments
Part of the code:
mbqTrain = minibatchqueue(preprocessedTrainingData, 2,...
"MiniBatchSize", miniBatchSize,...
"MiniBatchFcn", @(images, boxes, labels) createBatchData(images, boxes, labels, classNames), ...
"MiniBatchFormat", ["SSCB", ""],...
"DispatchInBackground", dispatchInBackground,...
"OutputCast", ["", "double"]);
I am practicing YOLO V3 object detection using matlab. While I was trying out the code, I get this error
"Unrecognized function or variable 'minibatchqueue'."
I come to understand that minibatchqueue is an inbuilt function in matlab which is used to create mini-batches for deeplearning.
In that case why am I getting this error?
How do i fix it?
Thank You
2 Comments
Iuliu Ardelean
on 11 Jan 2021
Hi -- I had the same problem but updating to R2020b fixed it for me.
泽宇 王
on 1 Apr 2021
I'm also having the problem. Did you fix it?
Answers (1)
Steven Lord
on 22 Nov 2020
Edited: Steven Lord
on 7 May 2021
0 votes
According to the documentation page this function was introduced in Deep Learning Toolbox in release R2020b. Do you have this toolbox installed (you can check this using the ver function) and are you using release R2020b or later (ver will also give you this information.)
Also according to that documentation page, the first input (ds) must be a datastore array. Is preprocessedTrainingData a datastore?
[SL: edited to correct release information. The documentation says it was released in R2020b not R2020a as I had originally stated.]
5 Comments
Mohammad Chand Khan
on 23 Nov 2020
Abdullah Othman
on 24 Nov 2020
I am having the same problem Mohammed. I am trying to apply an example of a GAN in here (https://www.mathworks.com/help/deeplearning/ug/train-generative-adversarial-network.html)
I have the Deep Learning toolbox in Release 2020a. I uninstalled the toolbox and installed again just in case, but the problem persists.
Stephen Bradshaw
on 24 Nov 2020
I also have the issue and as above havethe Toolboxes installed and am using 2020a. Please advise...
Catherine Cai
on 4 Mar 2021
I have the same issue when trying the example of GAN (https://www.mathworks.com/help/deeplearning/ug/train-generative-adversarial-network.html). My matlab is R2020a version with Deep Learning Toolbox.
Steven Lord
on 7 May 2021
Going back, it appears I made a mistake. This function was introduced in release R2020b according to its documentation page not R2020a.
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!