Skip to main content

Search

OwLite Help Center

YOLOv5m benchmark Error

Comments

5 comments

  • SqueezeBits

    Hello Emily. Thank you for using OwLite and for reporting the issue you experienced.

    It seems you encountered an unexpected error, which must have caused inconvenience while using OwLite. Thank you for providing detailed information about the environment in which the issue occurred.

    I have just notified our development team about your request, and they will get back to you soon with a response.

    Thank you!

    0
  • Jiyun Park

    Dear Emily,
    Thank you for choosing OwLite and for bringing this issue to our attention.
    You mentioned that you received an ONNX model with quantization through OwLite. To further troubleshoot, we recommend attempting to build the model directly using the trtexec --int8 option within your local TensorRT Docker environment, using the quantized ONNX model downloaded from OwLite. For detailed instructions on building with trtexec, please refer to the following link.
    We appreciate your patience and encourage you to reach out if you need further assistance.

    1
  • Emily

    I did running trtexec for your advice. But I got the error below. As a result, the engine file could not be created using trtexec. The command I used was “trtexec --onnx=yolo_yolov5m_yolov5m_ptq.onnx --saveEngine=test.trt --int8”. 

    0
  • Jiyun Park

    Dear Emily,
    It appears that your ONNX model is currently invalid. The error message you encountered, “TensorRT only supports symmetric quantization,” suggests that certain nodes in your model have the 'symmetric' option set to 'false' when you applied compression through OwLite. Since TensorRT only supports symmetric quantization, I recommend adjusting the compression option to symmetric: true and regenerating the PTQ quantized model.
    To assist with this, you can easily locate the problematic nodes by searching for 'symmetric: false' using Ctrl+F (or Command+F on Mac). This will help you identify and correct the relevant nodes.
    Thank you for your patience while we investigated this issue.
    Best regards, Jiyun Park.

    1
  • Emily

    Thank you for your advice. I followed your advice and changed the option from symmetric:false to True. And then I got a right engine and the benchmark worked. I appreciate your kind and quick response.

    0

Please sign in to leave a comment.