SSD-MobileNet V2 
                Trained on
                MS-COCO Data
              
              
             
          
        
          
            Released in 2019, this model is a single-stage object detection model that goes straight from image pixels to bounding box coordinates and class probabilities. The model architecture is based on inverted residual structure where the input and output of the residual block are thin bottleneck layers as opposed to traditional residual models. Moreover, nonlinearities are removed from intermediate layers and lightweight depthwise convolution is used. This model is part of the Tensorflow object detection API.
           
        
        
        
          
            Number of layers: 267 |
          
          
            Parameter count: 15,291,106 |
          
          
            Trained size: 63 MB |
          
          
        
        
          
          Examples
          
          Resource retrieval
Get the pre-trained net:
Evaluation function
Define the label list for this model. Integers in the model's output correspond to elements in the label list:
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 1,917 bounding boxes and the probability that the objects in each box are of any given class:
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:
Advanced visualization
Write a function to apply a custom styling to the result of the detection:
Visualize multiple objects, using a different color for each class:
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:
Export to MXNet
Export the net into a format that can be opened in MXNet:
Export also creates a net.params file containing parameters:
Get the size of the parameter file:
The size is similar to the byte count of the resource object:
 
          
          
            Requirements
            
              
                  
                    Wolfram Language
                    
                      12.0
                    
                  
                
              
                (April 2019)
              
              
                or above
              
            
          
          
          
            Resource History
            
          
          
            Reference