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
0
votes
0 answers

Confidence (scores) values very small

Can you please explain how the if statement scores[i]>0.1 and scores[i]<=1.0 will work? Because the score values in your output_data is very small (Of the order 10^-3). So, the if condition will never be satisfied.
0
votes
1 answer

Output tensor from tflite interpreter is squeezed

I'm trying to get a YOLOv5s model to run on a Coral EdgeTPU. Ive followed the instructions in the YOLOv5 repository for conversion from the yolov5s.pt model to the yolov5s-int8_edgetpu.tflite model. After cloning the pycoral repository, they provide…
0
votes
0 answers

How to get a data generator suitable for multitask

Currently am trying to train a multi task Deep learning model. I have images in a CSV with there corresponding severity labels bas well as multiple bounding boxes for each image. In my network am using one head for image classification and the other…
0
votes
0 answers

docker run -gpus all with multiple volume for yolov5

docker run --gpus all --shm-size=4gb --name bookfinalfinal --volume D:/BankDataDocker/data:/usr/src/app/data --volume D:/BankDataDocker/run:/usr/src/app/runs yolo:v1 bash docker: Error response from daemon: invalid mode: /usr/src/app/data. I…
0
votes
1 answer

How to use Yolo 5 converted models

Yolo 5 is an object detection model that can be exported to several different frameworks including TensorFlow and Core ML. https://github.com/ultralytics/yolov5 I have been able to train a Yolo 5 model, and export it to TensorFlow (TF1 graph def, or…
James
  • 17,965
  • 11
  • 91
  • 146
0
votes
1 answer

Using Yolox on an asset image doesn't draw any detection

So I'm trying to learn how to use Yolox for my bachelor thesis, and after hours of installing and updating components, finally managed to run Yolox on a test image in the assets folder. However, when I go to the output folder, it's the same image…
Paul C
  • 27
  • 6
0
votes
1 answer

TensorFlow Lite model not working in Android (Java) but works on Python

Background I successfully converted my YOLOV5 model from YOLOV5.pt to YOLOV5-fp16.tflite and was able to run it on python(refer to the test video on Google Drive). I used the conversion method python export.py --include tflite. Google Colab where…
0
votes
2 answers

How to convert yolov5 trained model into tflite in google colab to install on mobile app?

I have used Yolov5 to train the model in google colab and how can I export the .tflite file of the trained model so that it can be used for mobile applications. Thanks for help me
0
votes
0 answers

YoloV5 Webcam-Stream on Colab

I am using Yolov5 and Google Colab for custom object detection. Is it possible to access my local webcam in google colab to detect objects in real-time using custom weights in yolov5? I can open my webcam and live-stream a video but detecting on…
st0412
  • 49
  • 4
0
votes
1 answer

How to use Yolo V5 in C# with a GPU?

I spend the last days trying to get Yolo to work on my GPU. I tried using https://github.yuuza.net/mentalstack/yolov5-net, I followed their guide to use GPU and it didn't work. All other C# Yolo wrappers are not using the Yolov5 version and I want…
0
votes
1 answer

Knowledge required to understand YOLOR

I'm trying to learn YOLOR but everything look like a alien language to me so for the expert out there What knowledge do I need to have to start learning and implement this object detection model? Do I need to learn Yaml and Shell Command on Pycharm…
James Ngo
  • 61
  • 1
  • 2
0
votes
1 answer

Convert .pt to .pth?

I've been trying to compile my custom trained YoloV5 model using SageMaker Neo. The compilation gives an error : ClientError: InputConfiguration: No pth file found for PyTorch model. Please make sure the framework you select is correct. The…
Steven
  • 9
  • 4
0
votes
1 answer

Wrong input shape error in torchscript and C++ interface

I am trying to interface libtorch and OpenCV to predict the classes using the Yolov5 model. The weight I am using is yolov5s.pt. The source code is cv::Mat image = file->input_image(); // read image and resize into 640x640 auto tensor =…
tbhaxor
  • 1,659
  • 2
  • 13
  • 43
0
votes
3 answers

YOLOv5 Dataset Format Issues

I have dataset in the form bbox "2947 1442 40 40" I want to convert it into YoloV5 format. I don't know exactly how can I can convert this notation to YOLOv5.
0
votes
1 answer

Trying this -->"converting YOLO V5 Ultralytics model and config format into Darknet format" # I get this error

AttributeError Traceback (most recent call last) in () 4 with open(cfg_file_name, 'w') as cfg: 5 with open(yaml_file_name,'r') as f: ----> 6 f = yaml.load(f,Loader=yaml.FullLoader) 7 net = 0 8 …