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

How to output all class in order from left to right from top to bottom in Yolo7?

I tested with random images and the output like this: 3 Cars,4 persons,5 Dogs how to print all class from left to right from top to bottom: car,person,person,person,dog,person,car,dog......
Hùng Kj
  • 3
  • 2
-1
votes
3 answers

How to crop image by yolo annotated data?

I am trying to write a python script which will crop image by annotated data. Can anyone help me? Image: Annotated data: 0 0.514583 0.716204 0.136458 0.102778
Jony Ghosh
  • 37
  • 5
-1
votes
1 answer

How to use val.py to calculate mAP on custom testing dataset of YOLOv5?

I am trying to calucate mAP on my testing dataset using this: !python val.py --task test I am using a custom data.yaml file. But I don't know how to point to that data.yaml. And when I use the following code: val.py --data= /content/data.yaml…
-1
votes
2 answers

Image comparison and Angle Estimation

I have a target object and a lot of other objects in an image. Target object is pre-defined with a known shape in advance as shown in figure. My task is to detect all the target object present in the image and find the angle at which the detected…
-1
votes
1 answer

train custom plate recognition using yolo

I want to train my custom license plate using Yolov5, but I have a problem. My problem is that my dataset is separated for each character and I have no idea how to make annotation file suitable for Yolo which is as follows. Because what I've seen…
roik sail
  • 9
  • 6
-1
votes
2 answers

Can we use Yolov5 to detect a object in a specific area in webcam?

I developed a model1 to detect an object by using webcam, and then use it to generate some of the bounding box areas as a detection area for my model2, such as the picture I provided. But I don't know how to code. Can anyone give me some idea or…
andy wong
  • 61
  • 5
-1
votes
1 answer

Number of computer vision model can run on Android devices?

I was checking the feasibility of number of computer vision model that can run on the android devices simultaneously but could not find any resource for it. I have two computer vision models, one is doing classification of images about 20 classes…
-1
votes
1 answer

Need help in object detection YOLO or tensorflow on how to compare two images and send alert for missing object like through SNS

So I'm doing this project on empty shelf detection in store and sending alert through sns and I'm am not able to get any source on how to complete it. I'm coding on google colab. I trained my images on YOLO and tensor flow. And I've a working live…
-1
votes
2 answers

I am training Yolov5 on OID dataset and I'm getting these errors, "Caught KeyError in DataLoader worker process 0" and "KeyError: 'copy_paste'"

So this is my error, I am using the OID dataset for training using the YOLOV5 model. As a reference, I'm using this article: https://blog.paperspace.com/train-yolov5-custom-data/. I am getting stuck at the training part, please help. [Epoch …
-1
votes
1 answer

RuntimeError: The size of tensor a (80) must match the size of tensor b (56) at non-singleton dimension 3

I ran detect.py in YOLOv5-5.0 and it shown me this. How can I fix it? Here is the problem: Traceback (most recent call last): File "F:\python_yolov5\yolov5-5.0\detect.py", line 178, in detect() File…
GOINOG
  • 11
  • 1
  • 1
-1
votes
1 answer

how to train dataset with 100 classes using yolov5

I need to train a dataset with 100 classes. Each class has 200 images. Has anyone trained such a large dataset using yolo v5 previously? What GPU have you required?
-1
votes
1 answer

Yolov5 custom dataset :dataset.yaml file issue

1)Is it necessary to clone the Yolov5 git repo in the same drive and folder where we save our train/test images? 2)I have cloned the yolov5 git repo in C drive [C/yol5/yolov5] and my train/test images are in E drive under img_data folder (Train=…
-1
votes
3 answers

How do I retrieve the resultant image as a matrix(numpy array) from results given back by yolov5 in pytoch?

I have been learning how to implement pretrained yolo using pytorch, and I want to display the output image using openCV's cv2.imshow() method. The output image can be displayed using .show() function and saved using .save() function, I however want…
-1
votes
1 answer

How do I use YOLOv5 without the internet for kaggle competition

I am attempting to use a software called YOLOv5 in my python code for a Kaggle competition. The only thing is it requires you not to use the internet. I have the yolov5 file already loaded into the kaggle code. but am unsure how to call in in my…
kill wind
  • 1
  • 3
-1
votes
1 answer

How do I load a yolov5l model with custom weights into torch in python?

I have trained a yolov5l model for object detection and classification. I want to use the exported weights to identify images in a program I am creating. I am having trouble finding much of anything on how to use .pt weights in a python program. I…
Nawx
  • 1
  • 2
1 2 3
42
43