Questions tagged [yolo]
YOLO, or You Only Look Once, is a real-time object detection algorithm
115
questions
0
votes
0
answers
10
views
Converting maxpool with big kernels to equivalent stacks of maxpool with small kernels
I have a onnx model for Object Detection inspired from yolo which has some MaxPool layers like this:
I have to port this model to a hardware that supports only selected set of layers and parameters.
...
0
votes
1
answer
12
views
How could I further improve my detection model?
I am currently tasked with the creation of a model which is able to detect burrows of small rodents from high resolution aerial images.
My labeled images are look like this:
My results now are the ...
0
votes
0
answers
19
views
Does it make sense to have object detection model followed by a classification model
So i was working with the SKU110k dataset and i was required to identify the different items in the shelf as well but the SKU110k dataset only annotated shelf items but did not identify them. So i ...
0
votes
0
answers
20
views
Hugging Face Real Time Object Detection Deployment
I'm developing a live object detection app using Streamlit and the YOLOv8 model. The app runs smoothly with real-time inference on my local machine. However, when I deploy it to Hugging Face Spaces, ...
0
votes
0
answers
49
views
why YOLO models multiple the loss by batch size in detection head?
here
return loss.sum() * batch_size, loss.detach() # loss(box, cls, dfl)
This line is from yolov8, but I saw similar thing in v5 too.
So far I only see this kind ...
0
votes
1
answer
34
views
How many params does yolov4 have?
I have seen that there are several configs for yolov4. How can I understand that how many params yolov4 have with my custom config? Is there any field in logs when training the model?
...
0
votes
0
answers
31
views
How does the segmentation in YOLO v8 model work?
I know how YOLO models work for object detection.
I wonder what gave the YOLOv8 the ability to apply segmentation at the pixel level.
Is there a clever trick? How does it compare to other models like ...
0
votes
0
answers
361
views
How to properly prune a YOLOv8 model
I was trying to apply pruning to a YOLOv8 detection model. Following is my code and it runs successfully. I see the saved pruned model as well.
My YOLOv8 model has 22 layers (an example list of layers ...
0
votes
0
answers
171
views
How to prune my Yolov8 object detection model?
I trained a yolov8-medium object detection model, but I'm not sure how to apply pruning on it. What is the proper way to prune it?
I got this example code, but it only looks for ...
0
votes
1
answer
28
views
How to interpret annotation data?
I am new to datasets. I have got an annotations train.json for MR image data like this -
I want to train a Yolo-V8 model using this MR data images extracted from dicom raw data and annotations for ...
0
votes
0
answers
13
views
Target bounding box coordinates for classic YOLOv2
Let's say I build training data for classic YOLOv2 from paper: https://arxiv.org/pdf/1612.08242.pdf let me know if I understand output format correctly.
Example Bounding box from picture:
bounding ...
0
votes
0
answers
3
views
How to use anchor box priors in yolov2?
I saw the paper in yolov2 where they said they picked some anchor boxes to start with. But the output also predicts a the position, width and height of the box. So there's no way to make the neural ...
0
votes
0
answers
26
views
Should I remove the watermarks of my images before training Yolov8?
I would like to train a Yolov8 network in an animal detection task using camera trap images. Some camera trap images have information added to them such as date, time, day of the week, camera brand, ...
0
votes
0
answers
25
views
Tile color, shape, and type detection altogether
I'm trying to apply some detections/classification on the set of tiles we have. Specifically, I need to detect color (15 classes), pattern (25 classes- on the surface of tiles, there can be certain ...
0
votes
1
answer
956
views
Car Make and Model detection
I am trying to develop a deep learning model that given an image of a car, it detects a car's make and model among 50 different brands, each with say another 50 models. What approach is probably the ...
1
vote
1
answer
246
views
Combine Yolo V8?
Let's say I had 3 datasets I wanted to combine to have more data and differentiated data. Here is some examples :
https://universe.roboflow.com/yolo-project/6_class_final/health
https://universe....
1
vote
0
answers
332
views
Accuracy difference between 1-channel grayscale and 3-channel grayscale detection model
I have found no similar questions to this online, or answers for that matter.
I am using cameras that output a grayscale image, which I feed into a Yolov8 object detection model (Specifically yolov8m-...
1
vote
1
answer
280
views
In Yolo V8 output models how is the best model selected?
The output of Yolo V8 gives two models after the completion of specified epochs. best.pt and last.pt. How is the best.pt model selected. The training outputs several graphs and results png but of all ...
1
vote
0
answers
187
views
Where exactly in YOLO's architecture is the input image divided into a grid?
I am currently studying the YOLO algorithm for a project. What I'm not quite sure about is where exactly the input image is divided in an SxS grid. After my research on the paper, videos and websites ...
0
votes
1
answer
1k
views
How does the background class work in object detection?
I am using YOLOv5 for object detection.
I understand that any labelled classes that are not predicted, that is, false negatives (FN) shows up as background. But how are the false positive (FP) being ...
1
vote
0
answers
25
views
How to associate each object in the prediction to its annotated version in YOLOv5?
Imagine we have one image from the COCO validation dataset. This image has 7 annotated objects: knife, carrot, person, table, chair, apple, and orange. When I feed it to YOLOv5, the predictions are ...
1
vote
1
answer
642
views
Is it possible to modify YOLOv8 to use it as a feature extractor for other tasks?
I'm reading through the documentation of YOLOv8 here, but I fail to see an easy way to do what I suggest in the title. What I want to do is to load a pretrained YOLOv8 model, create a bigger model ...
0
votes
1
answer
2k
views
Yolov8 - box_loss and dfl_loss stays at 0. cls_loss converges. Model not giving me bounding box predictions
I'm having trouble using Yolov8 to work properly. I have my own custom dataset and an online dataset that I am using. Yolov8 trains on these datasets. However, the only metric that converges is the ...
0
votes
2
answers
72
views
how to lower false positive ratio on object detection using negative examples
There is a similar question here but the answer is not so clear;
Basically, I have a model that detects only and only "matchbox". However, it has a high false positive ratio specially ...
1
vote
1
answer
393
views
YOLO : why does changing the confidence threshold change the [email protected]?
I trained a YOLOv7 model for a detection task. I have only one class, which is the object I want to detect. I ran test.py with --conf-thresh to 0.001 (default) and a second time with --conf-thresh to ...
0
votes
0
answers
210
views
KeyError: 'Resize' Error in converting from ONNX model to keras
I am trying to convert an ONNX model to a Keras model using onnx2keras, so that I can implement this: (https://machinelearningmastery.com/stacking-ensemble-for-deep-learning-neural-networks/) stacking ...
0
votes
0
answers
2k
views
Yolo confusion matrix - Background Class
I am training the yoloV5 model, where, I have two class[object = A and B].
In the dataset, the class B has more samples than class ...
0
votes
1
answer
291
views
Split dataset into Train/Validation/Test for Object Detection
I have a dataset for Object Detection with YOLO format labels, each imagine can have occurences of different classes and multiple occurences of the same class.
How can the dataset be divided into ...
1
vote
0
answers
110
views
C Drive got filled while training my dataset over yolov5
Asked the question over a cross-validated stack but got recommendations to ask at the data science stack. So, I recently bought a GPU and tried yolov5 on my personal dataset of around 1500 images. ...
1
vote
1
answer
168
views
Should I remove objects labeled "unknown" from my test set?
I'm using an object detector (yolo v5) to detect and identify fish in underwater video. I have a labeled data set, but some fish are difficult for the annotator to correctly identify, so they get ...
2
votes
3
answers
2k
views
Does YOLOv7 pose estimation model output 3D points? ... And, how to get them?
Simple question. Does YOLOv7 pose estimation model output 3D points? ... And, how to get them?
NOTE: I have already run the test.py over custom images (successfully)...
0
votes
1
answer
217
views
How many bounding boxes does the YOLOv6 model predict in total before thresholding?
I understand that the YOLOv5 model predicts 25200 bounding boxes between all 3 levels of output. How many does the YOLOv6 model predict, if the input resolution is 640x640?
0
votes
1
answer
17
views
What is the effect Cross-Multi-Labeling/Annotation on learning process?
I have a philosophical question regarding training convolution neuronal network. I am work on training NN for purpose of detection of Window and Window blind. This is an issue of cross labels; that is,...
1
vote
1
answer
2k
views
Understanding the output of Yolo v5
The label output file of the yolo v5 model is something like this:
...
1
vote
1
answer
71
views
DeepSORT features
I'm reading about Detection and Tracking algorithms and I'm unclear about the DeepSORT algorithm:
How does the DeepSORT algorithm gets the features? Does it "hijack" the feature vector from ...
2
votes
0
answers
66
views
On-Device Football Detection Model not performing up to the par ; misdetections
I have trained a football detection model. I have so far trained the models using RCNN, SSD (backbone MobileNet), CenterNet and others. SSD and Centernet, so far have been the best in terms of speed ...
1
vote
0
answers
1k
views
YOLOv5 can't detect object on custom dataset
Context: I'm trying to utilize an object detection model (YOLOv5) to detect damage/defects on cars (dents, scratches, cracks). Right now the goal is to make a minimum viable prototype, a model able to ...
1
vote
0
answers
911
views
Object Detection without annotations and labels
Problem Statement:
I am given 2 sets of images. All the images in both sets are without annotations and labels.
First set : a set of images of the grocery store shelves (captured in the grocery stores)...
1
vote
0
answers
478
views
Is YOLO model using a validation set for pure training purpose?
For what concerns training, validation and test dataset I think there is a little bit of confusion in literature terminology.
I'm using this repo to train a model on custom 9 classes: https://github....
0
votes
1
answer
409
views
How to benchmark own model trained by Yolov5
I trained a model with my dataset for object detection - using 1500 samples. Now I'm not pretty sure how to benchmark my model. What is the procedure before using the model? Are the parameters in the ...
-1
votes
3
answers
2k
views
Transfer learning on YOLOv5 for character and shape detection
The task is to detect rotated alphanumeric characters embedded on colored shapes. We will have an aerial view of the object (from a UAS: Unarmed Aerial System), something of this sort:
(One Uppercase ...
0
votes
1
answer
316
views
When should one train YOLOv5 on custom dataset or use standard COCO weights?
I am running a YOLOv5 detector on the below video to detect persons in the stream.
It is giving me satisfactory response.
I need to know if I should train the model on my custom dataset, or continue ...
3
votes
1
answer
276
views
Algorithms to do a CTRL+F (find object) on an image
We all know the CTRL+F "Find text..." feature in text editors / browsers.
I'd like to study the available algorithms to do something similar on an image.
Example of UI/UX: let's say you have ...
1
vote
0
answers
25
views
Object Detection, custom dataset, algorithm [closed]
I'm looking for a solution to detect objects and classify them, using a custom dataset.The overall goal is to detcet objects using my webcam.
So far I've wanted to use YOLO in combination with OpenCV, ...
1
vote
0
answers
37
views
Need help in understanding how YOLO works?
In YOLO's original paper, I am quoting the parts I dont understand:
Our system divides the input image into an S × S grid.
If the center of an object falls into a grid cell, that grid cell
is ...
1
vote
1
answer
248
views
What are the major architecture changes in the YOLO versions?
I came upon a recent blog on Medium that lists advancements in YOLOX over its predecessor YOLOv5.
The advancements are:
YOLOX uses a decoupled head
Can someone please list down the major ...
1
vote
1
answer
7k
views
Computing F1 score for YOLOV5
I am confused at finding out the exact F1 score of my YOLOv5 model which underwent training for 150 epochs.
Also, how can I know if the model has done well based on these graphs?
Here are the metrics:
...
-1
votes
0
answers
66
views
Does having two different models improve performance for underrepresented classes?
I am currently working on a dataset that has approximately 7000 annotations, but suffers from severe class imbalance (there are 1331 annotations for the most represented class, and 77 for the least ...
1
vote
0
answers
27
views
Semi-supervised learning algorithms for multibox/priorbox detection in images
I've read lots of papers on query strategies like BADGE, SCALAR, BatchBALD etc, but they all seem to be for situations where there is a single label to give an image (is this a cat, dog or horse), but ...
1
vote
0
answers
334
views
YOLO: how to deal with object partially in training image
I am trying to train a YOLO (v3) network on a set of images, but I am faced with a problem when preparing the training set.
Sometimes, an image contains my object of interest, but only half of the ...