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
5
votes
1 answer

How to configure YOLOv8 yaml file to access blob storage dataset on Azure?

Context I want to train a custom model using Yolo (v8). I've got it working on my local machine, but it is very slow, and want to run the job on Azure Machine Learning Studio for efficiency. I am using Azure ML SDK v2. Issue When I run on Azure ML,…
5
votes
1 answer

How to prepare a custom keypoints dataset for WongKinYiu/Yolov7 Pose Estimation?

How do I prepare a custom keypoints dataset for WongKinYiu/yolov7?
C.Tale
  • 263
  • 2
  • 13
5
votes
4 answers

Read every nth frame from youtube live video for object detection

I am currently using a custom trained yolov5 model to run object detection inference on live youtube videos, the problem is that the videos are streamed at 30 FPS , I actually don't want to process each frame for object detection and just process…
5
votes
2 answers

Hi , I have error related to object detection project

I have error related to simple object detection . output_layers = [layer_names[i[0] - 1] for i in net.getUnconnectedOutLayers()] IndexError: invalid index to scalar variable. import cv2.cv2 as cv import numpy as np # Load Yolo net =…
Farzin
  • 71
  • 1
  • 1
  • 2
5
votes
1 answer

it requires specifying NormalizationOptions metadata to preprocess input images

Yolov3-tiny-416.tflite is a tflite model for yolov3 tiny model created from yolov3-tiny.weights I had tried to use this from ML kit Vision module provided by google in android. In repo:…
S.Luja
  • 53
  • 1
  • 6
5
votes
0 answers

Darknet yolov3 prediction on Colab using js webcam code is very slow

I have already trained a yolov3 model, however, when predicting on my computer, it is incredibly slow. Even after adjusting the height and width, I still get less than 1 fps. I have turned to Colab to run the prediction, however, I have run in to…
Michael
  • 81
  • 3
5
votes
2 answers

How to get the output from YOLO model using tensorflow with C++ correctly?

I'm trying to write an inference program with YOLO model in C++. I've searched for some info about darknet, but it has to use .cfg file to import the model structure(which is a bit too complicated for me...), thus I want to do the program with…
Coco Yen
  • 140
  • 5
  • 10
5
votes
1 answer

batch and subdivisions in YOLOv3

I'm using YOLOv3 and YOLOv3-Tiny from AlexeyAB's fork of Darknet. I understand that the image size must be a multiple of 32. And that batch divided by subdivisions determines the number of images that will be processed in parallel. For example,…
Stéphane
  • 19,459
  • 24
  • 95
  • 136
5
votes
0 answers

How number of classes impact thespeed FPS in a YOLO network

I am a newbie about Computer Vision and Neural Networks. I trained a network using Yolo-tiny, using a subset of the COCO dataset because I wanted to train my network only with one class (Person). The training worked successfully, the accuracy not so…
5
votes
1 answer

Convert YoloV3 output to coordinates of bounding box, label and confidence

I run YoloV3 model and get detections - dictionary of 3 entries: "detector/yolo-v3/Conv_22/BiasAdd/YoloRegion" : numpy.ndarray with shape (1,255,52,52), "detector/yolo-v3/Conv_6/BiasAdd/YoloRegion" : numpy.ndarray with shape…
gal leshem
  • 551
  • 1
  • 6
  • 18
5
votes
2 answers

For the YOLO loss function, what is the calculation performed in order to obtain the value of the term 1objij?

I'm trying to understand how to calculate the value of circled terms, what are the inputs/outputs I have to compare? Let's take the first term for example, if I understand it correctly it goes something like this: Let's say my predicted values for…
5
votes
1 answer

What is the purpose of ignore_thresh and truth_thresh in the YOLO layers in yolov3.cfg?

I am attempting to explain the purposes of different parameters in the yolov3.cfg file, however, I can't find any explanation for ignore_thresh and truth_thresh. My current (limited) understanding is that they are either related to non-max…
Jonas
  • 137
  • 2
  • 10
5
votes
1 answer

What is the loss function of YOLOv3

I was going to write my own implementation of the YOLOv3 and coming up with some problem with the loss function. The original paper mention that he uses Binary Cross Entropy on the class prediction part, which is what I did. I tried reading some…
5
votes
3 answers

What is the real number of CNN layers in yolov3?

I'm really confused with the architecture of yolov3. I've read the documentation and paper about it. Some people say that it has 103 convolutional layers, some others say that it has 53 layers. But when you count the convolutional layers in the .cfg…
5
votes
0 answers

DataLoss: not an sstable(bad magic number) when restoring tensorflow graph

LANGUAGE : python3.x I trained an object recognition model using this API :https://github.com/thtrieu/darkflow After training the checkpoints are stored in the ckpt folder. 4 files are saved. 1 .index file 2 .meta file 3 .profile file 4…
Tanmay Bhatnagar
  • 2,330
  • 4
  • 30
  • 50