Ademxapp Model A1
Trained on
Cityscapes Data
Released in 2016 by the University of Adelaide, this model exploits recent progress in the understanding of residual architectures. With only 17 residual units, it is able to outperform previous, much deeper architectures.
Number of layers: 141 |
Parameter count: 124,081,107 |
Trained size: 497 MB |
Examples
Resource retrieval
Get the pre-trained net:
Evaluation function
Write an evaluation function to handle net reshaping and resampling of input and output:
Label list
Define the label list for this model. Integers in the model’s output correspond to elements in the label list:
Basic usage
Obtain a segmentation mask for a given image:
Inspect which classes are detected:
Visualize the mask:
Advanced visualization
Associate classes to colors using the standard Cityscapes palette:
Write a function to overlap the image and the mask with a legend:
Inspect the results:
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
11.3
(March 2018)
or above
Resource History
Reference