TensorRT deployment Support, Pre-Processing alignment and more #330
zhiqwang
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This release provides TensorRT deployment support both for Python and C++ interface and supports pre-processing alignment with the official yolov5.
Highlights
Use yolort to deploy YOLOv5 on TensorRT
Unlike other pipelines that deal with YOLOv5 on TensorRT, we embed the whole post-processing into the serialized engine with TensorRT's
EfficientNMS_TRT
plugin. This pipeline could simplify deployment and gain in speed due to TensorRT's efficient implementation of this plugin. Check out this tutorial detailing yolort's model conversion and use cases. Here is a Python pipeline to deploy YOLOv5 on TensorRT.register_nms
inYOLOGraphSurgeon
#252, Refactor module structure for exporting TensorRT #254, Remove expired parameters in detect.py #263, Add unittests for YOLOGraphSurgeon #275, UseEfficientNMS_TRT
plugin when exporting TensorRT #288, Add TensorRT installation instructions to tutorial #311, Refactor TensorRT engine export #312, Support exporting TensorRT serialized engine in CLI tools #326)LogitsDecoder
into trt_helper.py and fix docstrings #256, Remove unused parameters in PredictorTRT #259, Fix TensorRT Python examples #283, Add ablation experiment results withEfficientNMS_TRT
#290, Refactoring TensorRT Python interface #307, Add pre-processing inPredictorTRT
pipeline #309)Alignment with the official yolov5 Pre-Processing
Pre-processing misalignment has been an obstacle to getting yolort to land, and we've fixed that in this release.
Backwards Incompatible Changes
run_on_image
function inPredictorORT
(EnhancePredictorORT
to adapt to more scenarios #327)Improvement
SPPF
toSPP
for downstream compatible (RevertSPPF
toSPP
#240)image_size
configurable in export_model.py #250, Fix list expanding in export_model.py #264, Fix arguments in export_model.py #269)PredictorORT
to adapt to more scenarios (Refactor ONNX export and tutorial #319, Support multiple batches for exporting ONNX with pre-processing #320, EnhancePredictorORT
to adapt to more scenarios #327)Bugfixes
Documentation improvements
YOLOTransform
#308, Fix docs and add docstrings forYOLOv5
#315)Code Quality
Contributors
We're grateful for our community, which helps us improving yolort by submitting issues and PRs, and providing feedback and suggestions. The following persons have contributed patches for this release:
@datumbox @lzmisscc @mattpopovich @ncnnnnn @q3394101 @ShiquanYu @yang-gis @2428513107
Special thanks to @ShiquanYu for his great contributions on TensorRT C++ example!
This discussion was created from the release TensorRT deployment Support, Pre-Processing alignment and more.
Beta Was this translation helpful? Give feedback.
All reactions