Tensorrt quantization bad performance

hello I use int8 calibrator to quantize my yolov5 model,
but get an extrem bad model performance.

mAP reduce to 1 from 50

I’m sure that my preprocess and calibration code are all right.

so Is there any tips to raise my model accuracy?

Hi @lc5104hit,
Can you please check the below link, as it may answer your query.
If the issue persist, request you to share the calibration cache.


I try using relu instead leakyrelu,
the result imporves.

So why this happens?

Maybe modify Leakyrelu to Relu works.