Questions tagged [yolov4]

244 questions
2
votes
1 answer

Print score value in bounding box

I try add on the bounding boxes the score for the Object tracker on the link: https://github.com/pinczakko/yolov4-deepsort How to get the score from the track object? Here the method to process the detections: def process_detections(tracker,…
user3410517
  • 295
  • 3
  • 18
2
votes
0 answers

Data transmission between two different notebooks in google colab

I have 2 colab notebooks. First one for real-time video processing via webcam (using Yolov4 Darknet). Second one for NLP, it's like a voice assistant. Now i want to send outputs of video procssing to NLP notebook. I have to present the objects…
berkep
  • 21
  • 1
2
votes
1 answer

Are there already avaliable weights other than darknet for yolov4 or do I have to train?

Are there already avaliable weights other than darknet for yolov4 or do I have to train? I searched for other weights but I only found people labeling and trainning so I was wondering if there is something like coco dataset to just download it and…
2
votes
2 answers

Is there bigger weights already available for Yolov4?

I want to detect more objects than coco dataset which detects only 80 objects , I want to detect as many as possible actions also like hugging ,swimming.....etc. I don't care about the size and I do not want to train myself ... So is there a…
Kok129
  • 273
  • 2
  • 8
2
votes
1 answer

yolov4..cfg : increasing subdivisions parameter consequences

I'm trying to train a custom dataset using Darknet framework and Yolov4. I built up my own dataset but I get a Out of memory message in google colab. It also said "try to change subdivisions to 64" or something like that. I've searched around the…
user12845915
  • 69
  • 1
  • 5
2
votes
1 answer

Converting Yolov4 Tiny to tflite. error:cannot reshape array of size 372388 into shape (256,256,3,3)

i'm converting my custom weights file to tflite by using open source from https://github.com/haroonshakeel/tensorflow-yolov4-tflite. there is no error when i convert Yolov4.weights to tflite but when i switch to Yolov4-tiny.weights i got an error…
lin
  • 23
  • 2
  • 5
2
votes
3 answers

Why is cv2.dnn work faster when I use CPU rather than GPU?

I am new to openCV - CUDA so I have been testing the most simple one which is loading a model on GPU rather than CPU to see how fast GPU is and I am horrified at the result I get. ---------------------------------------------------------------- --- …
user12088653
2
votes
1 answer

How do I understand whether yolov4 training is overfitting?

I'm training to make human detection with YOLOv4 in the custom dataset. I used this command to train the dataset: !./darknet detector train data/obj.data cfg/custom-yolov4-detector.cfg yolov4.conv.137 -dont_show -map At the end of the training, it…
2
votes
2 answers

Failed to initialize detector. Input tensor has type kTfliteFloat32 ML Kit

I'd like to know if it is possible to implement a darknet model (yolov4-tiny) converted to .tflite in android studio with ML Kit. I've tried to use this repository: https://github.com/googlesamples/mlkit/tree/master/android/vision-quickstart , but…
Cristian
  • 29
  • 1
  • 3
1
vote
0 answers

Net.forward() gives right predictions in python but doesn't predict in c++

I am trying use yolov3 model to predict using opencv dnn module. It works perfectly in python but when I run in c++ (same configurations), it doesn't predict as the python code does. Neither there is an error. The output is plain, no…
1
vote
1 answer

YOLO label format, when images doesn't have bounding box

If an image (abc.jpg) doesn't have any bounding box, how should look its corresponding label file (abc.txt)? The regular label format is: label x_center/width y_center/height width/image_width, height/image_height.
Michael D
  • 1,711
  • 4
  • 23
  • 38
1
vote
0 answers

Simple object count on frame with Yolo has error Not enough values to unpack

I'm trying to count the number of cars visible in a frame. Here is an excerpt: while True: # Read frame from video ret, frame = cv2.VideoCapture(input_video).read() if not ret: break # Detect objects in the frame using…
Isshen
  • 11
  • 3
1
vote
1 answer

Only the initial frame is being tracked in YOLOv4 with DeepSORT on Colab

I am currently trying to do object tracking with YOLOv4 and DeepSORT algorithm on Google Colab by utilizing this repository from the AIGuysCode. Previously, everything was fine and the following command was utilized to install tensorflow 2.3.0 in…
1
vote
2 answers

How can I improve my dataset for increased mAP in yolov4 object detection framework

I want to use Yolov4 object detector to detect LED matrices like the one in the attached picture. The goal of my project is to perform automated RoI of these types of LED matrices in vehicular scenarios, mainly. Unfortunately, these type of objects…
1
vote
1 answer

In yolo Can I continue to training from final .weight with different class of images?

I want to train a few products for image classification in Yolo. Let's say I have trained with 10 products (means 10 classes) and saved the best file. Now I want to add some more data of other products (means some new class names and images). So,…
1
2
3
16 17