yolov5-deepsparse-blogpost icon indicating copy to clipboard operation
yolov5-deepsparse-blogpost copied to clipboard

Why is there no significant change in model size after pruning and quantization?

Open Pass-O-Guava opened this issue 3 years ago • 0 comments

Why is there no significant change in model size after pruning and quantization?

For yolov5n model, I ran the training and export python script and found best.pt 7.4M, best.onnx 2M, however, the original model yolov5n.pt 4.1M.

Why .pt model changed from 4.1M to 7.4M, and why .pt model converted to .onnx model from 7.4M to 2M?

Looking forward to someone's help to answer the reason for this, thanks!

Pass-O-Guava avatar Feb 21 '23 10:02 Pass-O-Guava