Easy Object Detection with Yolo-NAS

Author:Murphy  |  View: 25188  |  Time: 2025-03-23 11:55:34

YOLO (You only look once) revolutionized the Computer Vision arena. The first version of YOLO was released in 2016 by Joseph Redmon et. al and it smashed benchmarks both in terms of speed and accuracy. When it comes to object detection, YOLO has been a favorite of Data Scientists and Machine Learning engineers and the go-to model when it comes to segmenting entities in images.

Since it was launched, YOLO had many new iterations that improved several setbacks of previous versions, namely:

  • Improved architecture of the underlying Deep Learning models.
  • Implemented alternatives to improve performance, such as data augmentation techniques.
  • Migrated the original Yolo code to use pytorch training and deployment frameworks.
  • Improved detection mechanisms of small objects.

The last version of YOLO is YOLO v9 (https://arxiv.org/abs/2402.13616). one important thing to be aware is that every computer vision and object detection model is evaluated on two parameters: Accuracy (defined by metrics related to computer vision segmentation) __ and Speed (defined by latency in the inference). One example of how CV algorithms are evaluated is shown below:

Comparison of different YOLO models vs. EfficientDet – Image by https://blog.roboflow.com/yolov5-is-here/

In this example, I'm going to show you how to run your own YOLO models on images and videos, so that you can rform object detection and segmentation. The entire code I'm executing is linked here, on this Google Colab Notebook.

Part of the code and blog post was inspired by this great notebook by Harpreet Sahota.

Let's start!


Loading the Model

We'll start by training our own computer vision model…

Of course not, that would be a waste of time

Tags: Artificial Intelligence Computer Vision Data Science Deep Learning Yolo

Comment