yolo Questions

7

In a conda environment with Python 3.8.15 I did pip install ultralytics successfully installed ...,ultralytics-8.0.4 But when running from ultralytics import YOLO , it says ModuleNotFoundError: ...
Soapwort asked 12/1, 2023 at 13:30

5

Solved

I want to integrate OpenCV with YOLOv8 from ultralytics, so I want to obtain the bounding box coordinates from the model prediction. How do I do this? from ultralytics import YOLO import cv2 model...
Cb asked 2/2, 2023 at 14:6

6

Solved

The full error: NotImplementedError: Could not run 'torchvision::nms' with arguments from the 'CUDA' backend. This could be because the operator doesn't exist for this backend, or was omitted durin...
Appealing asked 12/1, 2023 at 22:50

3

An attempt has been made to start a new process before the current process has finished its bootstrapping phase. This probably means that you are not using fork to start your child processes and ...
Thrilling asked 13/1, 2023 at 15:26

5

how to convert a single COCO JSON annotation file into a YOLO darknet format?? like below each individual image has separate filename.txt file
Douzepers asked 15/7, 2021 at 18:18

2

I have error related to simple object detection . output_layers = [layer_names[i[0] - 1] for i in net.getUnconnectedOutLayers()] IndexError: invalid index to scalar variable. import cv2.cv2 as cv...
Ararat asked 28/10, 2021 at 15:21

4

I have built a dataset to train YOLOv4 and I have all the labels in YOLO format (I used LabelImg). Now I want to train SSD with the same dataset and therefore I need the labels in the PASCAL VOC fo...
Gasp asked 4/7, 2021 at 14:36

4

Solved

I was trying to develop some way to convert annotations between formats, and it's quit hard to find information but here I have : This one is PASCAL VOC <width>800</width> <height&gt...
Bloat asked 28/10, 2020 at 21:39

5

Solved

I have Yolo format bounding box annotations of objects saved in a .txt files. Now I want to load those coordinates and draw it on the image using OpenCV, but I don’t know how to convert those float...
Addlepated asked 28/9, 2020 at 6:25

1

AssertionError: train: No labels found in /content/dataset/test/labels.cache, can not start training Automatically generated cache files I'm doing yolo5 An error occurs during the configuration and...
Polarize asked 21/11, 2022 at 8:55

2

Solved

I have this output that was generated by model.predict() 0: 480x640 1 Hole, 234.1ms Speed: 3.0ms preprocess, 234.1ms inference, 4.0ms postprocess per image at shape (1, 3, 640, 640) 0: 480x640 1 H...
Wellfound asked 9/5, 2023 at 21:23

2

Solved

I just want to get class data in my python script like: person, car, truck, dog but my output more than this. Also I can not use results as a string. Python script: from ultralytics import YOLO mo...
Fixative asked 29/1, 2023 at 18:46

6

I am trying to train Yolo on a custom dataset and everything seems to be working without errors but it just isn't training. I followed the tutorial on https://github.com/AlexeyAB/darknet twice bu...
Quadragesimal asked 10/6, 2020 at 5:10

1

Solved

Yolov8 and I suspect Yolov5 handle non-square images well. I cannot see any evidence of cropping the input image, i.e. detections seem to go to the enge of the longest side. Does it resize to a squ...
Phyliciaphylis asked 28/1, 2023 at 14:33

4

Solved

I am working on Yolo3-4-PY to implement it with Tkinter. I've looked everywhere but have not been able to resolve the issue. When I run the program, the canvas is displayed, but when I click on Sta...
Mathia asked 3/6, 2018 at 2:24

8

Solved

I'm training a YOLO model, I have the bounding boxes in this format:- x1, y1, x2, y2 => ex (100, 100, 200, 200) I need to convert it to YOLO format to be something like:- X, Y, W, H => 0.436...
Metalliferous asked 13/5, 2019 at 15:52

4

Solved

I downloaded a a prepared dataset for YoloV7. Also I cloned yoloV7 Repo. I want to train a model with this downloaded dataset, for this I use this command. python train.py --workers 8 --device 0 --...
Jeffries asked 9/11, 2022 at 9:33

5

I am developing an object detection model to detect ships using YOLO. I want to use the COCO dataset. Is there a way to download only the images that have ships with the annotations?
Pitiable asked 29/6, 2018 at 10:58

2

Solved

Getting an error for IndexError: invalid index to scalar variable on the yolo_layers line. network = cv2.dnn.readNetFromDarknet('yolov3.cfg', 'yolov3.weights') layers = network.getLayerNames() yolo...
Gauguin asked 4/11, 2021 at 3:47

2

Solved

I have gone through a couple of YOLO tutorials but I am finding it some what hard to figure if the Anchor boxes for each cell the image is to be divided into is predetermined. In one of the guides ...

4

I'm trying to test out YOLO on google colab for the first time and keep running into this odd error: This is the line of code that I run: !./darknet detector test data/obj.data cfg/yolov3_custom.c...
Putty asked 20/3, 2020 at 1:8

3

I'm really confused with the architecture of yolov3. I've read the documentation and paper about it. Some people say that it has 103 convolutional layers, some others say that it has 53 layers. But...
Fanlight asked 1/3, 2019 at 16:32

2

Solved

I was going through YOLOv4 paper which often uses the term one & two stage object detection. I was unable to understand what's the difference between the two types of object detectors. I am ass...

0

I am following this tutorial: https://blog.paperspace.com/train-yolov5-custom-data/ in order to train a custom dataset. I followed exactly the steps it says inside this tutorial. But when I try thi...
Nemertean asked 6/1, 2022 at 8:15

2

Solved

I am using YOLOv3 to detect cars in videos. I downloaded three files used in my code coco.names, yolov3.cfg and yolov3.weights which are trained for 80 different classes of objects to be detected. ...
Saragossa asked 12/9, 2019 at 1:22

© 2022 - 2024 — McMap. All rights reserved.