PaddleSlim
PaddleSlim copied to clipboard
Add Quant Analyzer & YoLov6 Demo
Quant Analyzer provides:
- compute the sensitivity of the model by quantizing layer by layer; (sensitivity is expressed as model accuracy for now)
- rank the sensitivity which can show which layer is not suitable for quantization
- plot the histogram of tensors; (you can choose the number of tensors you want to visualize)
- automatically load and save checkpoint since there may be too many layers to be analyzed and it will be sad if the program breaks off