Glenn Jocher: What is New in YOLO v5?
Key Takeaways
Glenn Jocher discusses the new features in YOLO v5, including auto anchor, which uses a genetic algorithm to automatically find optimal anchors for custom datasets, and mosaic augmentation, which improves object detection performance.
Full Transcript
[Music] i think you started ultralytics for similar motivations to why we started roboflow which is the writing is is there for making these technologies accessible and usable for any variety of industries being able to train a custom detector that works successfully to find airplane parts to sushi detection to solving board games there's an infinite number of things that we could detect and understand it's a question of making sure that's accessible to everyday people and so now with that with that context i think that that's a phenomenal segue into this is why you've put out yolo v5 and so i do want to mention so that in your v4 you're credited with a notable acknowledgement because you introduced mosaic augmentation which again is an augmentation technique that takes advantage of almost like copying and pasting portions of image on top of each other it's almost like a cut mix but for object detection is maybe a fair way of describing it and so i would love to hear i mean so the motivations for yolova are accessibility ease of training high quality performance quick inference speeds i'd love to hear a bit about what you think yolo v5 does for accessibility that you think other models in the yolo family might not yet do and then a bit about what's different and what's new yeah sure so on the accessibility front let's see so i can give you a nice example of that so one of the issues that i saw so in my yolo v3 repo i just started working on it by myself and when more and more people started noticing it and they started raising their issues when they tried to train their custom datasets and i noticed that a lot of these custom data sets have objects which are not quite under the same i guess distribution of aspect ratios that you see in the coco dataset which is what the models are typically trained on so i realized that a lot of people were training models with anchors they're called that were designed for a different data set so i started working on code to automatically allow you to fit new anchors to your data i worked on this for a while and i introduced this using a k-means method which was the standard method at the time and then i followed it up with a second stage which was an evolutionary algorithm a genetic algorithm which would take the result of the key means anchors i use those as an initial starting point and then of all your anchors through up to several thousand generations on the actual cost function that the model is going to be trained on so rather than then use the k-means function which has i guess like a limited subset of cost functions this would allow you to actually evolve the anchors using the same types of losses that we're going to be seeing in training so i thought this would work better and it did work better to a certain extent but it actually wasn't enough because this manual step was a bit complicated people had to take the results paste them into their model configuration files sometimes the order would get a little screwy so there's a lot of places to break this method that i developed so in yolob5 i actually took this a step further something i call auto anchor and what this does is when you load up your custom data set you start training without having to do anything the code will look at your anchors and it'll compare them against your data and if they don't fit well there's a determination that they fall below a certain matching threshold then it will just start training new anchors automatically using the same method it'll get some k means and initial guesses and then it'll evolve new anchors using a genetic algorithm and then it'll turn around and automatically place these new anchors back into your model and train the model and save the model with these new anchors so there's not a single thing you need to do so if somebody shows up and they have one of these special data sets where they're fitting like long rectangles or vertical rectangles then hopefully the new repository will handle that a lot better much more automatically and much more seamlessly than anything in the past that i've seen really so this is just an example of like one of the small steps i've taken in many different aspects to try and increase the robustness and i guess the out of the box results you can say from someone coming in and using this for the first time that's fantastic that and i mean makes so much sense i remember yellow v3 struggling and actually i did hey means to determine where my anchor should be not even thinking about the or noticing the genetic technique that you'd published for making that even more robust [Music]
Original Description
Glenn Jocher, the author of YOLO v5 and founder of Ultralytics, joined Roboflow for an interview. In this video, Glenn explains what is new in YOLOv5, including auto finding anchors with a genetic algorithm and accessibility.
Subscribe to see more interviews: https://bit.ly/rf-yt-sub
Read more about anchor boxes: https://blog.roboflow.ai/what-is-an-anchor-box/
More about Ultralytics: https://www.ultralytics.com/
Follow us on Twitter: https://twitter.com/roboflowAI
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Roboflow · Roboflow · 14 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
▶
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
YOLOv3 PyTorch Notebook Tutorial
Roboflow
How to Train YOLOv4 on a Custom Dataset (PyTorch)
Roboflow
How to Train YOLOv5 on a Custom Dataset
Roboflow
How to Use the Roboflow Dataset Health Check
Roboflow
What is Mean Average Precision (mAP)?
Roboflow
How to Use the Roboflow Model Library
Roboflow
How to Train EfficientDet in TensorFlow 2 Object Detection
Roboflow
How to Train YOLO v4 Tiny (Darknet) on a Custom Dataset
Roboflow
Ask the Roboflow Team Anything - Episode 1
Roboflow
Exploring The COCO Dataset
Roboflow
Community Spotlight: Improving Uno with Computer Vision
Roboflow
Mosaic Data Augmentation - Deep Dive
Roboflow
Hands on with the OAK-1
Roboflow
Glenn Jocher: What is New in YOLO v5?
Roboflow
How to Use Amazon Rekognition Custom Labels and Roboflow to Build an Object Detection Model
Roboflow
An Interview with Brandon Gilles, Luxonis Founder and OAK Chief Architect
Roboflow
How to Train a Custom Mobile Object Detection Model (with YOLOv4 Tiny and TensorFlow Lite)
Roboflow
Tackling the Small Object Problem in Object Detection
Roboflow
Fast.ai v2 Released - What's New?
Roboflow
Teaser: Roboflow Train (1-Click Computer Vision AutoML)
Roboflow
How to Train a Custom Resnet34 Image Classification Model
Roboflow
How to Label Images for Object Detection with CVAT
Roboflow
Deploy YOLOv5 to Jetson Xavier NX at 30 FPS
Roboflow
Elisha Odemakinde Hosts Roboflow ML Engineer, Jacob Solawetz
Roboflow
Getting Started with VoTT - Computer Vision Annotation
Roboflow
How to Manage Classes in Object Detection (Rename, Combine, Balance)
Roboflow
How to Train YOLOv4 on a Custom Dataset in Darknet
Roboflow
Is Grayscale a Preprocessing or Augmentation Step in Computer Vision?
Roboflow
Getting Started with Image Data Augmentation
Roboflow
Glenn Jocher: Image Augmentation in YOLO v5 and Beyond
Roboflow
GA Hosts Roboflow - Healthcare and AI
Roboflow
How do self driving cars know when to stop?
Roboflow
What is PASCAL VOC XML?
Roboflow
AutoML Showdown: Google vs Amazon vs Microsoft
Roboflow
How is computer vision changing manufacturing?
Roboflow
The Alphabet in American Sign Language
Roboflow
Luxonis OAK-D: Computer Vision on Device
Roboflow
How to Train a Custom Faster R-CNN Model with Facebook AI's Detectron2 | Use Your Own Dataset
Roboflow
TensorFlow vs PyTorch: Fireside
Roboflow
Occlusion Techniques in Computer Vision
Roboflow
A Customizable Web Application for Your Computer Vision Model
Roboflow
Model Tradeoffs and the Future of Computer Vision
Roboflow
Designing an Augmented Reality Board Game App
Roboflow
YOLOv4 - Advanced Tactics
Roboflow
How to Use CreateML and Build a Computer Vision iPhone App | AR Object Detection
Roboflow
Fireside Chat: Computer Vision in Agriculture
Roboflow
Scaled-YOLOv4 Tops EfficientDet: Research Rundown
Roboflow
What is Image Preprocessing?
Roboflow
Building a Community of Creators with BlkArthouse and Von Deon
Roboflow
How to Train Scaled-YOLOv4 to Detect Custom Objects
Roboflow
Intro to Computer Vision: Fireside
Roboflow
The Best Way to Annotate Images for Object Detection
Roboflow
The Computer Vision Process: Fireside
Roboflow
How to Annotate Images with Your Team Using Roboflow
Roboflow
Introducing the Roboflow Object Count Histogram
Roboflow
How Fast is the M1 at Machine Learning? Benchmarking Apple's M1 and Intel's Chips
Roboflow
CLIP: OpenAI's amazing new zero-shot image classifier
Roboflow
How I hacked my Nest camera to run custom models
Roboflow
Getting Started with the Roboflow Inference API
Roboflow
Transfer Learning in Computer Vision | What, How, Why
Roboflow
More on: Modern CV Models
View skill →
🎓
Tutor Explanation
DeepCamp AI