Questions tagged [yolov5]

YOLOv5 is a family of object detection architectures and models pretrained on the COCO dataset.

It is a product of Ultralytics open-source research.

643 questions
2
votes
1 answer

YOLO V5 custom object detection : csv output

I managed to train the YOLO V5 model on my customed data and I'm having great results. I was just wondering how I could export the bonding boxes in a csv or txt file in which I'd have the coordinates and the score of prediction. I've read that I'll…
Dilow
  • 35
  • 5
2
votes
1 answer

how to convert coordination of labels for yolo when cropping image?

i've created over 1200 images with labels for yolo detection and the problem is every image size is 800x600 and all the objects with labels are in the middle of the image. so i wanna crop the rest of the part since objects are placed in the…
wookidookik123
  • 79
  • 2
  • 10
2
votes
0 answers

Stripping down/modifying Yolov5 for real-time on RPi4

I want to use my Raspberry Pi 4 to detect license plates in real time without any hardware add-ons. I know it doesn't sound very feasible but hear me out. I am using two ways of optimizing the network for this purpose: stripping down the neurons of…
2
votes
1 answer

Labelling data in order to train a YOLOv5 model on a custom dataset

I used the source code (ModifiedOpenLabelling) to label my images for Train YOLOv5 Object Detection. The problem is that after labeling my images, I tried to train a model in roboflow, but I could not use the annotations of the images. My…
user18442703
2
votes
0 answers

labeling images for object detection model: add black region?

When doing a labeling job for an object detection model, (e.g. YOLO). what options do I have when an object is partially shown in the frame? specifically, if I have half a person (let's say, the bottom half) should I tag it? or leave it be? Can I,…
Ardemion
  • 33
  • 1
  • 7
2
votes
1 answer

save only detections in a defined space on screen and filter out detections under a defined % of screen YOLOv5

hello i am working on this project in YOLOv5. i want to only save the image when the boundary box is 20% or more of the total image size. i also want it to only save the detection when it is atleast 10% away from all sides of the image here is…
2
votes
2 answers

How to resume/continue from already trained YOLO5 Training Epoch?

I have started the Yolo5 Training with custom data The command I have used: !python train.py --img 640 --batch-size 32 --epochs 5 --data /content/drive/MyDrive/yolov5_dataset/dataset_Trafic/data.yaml --cfg…
thangaraj1980
  • 141
  • 2
  • 11
2
votes
1 answer

non-normalized labels in yolov5

I am training yolov5 on my custom dataset and am getting the non-normalized labels' error. The annotations have x,y, and w,h which means that the bounding box is present from (x,y) to (x+w,y+h). I am using the cv2 rectangle function to display the…
Asim
  • 1,430
  • 1
  • 22
  • 43
2
votes
3 answers

Detect Objects on high resolution image by splitting the image into tiles and reconstruct the tiles into single image

My yolov5 model was trained on 416 * 416 images. I need to detect objects on my input image of size 4008 * 2672. I split the image into tiles of size 416 * 416 and fed to the model and it can able to detect objects but at the time of stitching the…
2
votes
1 answer

How to combine anomaly detection model with Object Detection Model

newbie here in deep learning. My question is: I have an already trained object detection (yolov5) model for 3 classes [0,1,2]. Now, my next step is to classify one class , e.g. class [0] as anomaly or not. In other words, I need an additional…
2
votes
0 answers

How Can I Combine/Merge Multiple Weight File at Yolov5

I have 3 weight file. Let's say.... face.pt hands.pt legs.pt Right now, I run run every single weight file and detect particular section. But I want to detect those three section In one run. I want to detect Face,hand,legs in single screen. I want…
2
votes
1 answer

Why is YOLOv5 using CUDA when i have specified CPU?

When i load a model with YOLOv5 and specify 'cpu', yolo is still using 'gpu'. Why? The code: model = yolov5.load(model, device='cuda' if torch.cuda.is_available() else 'cpu') print('cuda' if torch.cuda.is_available() else 'cpu') prints cpu It is…
Joysn
  • 987
  • 1
  • 16
  • 30
2
votes
0 answers

When using Yolov5 and Python 3.9.7 I get "Process finished with exit code -1073741819 (0xC0000005)"

I have tried all of the answers that reference "exit code -1073741819 (0xC0000005)" (Which means access violation) but none of them work. I followed the exact instructions on the Ultraytics web site on another machine and it works fine, but the…
Zod
  • 31
  • 1
  • 3
2
votes
0 answers

YOLOv5 paging file too small

I am trying to train a YOLOv5 CNN on a custom dataset with around 10000 training examples, but I keep getting the following error: C:\Program Files\Python39\lib\site-packages\setuptools\distutils_patch.py:25: UserWarning: Distutils was imported…
MaltDew
  • 137
  • 8
2
votes
2 answers

How to Convert Yolov5 model to tensorflow.js

Is it possible to convert the YOLOv5 PyTorch model to the Tensorflow.js model? I am developing an object detection web app. so I have trained the data using Yolov5, but now I am looking for the correct method to convert that model to Tf.js.
Irugal
  • 31
  • 1
  • 2