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:

1841 questions
7
votes
0 answers

YoloV3 object detection with tflite model returns around 160 bounding boxes randomly all tagged with first class from the label text

The shape of the TFLite model is [1, 2535, 85]. You can find the TFLite model here and label text here. This is how the bug looks. This is the project I used https://github.com/hunglc007/tensorflow-yolov4-tflite/tree/master/android with some few…
MrRobot9
  • 2,402
  • 4
  • 31
  • 68
7
votes
1 answer

Does Pytorch allow to apply given transformations to bounding box coordinates of the image?

In Pytorch, I know that certain image processing transformations can be composed as such: import torchvision.transforms as transforms transform = transforms.Compose([transforms.ToTensor(), transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5,…
Karen
  • 401
  • 7
  • 15
7
votes
2 answers

How to deal with "DNN module was not built with CUDA backend; switching to CPU" warning in C++?

I am trying to run YOLOv3 on Visual Studio 2019 using CUDA 10.2 with cuDNN v7.6.5 on Windows 10 using NVidia GeForce 930M. Here is part of the code I used. #include #include #include #include #include…
AbdelAziz AbdelLatef
  • 3,650
  • 6
  • 24
  • 52
7
votes
1 answer

Does people train object detection methods with early stopping and what were their settings?

I'm working on some stuff related to object detection methods (YOLOv3, Faster-RCNN, RetinaNet, ... ) and I need to train on VOC2007 and VOC2012 (using pretrained models of course). However when I read the relevant papers I do not see people describe…
7
votes
2 answers

What is the working and output of getLayerNames() and getUnconnecteddOutLayers() functions?

I almost searched every where on internet but i could not find out the working and output of below functions. Specially what they do in YOLO algorithm. getLayerNames() getUnconnectedOutLayers() code is as follows: import cv2 import numpy as np…
user11872536
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
  • 165
  • 1
  • 4
  • 15
7
votes
3 answers

Yolo object detection: include images that do not contain classes to be predicted?

I want to train tiny yolo on my own dataset. I want to predict 3 classes: cars, pedestrians and cyclists; all of these have been annotated. My dataset also includes images that do not contain these classes (hence no annotations). Should I include…
chezza
  • 109
  • 1
  • 1
  • 3
7
votes
4 answers

AttributeError: 'PhotoImage' object has no attribute '_PhotoImage__photo'

I am working on Yolo3-4-PY to implement it with tkinter. I've looked up everywhere but not able to resolve the issue. When I run the program the canvas is displayed but when I click on Start Video(btton) I get the following error: Loading weights…
6
votes
1 answer

Why NMSboxes is not eliminating multiple bounding boxes?

First of all here is my code : image = cv2.imread(filePath) height, width, channels = image.shape # USing blob function of opencv to preprocess image blob = cv2.dnn.blobFromImage(image, 1 / 255.0, (416,…
Albert
  • 117
  • 2
  • 10
6
votes
2 answers

Loss and mAP chart in YOLOv4

I'm still new to "You Only Look Once" object detection algorithm (YOLOv4 to be exact). I have some questions regarding the mAP and loss chart. I tried to follow the instructions from AlexeyAB Darknet, and train my custom object detector using Google…
6
votes
1 answer

How Yolo 3 is implemented in Yolo 4?

I try to understand the architecture of Yolo4. It is composed of a backbone, neck, dense prediction and sparse prediction. Knowing that Yolo 3 has already a backbone, Is Yolo 4 taking all the architecture of Yolo 3 including its backbone or just…
6
votes
6 answers

Yolo not starting to train

I am trying to train Yolo on a custom dataset and everything seems to be working without errors but it just isn't training. I followed the tutorial on https://github.com/AlexeyAB/darknet twice but I get the same results ./darknet detector train…
Rob
  • 127
  • 1
  • 2
  • 12
6
votes
1 answer

Intersection Over Union (IOU) ground truth in YOLO

I am trying to understand the concept of IOU in YOLO. I read that it is the area of overlap between the predicted bounding box and the ground-truth bounding box. This is needed for training the data and you manually place the ground truth bounding…
overmind
  • 467
  • 1
  • 8
  • 17
6
votes
2 answers

cv2.dnn.readNetFromDarknet error: (-212:Parsing error) Unsupported activation: relu in function 'cv::dnn::darknet::ReadDarknetFromCfgStream'

I tried to run the Openpose on darknet with weights and cfg downloaded from this place: https://github.com/lincolnhard/openpose-darknet This is the error when I tried to create a net in Opencv modelConfiguration = path to cfg file modelWeights =…
Water Chan
  • 101
  • 1
  • 2
  • 7
6
votes
3 answers

How to do transfer learning for yolo object detection algorithm?

I have successfully trained yolo for predicting my own images with this article. In there I changed classes = 5 (I trained for 5 classes) and filters to 50 in line 224 in my cfg file. What I want is I want to do transfer learning for yolo with…