Questions tagged [yolov7]

You Only Look Once (YOLO) is a real-time object detection system written in C. Use this tag for questions about YOLO version 7.

You Only Look Once (YOLO) is a real-time object detection system developed for high speed object detection within images.

87 questions
1
vote
1 answer

YOLOv7 labels format

I'm very new to using YOLO and this is one of my assesments where i have to train a model using YOLOv7. I have stated my query below and also any guidance would be appreciated https://www.kaggle.com/datasets/hassanmojab/xview-dataset can someone…
slaam
  • 41
  • 2
1
vote
1 answer

How to avoid converting model to Traced-model every time in YOLOv7?

I am using YOLOv7 for object detection. When I run the following command, object detection works fine: python detect.py --weights yolov7.pt --conf 0.25 --img-size 640 --source inference/images/horses.jpg However, every time I run this command, the…
Nori
  • 2,340
  • 1
  • 18
  • 41
0
votes
0 answers

Why am I getting No Images Found when trying to train my YOLOv7 model?

I'm trying to train a custom object detection model using YOLOv7. I've prepared my dataset with images and corresponding annotation files in YOLO format. I created train.txt and val.txt files listing the paths to the images and their associated…
0
votes
0 answers

YOLOv7 model GPU memory usage doesn't go down after execution

I have a YOLOv7 model that I run with Pytorch - it executes twice in the script. I've earlier executed it in an environment that only had a CPU, but I just switched to a new environment with a GPU. The problem is after it has been executed, the GPU…
ThorBilsby
  • 69
  • 1
  • 6
0
votes
0 answers

Yolo Model Train Non-Square Input Shape

I have data with 1080 width and 1920 height values. I want to train a model according to these input shapes. Because I will use it on android. I don't want to size the photo as 640 640, which is the default size of the path for detection in small…
0
votes
0 answers

LabelImg closes when attempting to label, error in "Canvas.py" file

SO: Windows 11 21H2 Python: 3.11.4 Version labelImg: 1.8.6 Installing collected packages: pyqt5 (5.15.9), lxml (4.9.3), PyQt5-sip (12.12.2), PyQt5-Qt5 (5.15.2) Installation: pip install labelImg Problem: I am working on an object detection…
0
votes
0 answers

Deploy YoloV7 Trained Model in Google Cloud Function

I have trained yolov7 model .pt file and Now I want to deploy to it to Google Cloud Function which will receive photos name and storage address and return the bounding box of object in image . I am not getting any definite path to do this. I…
0
votes
2 answers

YOLOV8: how to save the output of model

this is the code from ultralytics import YOLO license_plate_detector = YOLO('./model/best.pt') license_plates = license_plate_detector('./42.jpg') and this the output 640x608 1 number-plate, 342.0ms Speed: 12.4ms preprocess, 342.0ms inference,…
0
votes
0 answers

How can I use --evolve with train_aux.py in yolov7?

I am trying to train with yolov7's e6e model using the original data. I want to use "--evolve" to adjust the hyperparameters for training, but I get the following error and it does not work. If anyone has encountered a similar error and was able to…
ORANGE
  • 1
0
votes
0 answers

I added one extra RepConv in yoloV7 and encouter some issues

I added an extra repConv and anchors as below, and my first epoch P, R, mAP 0.5 are all zeros, please help... first epoch image # parameters nc: 80 # number of classes depth_multiple: 1.0 # model depth multiple width_multiple: 1.0 # layer channel…
0
votes
0 answers

How can I calculate the confusion matrix after executing Yolov7's detect.py?

I am currently encountering a problem, the results of yolov7's test.py and detect.py identifying the same test set are not the same. How can I make detect.py generate a confusion matrix like test.py when it is executed? I want to see the confusion…
0
votes
0 answers

ImportError:lib/arm-linux-gnueabihr/libstdc++.So.6: version 'GLIBCXX_3.4.29' not found

Is there any way I can solve this error. I'm trying to run a yolov7 model converted and quantized into tflite. I'm using tflite_runtime to run it on raspberry pi 4, aarch 64, but this error keep popping up. Any help? I used colab to convert the…
0
votes
0 answers

what's difference between yolov4 and yolov7 in terms of inferencing?

I'm a beginner to yolo.One thing is confusing to me is the difference between versions of yolo when using them.Is the only difference is the .cfg and .weights file I use?Do they use the same algorithm?What's the relation between yolo and their…
Luca HO
  • 13
  • 2
0
votes
0 answers

YOLO, cfg or weight file for detect 2 classes

I have a question regarding YOLO models. I'm looking for weight or cfg files for my YOLO model that specifically detect only 2 classes: 'person' and 'cat'. I'm aware that there are pre-trained models available with 80 classes, but I haven't been…
LTS FG
  • 19
  • 5
0
votes
0 answers

Conversion of yolov7.pt file into .onnx file format (is Reparameterization needed)

A .pt model file which is directly converted into .onnx format and a .pt model file first reparameterized and then converted into .onnx format what is the difference between these two file after conversion. can i read the .pt file using c++ API with…