Error in DAGNetwork/predict

1 回表示 (過去 30 日間)
Asim Shahzad
Asim Shahzad 2021 年 2 月 2 日
Calling the matlab function predict gives the following error:
Output argument "varargout{2}" (and maybe others) not assigned during call to "DAGNetwork/predict".
Here is my function. This is from the Object Detection Using YOLO v3 tutorial.
function YPredCell = yolov3Predict(net,XTrain,networkOutputs,anchorBoxMask)
% Predict the output of network and extract the confidence, x, y,
% width, height, and class.
YPredictions = cell(size(networkOutputs));
[YPredictions{:}] = predict(net, XTrain);
YPredCell = extractPredictions(YPredictions, anchorBoxMask);
% Apply activation to the predicted cell array.
YPredCell = applyActivations(YPredCell);
end
Why am I receiving this error?

回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by