You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -12,8 +12,9 @@ The Model Compression Toolkit (MCT) offers numerous functionalities to compress
12
12
13
13
Outlined below are a series of steps aimed at recovering lost accuracy resulting from compression with MCT. Some steps may be applicable to your model, while others may not.
14
14
15
+
For overview of XQuant Extension Tool, see `About XQuant Extension Tool <https://sonysemiconductorsolutions.github.io/mct-model-optimization/guidelines/XQuant_Extension_Tool.html>`_ [1].
15
16
16
-
Quantization Troubleshooting for MCT[1]
17
+
Quantization Troubleshooting for MCT
17
18
============================================
18
19
19
20
**1. Judgeable Troubleshoots**
@@ -48,6 +49,4 @@ If quantization accuracy of your model does not improve after reading Judgeable
48
49
49
50
References
50
51
============================================
51
-
[1] `Quantization Troubleshooting for MCT <https://github.com/SonySemiconductorSolutions/mct-model-optimization/tree/main/quantization_troubleshooting.md>`_
Copy file name to clipboardExpand all lines: docs/docs_troubleshoot/_sources/troubleshoots/outlier_removal.rst.txt
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Such outliers can mess up the selection of quantization parameters.
15
15
16
16
Trouble Situation
17
17
==============================
18
-
The quantization accuracy may degrade when there are outlier activations in the quantized layers of your model.
18
+
The quantization accuracy may degrade when there are outliers (activation values far from the average activation of representative dataset) in the quantized layers of your model.
19
19
20
20
For example, you can check if activation tensors have outliers by visualizing the histograms in TensorBoard(**thresholds_selection** in the below image).
21
21
@@ -32,3 +32,22 @@ Set ``z_threshold`` to a value. Typical value range is between 5.0 and 20.0.
<spanid="ug-index"></span><h1>TroubleShooting Manual (MCT XQuant Extension Tool)<aclass="headerlink" href="#troubleshooting-manual-mct-xquant-extension-tool" title="Link to this heading">¶</a></h1>
43
43
<sectionid="overview">
44
44
<h2>Overview<aclass="headerlink" href="#overview" title="Link to this heading">¶</a></h2>
45
45
<p>The Model Compression Toolkit (MCT) offers numerous functionalities to compress neural networks with minimal accuracy lost. However, in some cases, the compressed model may experience a significant decrease in accuracy. Fear not, as this lost accuracy can often be reclaimed by adjusting the quantization configuration or setup.</p>
46
46
<p>Outlined below are a series of steps aimed at recovering lost accuracy resulting from compression with MCT. Some steps may be applicable to your model, while others may not.</p>
47
+
<p>For overview of XQuant Extension Tool, see <aclass="reference external" href="https://sonysemiconductorsolutions.github.io/mct-model-optimization/guidelines/XQuant_Extension_Tool.html">About XQuant Extension Tool</a> [1].</p>
0 commit comments