Questions tagged [yolov8]
You Only Look Once (YOLO) is a real-time object detection system written in C. Use this tag for questions about YOLO version 8.
yolov8
458
questions
0
votes
0
answers
26
views
RuntimeError: Given groups=1, expected weight to be at least 1 at dimension 0, but got weight of size [0, 16, 1, 1] instead in YOLOv8 Model Training
I am trying to train a YOLOv8 model using the yolov8n-pose.pt pretrained model with the following configuration in config.yaml:
# Data
path: C:\Users\Denis\OneDrive\Documents\Project\Workout Assistant\...
0
votes
0
answers
35
views
Change YoloV8 Segmentation Color
I am new to YoloV8 training tasks and would like to understand how I can change the colors of a segmentation performed by the model.
If anyone has some code examples and can share them, please.
Any ...
0
votes
0
answers
25
views
I'm having issues trying to create an alert message on the screen when a bounding box touches a "region of interest" with RSTP
I'm doing object detection using yolov8 and I am trying to create a feature where it displays a red box in the middle of the output screen. If any 2 bounding boxes touches the red box for 1.5 seconds, ...
-4
votes
0
answers
27
views
PYTHON GIVING ERROR ON MODEL TRAINING ON GPU [duplicate]
I am trying to run a YOLO V8 model training on some images on GPU. After installing CUDA TOOLKIT and cuDNN matching versions with pytorch finally the code ran but giving some kind of error which I ...
0
votes
0
answers
33
views
How come I don't see yolo.yaml file in my yolov9 folder when trying to train data in G.C it expects that file
I've come across a problem.
I'm doing object detection on Google Colab with the CNN Yolov9. I'm running into issues because I'm trying to train the data using a command, but the error is saying:
To ...
0
votes
0
answers
24
views
why does the f1 score declines from 1.0 to 0.0?
In the evaluation of a multi-class YOLOv8 model, the F1 confidence curve, why the F1 got dropped by 1.0 to 0.0 also it starts with 1.0? Why does it have to happen when there is an increase in the ...
1
vote
0
answers
26
views
Opencv module dnn inference with batch greater than 1
I want to perform inference using the dnn module of opencv. This is my code:
static cv::Mat inputBlob2;
static std::vector<cv::Mat> outputs2;
cv::dnn::blobFromImages(images, inputBlob2, 1.0 / ...
-1
votes
0
answers
46
views
Is there anyway to use YoloV8 in winform application. Net framework 4.7?
I have a c# winform project, based on .net framework 4.7.
I want to know if is there anyway to use Yolov8 in winform application (.net framework 4.7).
Whenever I add the reference to my project, I get ...
0
votes
0
answers
35
views
How to obtain class, coordinates and score after importing tflite model in android studio with kotlin
So i have trained a YOLOv8 object Detection model with 10 classes and 30 epochs and converted it into a tflite format with this code
from ultralytics import YOLO
model = YOLO("yolov8n.pt")
...
1
vote
1
answer
45
views
How to specify where to save the file in model.predict()?
Here is my code:
from ultralytics import YOLO
model = YOLO('best.pt')
results = model.predict(
source = '/Users/sereentaleb/Desktop/download.jpg',
save=True,
conf=0.25
)
This script will ...
0
votes
0
answers
31
views
compress yolov8 object detection model (.pt file)
I've tried compressing my .pt file using pruning, quantization, and various other methods, but these attempts have doubled the file size 20mb file becomes 40mb. If anyone has any ideas on how to ...
0
votes
0
answers
11
views
Updates about supervision with roboflow
That's the code i'm using to set YOLO.
generator = get_video_frames_generator(SOURCE_VIDEO_PATH)
box_annotator = BoxAnnotator(color=ColorPalette(), thickness=4,
text_thickness=4, text_scale=2)
...
-1
votes
0
answers
14
views
I am working on yolov8 model for object detection. i want to store features which are generated by model which classifier use for detection
i am performing object detection using yolov8 pretrained model. i am getting my results. but i want to visualize those featrure maps which are used by classifier for performing detection, How can i ...
0
votes
0
answers
11
views
How to use the exported best.pt models from YOLO to create an Flask App?
I have trained 2 yolo v5 models (best.pt) , 1 for segmentation and 1 for object detection with 2 different datasets,i want to create a egyptian glyph detction system in my pycharm locally, how do i ...
0
votes
0
answers
39
views
Can Frigate work with models trained on images and not videos?
I have a working Yolov8 model that detects playing cards in groups or individually. It was trained on images and I would like it to work with video clips. I have exported it to a tflite format and it ...