Questions tagged [yolo]

For questions related to the family of models known as YOLO (which stands for "You Only Look Once"), which were proposed by Joseph Redmon et al. There are at least three YOLO models (versions 1, 2, and 3).

Filter by
Sorted by
Tagged with
12
votes
3answers
10k views

Is it difficult to learn the rotated bounding box for a (rotated) object?

I have checked out many methods and papers, like YOLO, SSD, etc., with good results in detecting a rectangular box around an object, However, I could not find any paper that shows a method that learns ...
9
votes
1answer
3k views

In YOLO, what exactly do the values associated with each anchor box represent?

I'm going through Andrew NG's course, which talks about YOLO, but he doesn't go into the implementation details of anchor boxes. After having looked through the code, each anchor box is represented by ...
5
votes
1answer
641 views

In YOLO, when is $\mathbb{1}_{i j}^{\mathrm{obj}} = 1$, and what are the ground-truth labels for $x_i$ and $y_i$?

I'm trying to implement a custom version of the YOLO neural network. Originally, it was described in the paper You Only Look Once: Unified, Real-Time Object Detection (2016). I have some problems ...
4
votes
1answer
98 views

What is a unified neural network model?

In many articles (for example, in the YOLO paper, this paper or this one), I see the term "unified" being used. I was wondering what the meaning of "unified" in this case is.
4
votes
0answers
906 views

What are the differences between Yolo v1 and CenterNet?

I recently read a new paper (late 2019) about a one-shot object detector called CenterNet. Apart from this, I'm using Yolo (V3) one-shot detector, and what surprised me is the close similarity between ...
3
votes
3answers
7k views

How to speed up YOLOv3 detection speed?

I want to implement YOLO V3. I want to know which framework will give me a faster result. What are the advantages of implementing YOLO V3 on the darknet framework vs Keras framework?
3
votes
1answer
1k views

How can I read the .weights file that stores the weights of the pre-trained YOLO in Keras? [closed]

I would like to use the pre-trained weights of YOLO (tiny version, v1) in Keras, which are given in a file with extension .weights (here is an example). How can I ...
3
votes
1answer
71 views

How to treat (label and process) edge case inputs in machine learning?

In every computer vision project, I struggle with labeling guidelines for border cases. Benchmark datasets don't have this problem, because they are 'cleaned', but in real life unsure cases often ...
3
votes
1answer
53 views

Preparing data set for the YOLO algorithm

