I can't use the function minibatchqueue. Maybe I don't know where to find the supporting function 'createBatchData'
7 views (last 30 days)
Show older comments
泽宇 王 on 30 Mar 2021
Commented: 泽宇 王 on 1 Apr 2021
I'm lerning yolo v3 with https://ww2.mathworks.cn/help/vision/ug/object-detection-using-yolo-v3-deep-learning.html?searchHighlight=YOLO&s_tid=srchtitle
In the passage, it says "Use the minibatchqueue function to split the preprocessed training data into batches with the supporting function createBatchData which returns the batched images and bounding boxes combined with the respective class IDs.
code is here:
mbqTrain = minibatchqueue(preprocessedTrainingData, 2,...
"MiniBatchFcn", @(images, boxes, labels) createBatchData(images, boxes, labels, classNames), ...
"MiniBatchFormat", ["SSCB", ""],...
"OutputCast", ["", "double"]);
But I can't use it, because it says the function "createBatchData" is not defined.
So what is the supporting function createBatchData?
Mahesh Taparia on 1 Apr 2021
The function createBatchData supporting function is present in the example of YOLO v3 object detctor. You can find it here. Place this function in the working folder as a separate file or place at the bottom of the training script.
More Answers (0)
Find more on Object Detection 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!