From the course: Hands-On AI: Computer Vision Projects with Ultralytics and OpenCV
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
How to benchmarks different models - OpenCV Tutorial
From the course: Hands-On AI: Computer Vision Projects with Ultralytics and OpenCV
How to benchmarks different models
- [Instructor] Once your model is trained and validated, the next step is to evaluate its performance in various real world scenarios. In this video, we will explore the benchmark mode. It is very useful method to access the speed and accuracy of the model across a range of export formats, including torchscript, ONNX, OpenVINO, and many others. Let's get started. In line number one, we have imported the YOLO module from Analytics Python package. In line number three, we are initializing the YOLO model. All the resources used in this video are available in the course code subdirectory 0309. Here in line number three, we are initializing the best dash detect dot PT file, available inside the subdirectory 0309. It's the same model we have created in the video two of this chapter, with the help of object detection algorithm for detection of apples moving on conveyor belt. We will benchmark this model across different export formats. Let's go to line number six to benchmark specific model.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Overview of Ultralytics tasks and modes14m 52s
-
(Locked)
Training an object-detection model and inference16m 54s
-
(Locked)
Auto-annotate detection data to segmentation format9m 10s
-
(Locked)
Training and inference for an image-segmentation model11m 31s
-
(Locked)
How to use the pose estimation model7m 48s
-
(Locked)
Validate the model9m 16s
-
(Locked)
How to use other computer vision models11m 20s
-
(Locked)
How to predict and track the detected objects11m 13s
-
(Locked)
How to benchmarks different models9m 28s
-
(Locked)
Export models to different formats8m 35s
-
-
-