Skip to content

Commit 22bb421

Browse files
author
Dor Rubin
committed
updated readme; republished html
1 parent 15378e3 commit 22bb421

3 files changed

+35
-32
lines changed

QuantizationAwareTrainingWithMobilenetv2.html

Lines changed: 32 additions & 30 deletions
Large diffs are not rendered by default.
-924 KB
Binary file not shown.

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Quantization Aware Training with MobileNet-v2
22

3+
[![View <File Exchange Title> on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/####-file-exchange-title)
4+
35
This example shows how to perform quantization aware training as a way to prepare a network for quantization. Quantization aware training is a method that can help recover accuracy lost due to quantizing a network to use 8-bit scaled integer weights and biases. Networks like MobileNet-v2 are especially sensitive to quantization due to the significant variation in range of values of the weight tensor of the convolution and grouped convolution layers.
46

57
This example shows how pre-processing a network with quantization aware training can produce a quantized network with accuracy on par with the original unquantized network. Note that the values in this table may differ slightly.
@@ -26,7 +28,7 @@ Additional files:
2628

2729
### Requirements
2830

29-
- [MATLAB](https://www.mathworks.com/products/matlab.html) version R2022b or later
31+
- [MATLAB &reg;](https://www.mathworks.com/products/matlab.html) version R2022b or later
3032
- [Deep Learning Toolbox &trade;](https://www.mathworks.com/products/deep-learning.html)
3133
- [Deep Learning Toolbox Model Quantization Library](https://www.mathworks.com/matlabcentral/fileexchange/74614-deep-learning-toolbox-model-quantization-library)
3234

@@ -71,4 +73,3 @@ After training, the network returned from the `trainNetwork` function still has
7173

7274
Copyright 2023 The MathWorks, Inc.
7375

74-
[![View Quantization-Aware-Training-with-Mobilenetv2 on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/74614-deep-learning-toolbox-model-quantization-library)<!---TODO: update link-->

0 commit comments

Comments
 (0)