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

Yolov7 tiny and Darknet and Python 3.6 results in error with a list in a list

I am trying to process images on Jetson device with Python 3.6.9 with Yolov7 tiny and darknet framework. The code works perfectly on my local MAC (2021, M1) but on Jetson I am getting an error. Thank you very much for your help! import cv2 import…
Matthias
  • 3
  • 2
0
votes
0 answers

Distributed object detection model using pyspark

I am currently building an automatic number plate recognition system. Is it possible to divide incoming cctv footage and use YOLOv7 object detection model in pyspark or similar distributed processing framework?
0
votes
0 answers

Yolov7 on Jetson Orin - Detection time

I'm using a Jetson Orin developer kit with the following code based on Yolov7. The detection time reaches up to 1.6 s on a custom dataset, using GPU with CUDA enabled. The OS is Ubuntu 20.04, the opencv version is 4.7.0, the python version is 3.8,…
Christina
  • 70
  • 7
0
votes
0 answers

YOLOv7-pose non-normalized or out of bounds coordinate labels

When I train my custom key-point model, I get the following warnings notifying me that my annotation format is incorrect: train: WARNING: Ignoring corrupted image and/or label dataset\images\train\Vid3_064.jpg: cannot reshape array of size 33 into…
Lamos21
  • 1
  • 1
0
votes
0 answers

How to add metadata and use yolov7 tensorflow lite model to build app in adroid studio?

when I import yolov7.tflite into android studio,it show have to add metadata. and I use this to add metadata: from tflite_support.metadata_writers import object_detector from tflite_support.metadata_writers import writer_utils ObjectDetectorWriter…
MMMING
  • 1
  • 1
0
votes
0 answers

How to get float* from Tensor on Microsoft.ML.OnnxRuntime?

I'm using nuget package Microsoft.ML.OnnxRuntime to inference yolov7 model, use c# .net framework 4.8 After session.run, I have a Tnesor as result, then I need to do some postprocessing, iterate over the Tnesor,but getting elements…
0
votes
0 answers

How to use zed cam for object detection using yolov7 in python

I am working with Stereo labs zed2 stereo camera and a custom trained data set using yolov7. I am not sure how to use the below code to get the x and y values from the bounding boxes and store them in real time video processing. I was able to get…
0
votes
0 answers

Add a custom block in YOLOv7

I built a custom attention module (similar to SE block) and want to integrate it on the YOLOv7. How can I achieve this? I already tried to change the YAML file with the block I put on the code, but it just said that the block I created was…
0
votes
0 answers

How do I save the values that I get in Anaconda prompt?

I am trying to extract x and y values from a custom trained data set and I use Anaconda prompt. I somehow managed to get the x and y values printed on my Anaconda prompt but I don't know how to save them. I am using detect.py file when I added 2…
0
votes
0 answers

i am trying to get x and y values from stereo zed cam of a custom dataset for detection(cone set), i am using yolov7

i am working with stereo zed cam to extract the x and y values and store them as a list or array. i used custom dataset which is detect.py and trained those images. but i am getting and error. this is the half code. from models.experimental import…
0
votes
0 answers

Yolov7 segmentation error while training, if the dataset is big

I am having an error while trainining for segmention like this: all the input arrays must have same number of dimensions, but the array at index 0 has 1 dimension(s) and the array at index 1 has 3 dimension(s) it does some epochs like 30, sometimes…
0
votes
0 answers

TypeError: detect() got an unexpected keyword argument 'model'

I am trying to deploy yolov7 using streamlit. But I got some error, and I don't know how to solve it. How to solve this problem, I am not understanding what's wrong in this code. import streamlit as st import pandas as pd import numpy as np import…
0
votes
0 answers

How to calculate the accuracy of a yolov7 model in Google colab

After training and testing my model with my custom dataset I'm able to get the desired results, but I'm not able to calculate the accuracy of the model in Google colab can anyone please help me out. I was trying to train a yolov7 object detection…
0
votes
0 answers

I need to test yolov7 in pycharm uaing pytorch

Hi I'm trying to test my yolov7 model in pycharm, So when I use the line model = torch.hub.load("https://github.com/WongKinYiu/yolov7","custom", path = model_name, trust_repo = True) it gives me an error enter image description here can anyone help…
0
votes
0 answers

Problems with training own data using yolov7.how do I fix it?

I am getting this error whenever I try and train my custom dataset. AssertionError: train: No labels in /home/renrong/YOLO/yolov7/data/safety_helmet/train.cache. Can not train without labels. Modified the path to coco.yaml
blue B
  • 1