Skip to content

INT8 Error #1

@miladfa7

Description

@miladfa7

Hello @nickluo

What is this issue?

 python build_trt.py --onnx_file tracknet_i8.onnx --trt_file trt_i8.engine
INT8 mode enabled for TensorRT.
ONNX file parsed successfully.
[08/11/2025-04:33:57] [TRT] [W] Calibrator is not being used. Users must provide dynamic range for all tensors that are not Int32 or Bool.
[08/11/2025-04:33:57] [TRT] [E] IBuilder::buildSerializedNetwork: Error Code 4: Internal Error (Calibration failure occurred with no scaling factors detected. This could be due to no int8 calibrator or insufficient custom scales for network layers. Please see int8 sample to setup calibration correctly.)
ERROR: Failed to build the engine.
Done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions