Create anchor box layer for object detection
An anchor box layer stores anchor boxes for a feature map used in object detection networks.
creates
an anchor box layer, specifying the size of the anchor boxes by using
layer
= anchorBoxLayer(anchorBoxes)anchorBoxes
. The anchorBoxes
input sets the
AnchorBoxes
property.
set properties of the anchor box layer by using one or more name-value pair arguments.
Enclose each property name in quotes.layer
= anchorBoxLayer(anchorBoxes,Name,Value
)
For example, anchorBoxLayer(anchorBoxes,'Name','anchorboxlayer')
creates an anchor box layer with the name "anchorboxlayer" from anchor boxes specified by
anchorBoxes
.
trainSSDObjectDetector
| trainNetwork
(Deep Learning Toolbox)