-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[YOLOV7-QAT] Cannot convert onnx to trt engine #53
Comments
This is the full log
|
|
also, you can change the scale value using |
@hopef 我也遇到了这个问题,但加上您在上面提到的amax.clap(1e-6)后仍然报错。 [01/12/2024-11:24:30] [E] [TRT] ModelImporter.cpp:774: --- End node --- |
Hi @wanghr323 Thank for your Yolov7 QAT.
I follow your tutorial and successful on QAT training.
/usr/src/tensorrt/bin/trtexec --onnx=qat_models/trained_qat/pgie/1/qat.onnx --int8 --fp16 --workspace=1024000 --minShapes=images:1x3x416x416 --optShapes=images:16x3x416x416 --maxShapes=images:32x3x416x416
After that, I convert the qat trained model to onnx then convert the onnx model to trt engine. But I failed on convert onnx to trt engine.
Pls help me to check it
The text was updated successfully, but these errors were encountered: