The short answer is that YOLO is supervised. Standard YOLO models are trained on images where people have drawn a box around each object and named its class. The model learns to predict those boxes and names from the pixels.
A related question is “Is YOLO a CNN or RNN?” YOLO is built mainly from convolutional layers, so it is a CNN-based model rather than a recurrent one.
What YOLO does
YOLO stands for “You Only Look Once.” It is a family of object detection models. The image passes through the network in one pass, and the output includes:
- A bounding box for each object it finds, which marks where the object is.
- A class label, such as “dog” or “car.”
- A confidence score that shows how sure the model is.
Why this training is supervised
Every training image comes with its answers: the boxes and class names added by people, sometimes with help from labeling tools. During training, the model’s predicted boxes and classes are compared with those labels. A loss function measures the gap, and the network’s weights are adjusted to shrink it. Because each training example has a target, this is supervised learning.
A common dataset for object detection is COCO, which labels 80 object categories with boxes. Models trained on it learn from those labeled examples.
Pretrained weights
Many YOLO models start from weights that were pretrained earlier. Those weights often come from labeled datasets, such as ImageNet for image classification or COCO for detection. Starting from pretrained weights often helps a model learn faster on a new dataset.
Self-supervised pretraining also exists for image models. That is a different stage from detection training, which stays supervised.
Training your own detector
If you want YOLO to find objects you care about, such as a particular product or type of bird, you need labeled images. Someone has to draw a box around each object and name it, a step called annotation. The quality of those boxes and names limits how well the model can do. A small or inconsistent set of labels tends to produce weaker results, so check the labels as carefully as you check the model.
Where unsupervised ideas fit
Unsupervised methods can help around object detection, for example by grouping similar images or spotting unusual ones before labeling. Those are separate tasks, though, not how YOLO is trained.
The short version
YOLO is a supervised object detector. It learns from labeled images, and its results depend heavily on the quality of those labels.