Tutorial error: Unable to apply MiniBatchFormat value 'SSCB' to output 1 on Yolo V3 Deep Learning

2 ビュー (過去 30 日間)
Geedigit
Geedigit 2020 年 10 月 27 日
コメント済み: Brian Watson 2021 年 7 月 16 日
I am following the MATLAB Tutorial: Object Detection Using Yolo V3 Deep Learning: https://uk.mathworks.com/help/vision/ug/object-detection-using-yolo-v3-deep-learning.html
Whenever I get to the model training step, I try to instantiate a minibatchqueue object. This is the code:
mbqTrain = minibatchqueue(preprocessedTrainingData, 2,...
"MiniBatchSize", miniBatchSize,...
"MiniBatchFcn", @(images, boxes, labels) createBatchData(images, boxes, labels, classNames), ...
"MiniBatchFormat", ["SSCB", ""],...
"DispatchInBackground", dispatchInBackground,...
"OutputCast", ["", "double"]);
Although I have been following this tutorial exactly (haven't changed any parameters, am using the example dataset, etc.) I keep getting the following error:
Error using minibatchqueue (line 319)
Unable to apply MiniBatchFormat value 'SSCB' to output 1.
Caused by:
Error using dlarray (line 145)
Invalid data type. Arguments must be full double, single, or logical arrays.
I am also using the pretrained detector they use and have re-downloaded it several times.
I'm currently running MATLAB 2020b (updated).
  2 件のコメント
Brian Watson
Brian Watson 2021 年 7 月 16 日
Just tried it in 2021a and it still fails. Sorry I don't have an answer.

サインインしてコメントする。

回答 (1 件)

Brian Watson
Brian Watson 2021 年 7 月 16 日
This YOLO example must be run in Matlab version 2021a or it fails.

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by