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,900 courses taught by industry experts.

Validate the model

Validate the model

- [Instructor] Let's say you have spent a lot of time on some computer VM project where you have created the data set, created the model, and now you want to deploy the model into the production. Without validation, you cannot deploy the model. Validation is a critical step in the machine learning pipeline that allow us to access the quality of our trained model. In this video, we will explore how we can use the validation mode with the Ultralytics Python package to validate different models that we have created. All the resources used in this video are available in the course code subdirectory 03-06. In the subdirectory, you can see two different models. That is the model that we have created in video two of this chapter with the help of object detection to detect apples. best-segment.pt is the model that we have created in video four of this chapter with the help of image segmentation model for segmentation of apples. We will use these models here and validate them. Let's take a…

Contents