Does YOLO only support detect 1 classes? what should i do, if i want to detect 11 classes and numAnchors = 3 ? Does yolo support that?

[detector,info] = trainYOLOv2ObjectDetector(trainingDataForEstimation,lgraph,options);
原因:
网络: The input to the YOLO v2 transform layer must have 12 channels to support 2 anchor boxes and 1 classes. The number of channels must equal
numAnchors * (5 + numClasses). Update the training data, the number of anchor boxes specified in the yolov2Transform layer, or the layers preceding
the transform layer.

댓글 수: 4

thanks, The problem has been solved。references:
Input Arguments
What is the problem here exactly? i am also getting same error and not having 2019b
if classes number > 1, use table define the training data, first column is the image path, second, third, ... are correspond bboxes=[x, y, width, height] values, second,third,...header are the name of class.
Maybe only version as least is 2019b, support trainYOLOv2ObjectDetector function

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2020년 1월 2일

댓글:

2020년 1월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by