Training my YOLOv2 object detector failed

1 次查看(过去 30 天)
I have created my network using the pre-trained network resnet18, and with the following code:
numClases = 9;
tamanio = [224 224 3];
anchorBoxes = estimateAnchorBoxes(TrainingEscalado,numClases)
red = resnet18();
arquitectura = yolov2Layers(tamanio,numClases,anchorBoxes,red,"res5b_relu","ReorgLayerSource","res3a_relu")
"TrainingEscalado" is the datastore for training already scaled to network's inputs size. When I import the network into the Deep Network Designer app, I don't have errors, and the same happens when I import the datastore for training.
But as I click train, an error message is displayed with the following content:
And I don't know what to do to fix it, the network already has 9 classes as output so I don't know what fails.

回答(1 个)

yanqi liu
yanqi liu 2022-5-7
yes,sir,may be use yolo v3、v4 to test,such as
https://ww2.mathworks.cn/matlabcentral/fileexchange/72520-yolov3-yolov4-matlab
  1 个评论
Jesús Silva
Jesús Silva 2022-5-8
I don't understand, the problem is the version of YOLO that I'm using? If I use YOLO v3 or v4 it would be fine?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Recognition, Object Detection, and Semantic Segmentation 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by