Introduce yolort.runtime interface #187
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 improves support of
ONNXRuntime
by introducing theyolort.runtime
interface and adding a C++ interface example. It also improves support for loading the checkpoint trained withultralytics/yolov5
.Highlights
Intruduce the yolort.runtime Interface
We introduce the
yolort.runtime
interface to accelerate the application on the Python frontend. For example, you can define the runtime and do inferencing withONNXRuntime
as followsONNXRuntime C++ Inference Example
We adopt the dynamic shape mechanism when exporting the
ONNX
model, and within this, we can embed both pre-processing (letterbox
) and post-processing (nms
) into the model graph, which simplifies the deployment strategy. And @itsnine have provided an example on how to use it in here.Load Checkpoint from Official YOLOv5
We now provide an interface for loading the checkpoint weights trained from the official
yolov5
directly.Backwards Incompatible Changes
yolort.v5
(Support loading model weight from ultralytics #167)YOLOModule
toYOLOv5
(Refactorload_from_yolov5
inYOLOv5
#179)New Features
build_targets
inSetCriterion
#143)load_from_yolov5
inYOLOv5
#179)yolort.runtime
interface (Refactor ONNXRuntime Python interface #176, Add ONNXRuntime python inference. #178)Improvement
Bugfixes
Documents
This discussion was created from the release Introduce yolort.runtime interface.
Beta Was this translation helpful? Give feedback.
All reactions