NetInfo

功能

整个YOLOv3网络的属性。

结构定义

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
struct NetInfo {
    int anchorDim;
    int classNum;
    int bboxDim;
    int netWidth;
    int netHeight;
    std::vector<OutputLayer> outputLayers;
};
struct NetInfo {
    int anchorDim;
    int classNum;
    int bboxDim;
    int netWidth;
    int netHeight;
};

参数说明

参数名

说明

anchorDim

先验框的个数。

classNum

模型可预测的类别数。

bboxDim

目标框的维度,一般为“4”

netWidth

模型输入的宽。

netHeight

模型输入的高。

outputLayers

YOLOv3每个输出池所对应的信息(先验框的属性)。