Hi I am working on a project which requires the You Only Look Once algorithm in order to classify and localise objects within images. I have to prepare my dataset (which has 2 classes, and predicts 6 ...
3
votes
2answers
2k views

Calculation of FPS on object detection task

How to calculate mean speed in FPS for an object detection model like YOLOv3 or YOLOv3-Tiny? Different object detection models are often presented on charts like this: I am using the DarkNet ...
3
votes
2answers
2k views

What's the role of bounding boxes in object detection?

I'm quite new to the field of computer vision and was wondering what are the purposes of having the boundary boxes in object detection. Obviously, it shows where the detected object is, and using a ...
3
votes
0answers
33 views

How are Ground truth provided to each Pyramid map in RetinaNet or YOLOv3 Paper? How is the mapping of Feature Pyramids done to Ground Truth

SO the YOLO V3 and RetinaNet both uses the Feature pyramids which look something like this: (except b and e which have one ...
3
votes
0answers
28 views

If random rotations are included in the data augmentation process, how are the new bounding boxes calculated?

When studying bounding box-based detectors, it's not clear to me if data augmentation includes adding random rotations. If random rotations are added, how is the new bounding box calculated?
3
votes
1answer
542 views

How can I incrementally train a Yolo model without catastrophic forgetting?

I have successfully trained a Yolo model to recognize k classes. Now I want to train by adding k+1 class to the pre-trained weights (k classes) without forgetting previous k classes. Ideally, I want ...
2
votes
2answers
52 views

Get object's orientation or angle after object detection

I'm trying to get a detected car's orientation when object detection is applied. For instance, when we apply object detection on a car and get a bounding box, is there any ways or methods to calculate ...
2
votes
1answer
43 views

How does YOLO handle non-class objects?

I have been reading more about computer vision and I'm bothered by YOLO and similar deep learning architectures. The thing I am confused about is how non-class image sections are dealt with. In ...
2
votes
1answer
588 views

How are IOUs for ground truth boxes in YOLO calculated?

I know how IOU works during detection. However, while preparing targets from ground-truth for training, how is the IOU between a given object and all anchor boxes calculated? Is the ground truth ...
2
votes
1answer
132 views

What YOLO algorithm can I use for images with noise as I will implement it in real time?

I want to detect drivers with or without seatbelts at crossroads. For that, as it is real-time, I am going to use the YOLO algorithm/model. For training data sets (the images) I need to collect, I ...
2
votes
1answer
2k views

How can I detect thin objects (like pens and pencils) without a bounding box but only 2 endpoints and the orientation?

I am looking to detect thin objects, like pens, pencils, and surgical instruments. The bounding box is not important, but I am looking to see if I can train a model to detect both the object as well ...
2
votes
0answers
37 views

Different equations for Yolov3 in courses/ articles and Darknet GitHub code?

I am confused by the equations for bounding boxes I find online. Some articles say that box_width = anchor_width * exp(residual_value_of_box_width)) and the ...
2
votes
0answers
29 views

Do filters have as many layers as the depth of the input in CNNs? [duplicate]

Firstly as an example here is the architecture of YOLOv2 I am trying to understand the depth of an output of a convolutional layer. For example, the first convolutional layer has the shape 3x3x32. So ...
2
votes
1answer
38 views

Data scan not making sense for coco dataset

I am doing a simple scan to see how dataset size affects training. Basically, I took 10% of the coco dataset and trained a yolov3 net (from scratch) to just look for people. Then I took 20% of the ...
2
votes
0answers
37 views

YOLO 9000 about Better Stronger

In this paper, YOLO has three features compared to YOLO v1. This question is about Better and Faster. In the Better section, there are many techniques such as Batch Norm, Anchor Box and so on. In the ...
2
votes
0answers
427 views

How can I train YOLO with the COCO dataset?

I am trying to implement the original YOLO architecture for object detection, but I am using the COCO dataset. However, I am a bit confused about the image sizes of COCO. The original YOLO was trained ...
2
votes
1answer
353 views

How to detect multiple playing cards of the same class with a neural network?

I want to train an AI to detect the class (i.e. suit and rank) of playing cards. Playing cards from different decks may use slightly different shapes or colors to represent these attributes, and I ...
2
votes
1answer
134 views

Would YOLO be able to detect objects in "different" positions?

I have the following question about You Only Look Once (YOLO) algorithm, for object detection. I have to develop a neural network to recognize web components in web applications - for example, login ...
1
vote
2answers
785 views

What are the reasons behind slow YOLO training?

I'm testing out YOLOv3 using the 'darknet' binary, and custom config. It trains rather slow. My testing out is only with 1 image, 1 class, and using YOLOv3-tiny instead of YOLOv3 full, but the ...
1
vote
1answer
48 views

Object detection: combine many classes into one?

I am trying to train a model that detects logos in documents. Since I am not really interested in what kind of logo there is, but simply if there is a logo, does it make sense to combine all logos ...
1
vote
1answer
796 views

How to label training data for YOLO

I am having a question on how to label training data for YOLO algorithm. Let's say that each label Y, we need to specify $[P_c, b_x, b_y, b_h, b_w]$, where $P_c$ is the indicator for presence (1=...
1
vote
1answer
46 views

Multiple GPUs one expensive GPU, which gpu to buy for real time processing (not training) [closed]

I am trying to decide what GPU or GPUs to buy to run tf-pose pose detection and yolo3 object detection on several cameras. I need to keep an acceptable frame rate too. what kind of GPU configuration ...
1
vote
1answer
125 views

Why is my fine-tuned YOLO model detecting other objects as a human?

I am new to deep learning and computer vision. I have a problem where I use the YOLO to detect objects. For my problem, I just want to recognize 1 human only. So, I changed the final YOLO's layer (...
1
vote
0answers
22 views

In anchor based object detection, why don't the anchors share the same weights?

After reading about YOLO V3 and Faster R-CNN, I don't understand why the weights for the regression head aren't the same across all boxes of the same size. Given that the backbone of these systems is ...
1
vote
0answers
106 views

What are the main differences between YOLOv3 and RetinaNet object detection algorithms?

I am looking at a certain project that compares performance on a certain dataset for an object detection problem using YOLOv3 and RetinaNet (or the "SSD_ResNet50_FPN" from TF Model Zoo). ...
1
vote
0answers
11 views

Aggregating 2D object detections into 3D object detections

I have a data set of 3D images with some bounding box annotations. The images are too large to train something like YOLO 3D (would run out of memory), so I instead created slices of the 3D images with ...
1
vote
0answers
26 views

How is the shape of the anchor boxes predefined in YOLO algorithm?

I am not sure if I really understand how anchor boxes are defined. As far as I understand, in YOLO algorithm you define a set of "good" shapes (anchor boxes) that may contain the object you ...
0
votes
1answer
1k views

Can YOLO detect large objects?

I have a rather basic question about YOLO for bounding box detection. My understanding is that it effectively associates each anchor box to an 8-dimension output. During testing, does YOLO take each ...
0
votes
1answer
22 views

Multiple labels for the same rectbox?

My goal is to identify the horse in a photo. I'm dealing with about 500 unique horses. My feeling is that the best way to distinguish one horse from another is by its face. So I trained Yolov5 ...
0
votes
1answer
29 views

Should I label static objects on video dataset?

I'm using nvidia Transfer Learning Toolkit to detect cars in some video frames. I found some dataset (for example https://www.jpjodoin.com/urbantracker/dataset.html and https://www.kaggle.com/...
0
votes
1answer
95 views

Object Detection: Can I modify this script to support larger images (Scaled YOLOv4)?

I am looking at training the Scaled YOLOv4 on TensorFlow 2.x, as can be found at this link. I plan to collect the imagery, annotate the objects within the image in VOC format, and then use these ...
0
votes
0answers
30 views
0
votes
0answers
16 views

What is meant by "training a YOLOv5 on custom dataset"?

I am new to AI/CV domain. I see a lot of tutorials on "training a YOLOv5 on custom dataset". As per my knowledge, Basically, YOLO is a giant neural network trained on a particular set of ...
0
votes
0answers
115 views

How to get bounding box coordinates of all detected objects in yolov5 object detection?

While there is a similar question on stackoverflow, it pertains to yolov4 which, unlike yolov5, uses darknet. Yolov5 is far more intuitive to use than v4 and so a solution to this in v5 is desirable. ...
0
votes
0answers
25 views

How to work deeper with YOLO v4 scaled

I am pretty new in object detection. When I did some classification using TF with pretrained models I changed some last layers and choosed how many layers I want to train. I don't really get it with ...
0
votes
0answers
26 views

Which layer to route out of layers of same width and height in Yolo implementation?

In Yolo configuration files (like yolo3.cfg in dark-net), there are many layers with output of same height and width due to ...
0
votes
0answers
34 views

Yolo from scratch dataset and output

Hi I coded a YOLO model from scratch and just came to realise that my dataset does not fit the models output. This is what I mean: The model outputs a ...
0
votes
1answer
49 views

Is it possible to modify or replace the basic network of YOLO?

I have an idea to adapt YOLO algorithm to my application, the original YOLO algorithm is for image classifications, which have 24 convolutional layers with output class of 1000, is it possible to ...
0
votes
0answers
28 views

Is it possible to improve the average precision of YOLO trained on Open Images Dataset by fine-tuning it with COCO?

I consider pre-training a YOLOv5 with Google Open Images Object Detection dataset. The dataset includes general domain categories with ~15 M box samples. After the pre-training is done, I will fine-...
0
votes
0answers
41 views

Object detection noise filtering

In my project, I am detecting only one class, which is "airplane", using yolov5. However, at some frames, the neural network labels some of the buildings as airplanes, which obviously are ...
0
votes
1answer
243 views

Feeding YOLOv4 image data into LSTM layer?

How would one extract the feature vector from a given input image using YOLOv4 and pass that data into an LSTM to generate captions for the image? I am trying to make an image captioning software in ...
0
votes
0answers
81 views

Intuition behind single-shot object detection

Is there a good way to understand how single-shot object detection works? The most basic way to do detection is use a sliding-window detector and look at the output of the NN to detect if a class is ...