Questions tagged [yolo]

You Only Look Once (YOLO) is a real-time object detection system written in C. Use this tag for questions about YOLO compilation and installation, usage, and its features and functionality.

You Only Look Once (YOLO) is a real-time object detection system developed for high speed object detection within images.

Useful Links:

1200 questions
34
votes
4 answers

Understanding darknet's yolo.cfg config files

I have searched around the internet but found very little information around this, I don't understand what each variable/value represents in yolo's .cfg files. So I was hoping some of you could help, I don't think I'm the only one having this…
Reda Drissi
  • 1,012
  • 2
  • 14
  • 25
18
votes
5 answers

Darknet YOLO image size

I am trying to train custom object classifier in Darknet YOLO v2 https://pjreddie.com/darknet/yolo/ I gathered a dataset for images most of them are 6000 x 4000 px and some lower resolutions as well. Do I need to resize the images before training to…
Farahats9
  • 376
  • 1
  • 4
  • 17
15
votes
1 answer

Training a Keras model yields multiple optimizer errors

So I need to retrain Tiny YOLO using my own dataset. The model I am using can be found here: keras-yolo3 . I started training and I get multiple optimizer errors, added the code of the errors to stop confusion. And I noticed the training is going…
UrosT
  • 151
  • 1
  • 5
12
votes
3 answers

Using YOLO or other image recognition techniques to identify all alphanumeric text present in images

I have multiple images diagram, all of which contains labels as alphanumeric characters instead of just the text label itself. I want my YOLO model to identify all the numbers & alphanumeric characters present in it. How can I train my YOLO model to…
12
votes
2 answers

Extracting the license plate parallelogram from the surrounding bounding box?

So I have trained an object recognition neural network (YOLOv3) to detect bounding boxes around the license plates of car pictures shot at a variety of tilted and straight angles and the network does it pretty reliably. However now I want to extract…
Moalana
  • 351
  • 2
  • 10
11
votes
1 answer

How to convert Keras .h5 model to darknet yolo.weights format?

I have trained the yolov2 and yolov3 models using Keras with this Github project https://github.com/experiencor/keras-yolo2 Now I want to use the trained model (.h5) in darknet prediction. Essentially I need to convert this h5 model into the format…
Karthik
  • 350
  • 3
  • 16
10
votes
2 answers

How many images(minimum) should be there in each classes for training YOLO?

I am trying to implement YOLOv2 on my custom dataset. Is there any minimum number of images required for each class?
Ashna Eldho
  • 360
  • 1
  • 3
  • 18
10
votes
3 answers

YOLO object detection: how does the algorithm predict bounding boxes larger than a grid cell?

I am trying to better understand how the YOLO2 & 3 algorithms works. The algorithm processes a series of convolutions until it gets down to a 13x13 grid. Then it is able to classify objects within each grid cell as well as the bounding boxes for…
9
votes
3 answers

Tracing back deprecated warning in pytorch

I am training yolov3 on my data using this code here : https://github.com/cfotache/pytorch_custom_yolo_training/ But I am getting this annoying deprecation warnings Warning: indexing with dtype torch.uint8 is now deprecated, please use a dtype…
9
votes
1 answer

How to reduce number of classes in YOLOv3 files?

I am using YOLOv3 to detect cars in videos. I downloaded three files used in my code coco.names, yolov3.cfg and yolov3.weights which are trained for 80 different classes of objects to be detected. The code worked but very slowly, it takes more than…
AbdelAziz AbdelLatef
  • 2,989
  • 6
  • 17
  • 38
9
votes
6 answers

KeyError: ''val_loss" when training model

I am training a model with keras and am getting an error in callback in fit_generator function. I always run to epoch 3rd and get this error annotation_path = 'train2.txt' log_dir = 'logs/000/' classes_path =…
Phuc Nguyen
  • 231
  • 1
  • 2
  • 9
9
votes
1 answer

Anchor Boxes in YOLO : How are they decided

I have gone through a couple of YOLO tutorials but I am finding it some what hard to figure if the Anchor boxes for each cell the image is to be divided into is predetermined. In one of the guides I went through, The image was divided into 13x13…
8
votes
1 answer

Yolo v1 bounding boxes during training step

I want to implement Yolo v1 but I have some question regarding the algorithm. I understand the fact that in YOLO, we divide the image per cell (7x7) and we predict a fixed number of bounding boxes (2 by default in the paper, with 4 coordinates : x,…
7
votes
3 answers

How to get cmake to enable cuda when compiling yolo (darknet)?

I am currently using the cmake-gui to compile yolo darknet at https://github.com/AlexeyAB/darknet.git. However, it will not enable cuda and I am having a few other odd issues. These include when I run darknet.exe from the Release folder after…
Jacob Bunzel
  • 145
  • 1
  • 4
  • 15
7
votes
2 answers

anchor box or bounding boxes in Yolo or Faster RCNN

I don't know the difference between anchor box and bounding boxes, or proposal area. I am confused with these definitions. And I don't know the meaning of these boxes in the detection model, since the default length never changes! And finally, I…
Luv
  • 183
  • 1
  • 7
1
2 3
79 80