Squeezenet v1.1

April 16, 2026 ยท View on GitHub

Use case : Image classification

Model description

SqueezeNet is a convolutional neural network that uses design strategies to reduce the number of parameters, particularly with the use of fire modules that "squeeze" parameters using 1x1 convolutions. SqueezeNet 1.1 has 2.4x less computation and slightly fewer parameters than SqueezeNet 1.0, without sacrifying accuracy.

The model is quantized in int8 using tensorflow lite converter.

Network information

Network InformationValue
FrameworkTensorFlow Lite
MParams725,061
Quantizationint8
Provenancehttps://github.com/forresti/SqueezeNet
Paperhttps://arxiv.org/pdf/1602.07360.pdf

The models are quantized using tensorflow lite converter.

Network inputs / outputs

For an image resolution of NxM and P classes

Input ShapeDescription
(1, N, M, 3)Single NxM RGB image with UINT8 values between 0 and 255
Output ShapeDescription
(1, P)Per-class confidence for P classes in FLOAT32
PlatformSupportedOptimized
STM32L0[][]
STM32L4[x][]
STM32U5[x][]
STM32H7[x][x]
STM32MP1[x][]
STM32MP2[x][]
STM32N6[x][]

Performances

Metrics

  • Measures are done with default STM32Cube.AI configuration with enabled input / output allocated option.
  • tfs stands for "training from scratch", meaning that the model weights were randomly initialized before training.

Reference NPU memory footprint on food101 dataset (see Accuracy for details on dataset)

ModelFormatResolutionSeriesInternal RAMExternal RAMWeights FlashSTEdgeAI Core version
SqueezeNet v1.1 tfs Int8128x128x3STM32N6240.250.0753.384.0.0
SqueezeNet v1.1 tfs Int8224x224x3STM32N6803.520.0753.384.0.0

Reference NPU inference time on food101 dataset (see Accuracy for details on dataset)

ModelFormatResolutionBoardExecution EngineInference time (ms)Inf / secSTEdgeAI Core version
SqueezeNet v1.1 tfs Int8128x128x3STM32N6570-DKNPU/MCU3.82261.784.0.0
SqueezeNet v1.1 tfs Int8224x224x3STM32N6570-DKNPU/MCU7.97125.474.0.0

Reference MCU memory footprint based on Flowers dataset (see Accuracy for details on dataset)

ModelFormatResolutionSeriesActivation RAMRuntime RAMWeights FlashCode FlashTotal RAMTotal FlashSTEdgeAI Core version
SqueezeNet v1.1 tfs Int8128x128x3STM32H7271.84 KiB3.72 KiB716.71 KiB45.79 KiB275.56 KiB762.5 KiB4.0.0
SqueezeNet v1.1 tfs Int8224x224x3STM32H7829.09 KiB3.72 KiB716.71 KiB45.85 KiB832.81 KiB762.56 KiB4.0.0

Reference MCU inference time based on Flowers dataset (see Accuracy for details on dataset)

ModelFormatResolutionBoardExecution EngineFrequencyInference time (ms)STEdgeAI Core version
SqueezeNet v1.1 tfs Int8128x128x3STM32H747I-DISCO1 CPU400 MHz216.13 ms4.0.0
SqueezeNet v1.1 tfs Int8224x224x3STM32H747I-DISCO1 CPU400 MHz693.96 ms4.0.0

Reference MPU inference time based on Flowers dataset (see Accuracy for details on dataset)

ModelFormatResolutionQuantizationBoardExecution EngineFrequencyInference time (ms)%NPU%GPU%CPUX-LINUX-AI versionFramework
SqueezeNet v1.1 tfs Int8128x128x3per-channel**STM32MP257F-DK2NPU/GPU800 MHz9.419.7090.300v6.1.0OpenVX
SqueezeNet v1.1 tfs Int8224x224x3per-channel**STM32MP257F-DK2NPU/GPU800 MHz30.938.4591.550v6.1.0OpenVX
SqueezeNet v1.1 tfs Int8128x128x3per-channelSTM32MP157F-DK22 CPU800 MHz45.27NANA100v6.1.0TensorFlowLite 2.18.0
SqueezeNet v1.1 tfs Int8224x224x3per-channelSTM32MP157F-DK22 CPU800 MHz145.33NANA100v6.1.0TensorFlowLite 2.18.0
SqueezeNet v1.1 tfs Int8128x128x3per-channelSTM32MP135F-DK21 CPU1000 MHz71.93NANA100v6.1.0TensorFlowLite 2.18.0
SqueezeNet v1.1 tfs Int8224x224x3per-channelSTM32MP135F-DK21 CPU1000 MHz235.63NANA100v6.1.0TensorFlowLite 2.18.0

** To get the most out of MP25 NPU hardware acceleration, please use per-tensor quantization

** Note: On STM32MP2 devices, per-channel quantized models are internally converted to per-tensor quantization by the compiler using an entropy-based method. This may introduce a slight loss in accuracy compared to the original per-channel models.

Accuracy with Flowers dataset

Dataset details: link , License CC BY 2.0 , Quotation[1] , Number of classes: 5, Number of images: 3 670

ModelFormatResolutionTop 1 Accuracy
SqueezeNet v1.1 tfs Float128x128x380.93 %
SqueezeNet v1.1 tfs Int8128x128x380.93 %
SqueezeNet v1.1 tfs Float224x224x385.29 %
SqueezeNet v1.1 tfs Int8224x224x383.24 %

Accuracy with Food-101 dataset

Dataset details: link, Quotation[[3]](# 3) , Number of classes: 101 , Number of images: 101 000

ModelFormatResolutionTop 1 Accuracy
SqueezeNet v1.1 tfs Float128x128x360.28 %
SqueezeNet v1.1 tfs Int8128x128x360.17 %
SqueezeNet v1.1 tfs Float224x224x368.08 %
SqueezeNet v1.1 tfs Int8224x224x367.3 %

Accuracy with Plant-village dataset

Dataset details: link , License CC0 1.0, Quotation[2] , Number of classes: 39, Number of images: 61 486

ModelFormatResolutionTop 1 Accuracy
SqueezeNet v1.1 tfs Float128x128x399.77 %
SqueezeNet v1.1 tfs Int8128x128x399.69 %
SqueezeNet v1.1 tfs Float224x224x399.88 %
SqueezeNet v1.1 tfs Int8224x224x399.74 %

Retraining and Integration in a simple example:

Please refer to the stm32ai-modelzoo-services GitHub here

References

[1] "Tf_flowers : tensorflow datasets," TensorFlow. [Online]. Available: https://www.tensorflow.org/datasets/catalog/tf_flowers.

[2] J, ARUN PANDIAN; GOPAL, GEETHARAMANI (2019), "Data for: Identification of Plant Leaf Diseases Using a 9-layer Deep Convolutional Neural Network", Mendeley Data, V1, doi: 10.17632/tywbtsjrjv.1

[3] L. Bossard, M. Guillaumin, and L. Van Gool, "Food-101 -- Mining Discriminative Components with Random Forests." European Conference on Computer Vision, 2014.