ssdMergeLayer
Description
An SSD merge layer merges the outputs of feature maps for subsequent regression and classification loss computation. Use the merged feature maps to compute focal loss for classification and smooth L1 loss for regression.
Creation
Syntax
Description
creates an SSD merge layer, specifying the layer
= ssdMergeLayer(NumChannels,NumInputs)NumChannels
and NumInputs
properties as the number of feature map channels and number of inputs to merge,
respectively.
creates an SSD merge layer and sets the optional layer
= ssdMergeLayer(NumChannels,NumInputs,'Name',Name)Name
property using a name-value pair. Enclose the property name
in single quotes.
For example, ssdMergeLayer(4,6,'Name','sm1')
creates an SSD merge
layer with the name 'sm1'
that merges four dimensions and six feature
maps.
Properties
Examples
Extended Capabilities
Version History
Introduced in R2020a
See Also
trainNetwork
(Deep Learning Toolbox) | trainSSDObjectDetector
Topics
- Get Started with Object Detection Using Deep Learning
- Getting Started with SSD Multibox Detection
- List of Deep Learning Layers (Deep Learning Toolbox)
- Deep Learning in MATLAB (Deep Learning Toolbox)
- Specify Layers of Convolutional Neural Network (Deep Learning Toolbox)