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
0
votes
0answers
21 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
23 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
1answer
50 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 ...
2
votes
1answer
48 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 ...
1
vote
0answers
71 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). ...
3
votes
1answer
62 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
0answers
24 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 ...
0
votes
0answers
32 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 ...
1
vote
0answers
9 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 ...
0
votes
1answer
36 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 ...
2
votes
0answers
27 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 ...
4
votes
1answer
76 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.
0
votes
0answers
27 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
34 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 ...
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?
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 ...
1
vote
2answers
43 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 ...
0
votes
1answer
186 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
32 views

How should I label images to get high accuracy with YOLO?

I am new to Object Detection with Yolo and I have questions regarding the labeling (for custom objects): Is there any guideline or tips on how to label images to have high accuracy at the end? ...
2
votes
1answer
40 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 ...
1
vote
1answer
39 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 ...
2
votes
1answer
34 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 ...
0
votes
0answers
78 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 ...
1
vote
2answers
624 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 ...
0
votes
1answer
73 views

YOLOv3 Model Structure: Why is filters = (classes + coords + 1) * num?

Here's a tutorial about doing custom training of YOLO (Darknet): https://medium.com/@manivannan_data/how-to-train-yolov3-to-detect-custom-objects-ccbcafeb13d2 The tutorial guides how to set values in ...
1
vote
1answer
45 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 ...
3
votes
2answers
1k 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 ...
2
votes
0answers
36 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
415 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 ...
4
votes
0answers
756 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
1answer
445 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
1answer
333 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
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 ...
12
votes
3answers
9k 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 ...
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?
2
votes
1answer
103 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
1answer
785 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=...
3
votes
1answer
783 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 ...
2
votes
1answer
120 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
1k 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
1answer
572 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 ...
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 ...
1
vote
1answer
119 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 (...
5
votes
1answer
629 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 ...
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 ...