Open Slyne opened 2 years ago
from the error message, it seems min value of tensor 3398 is infinite and I didn't see dynamic range of 3398 in the calibration table. What model do you try to calibrate? Would you mind to share it?
from the error message, it seems min value of tensor 3398 is infinite and I didn't see dynamic range of 3398 in the calibration table. What model do you try to calibrate? Would you mind to share it?
Sorry, I removed the tensors with inf, -inf when writing the calibration table after I find this issue. The original calibration files: calibration.zip
The codes are from: https://github.com/wenet-e2e/wenet/tree/main/wenet The script is edited from: https://github.com/wenet-e2e/wenet/blob/main/wenet/bin/recognize_onnx.py recognize_onnx_calibrate.zip
This issue has been automatically marked as stale due to inactivity and will be closed in 7 days if no further activity occurs. If further support is needed, please provide an update and/or more details.
I am facing the same issue. Were you able to find a solution?
Describe the bug Followed the examples: https://github.com/microsoft/onnxruntime-inference-examples/blob/main/quantization/image_classification/trt/resnet50/e2e_tensorrt_resnet_example.py I add the quantization steps into my pipeline. It can collect the calibration data. However, it fails when running with Tensorrt Execution Provider.
Urgency None
System information Dockerfile: https://github.com/microsoft/onnxruntime/blob/master/dockerfiles/Dockerfile.tensorrt With
ARG TRT_VERSION=21.07
changed toARG TRT_VERSION=21.12
Screenshots
Additional context Attach the calibration files generated: calibration.zip
BTW, building with the 21.07 version docker will fail.