SSD Feature Pyramid Nets
Trained on
MS-COCO Data
This family of object detection models introduces a feature pyramid network (FPN) to effectively recognize objects at different scales. To make lower-level feature maps semantically stronger, FPN employ top-down pathways to upsample higher resolution features, which are then merged with features from bottom-up pathway via lateral connections. All models inside the object detection family have separate modules for box and class predictions except for MobileNetV2 models, which share some computations before making the final predictions. In addition, all models had been trained using "Focal Loss," which addresses the imbalance between foreground and background classes that arises within single-stage detectors.
Examples
Resource retrieval
Get the pre-trained net:
NetModel parameters
This model consists of a family of individual nets, each identified by a specific parameter combination. Inspect the available parameters:
Pick a non-default net by specifying the parameters:
Pick a non-default uninitialized net:
Evaluation function
Define the label list for this model:
Write an evaluation function to scale the result to the input image size and suppress the least probable detections:
Basic usage
Obtain the detected bounding boxes with their corresponding classes and confidences for a given image:
Inspect which classes are detected:
Visualize the detection:
Network result
The network computes 12,804 bounding boxes and the probability that the objects in each box are of any given class:
Change coordinate system into a graphics domain:
Visualize all the boxes predicted by the net scaled by their "objectness" measures:
Visualize all the boxes scaled by the probability that they contain a cat:
Superimpose the cat prediction on top of the scaled input received by the net:
Net information
Inspect the number of parameters of all arrays in the net:
Obtain the total number of parameters:
Obtain the layer type counts:
Display the summary graphic:
Resource History
Reference