Questions tagged [yolov5]
YOLOv5 is a family of object detection architectures and models pretrained on the COCO dataset.
yolov5
597
questions
0
votes
0
answers
12
views
How can I convert a YOLOv8 OBB trained best.pt model to a .pth model?
I trained a YOLOv5 OBB model and obtained the best.pt model from it. I want to convert this model to a best.pth model and inference images on this. How can I do that?
I tried to use the following code ...
0
votes
1
answer
30
views
Error loading .jpg images in tkinter window using tk.PhotoImage
Question:
I am working on a tkinter application where I need to display images in the GUI. While loading .png images works perfectly fine, I am encountering difficulties when attempting to load .jpg ...
-1
votes
0
answers
25
views
How to train Yolo 3D for NYU dataset
I have had trained my Yolo 3D model in KITTI dataset and now I would like to train it on NYU dataset. What changes must I do in the NYU dataset in order to train it in YOLO 3D model?
I would like to ...
1
vote
1
answer
50
views
How to get bounding box labels and it's format in Yolo 3D
I have had implemented Yolo 3D model in my workspace, and it is working fine. I am getting an image as an output. So I would like to know where I can get the labels for my 3D bounding boxes. And I ...
-2
votes
0
answers
33
views
How can I list all potential classes a detection could be?
In YOLOv5 I am running object detection on a custom-trained model in Jupyter Notebook. I can get results in the tensor or Pandas format by results.pandas().xyxy[0] or results.xyxy[0]. Often confidence ...
0
votes
0
answers
18
views
Run Yolov5 model in Max engine using Mojo
Issues in loading and compiling the yolov5s.torchscript model in MAX Engine using Mojo.
Referred the documents at https://docs.modular.com/max/mojo/get-started and https://docs.modular.com/max/model-...
0
votes
0
answers
23
views
COMET ERROR: Unable to verify Comet API key at this time
#@title Select YOLOv5 🚀 logger {run: 'auto'}
logger = 'Comet' #@param \['Comet', 'ClearML', 'TensorBoard'\]
if logger == 'Comet':
%pip install -q comet_ml
import comet_ml; comet_ml.init()
elif ...
-1
votes
0
answers
13
views
Yolo detect person in video which doesn't have any humans
I am using the following python script to sort videos with only with humans:
import os
import time
from datetime import datetime
from tqdm import tqdm
from ultralytics import YOLOv10
model = YOLOv10....
0
votes
0
answers
17
views
Yolov5 trained with bdd100k: AttributeError: 'Namespace' object has no attribute 'label_smoothing'
I am trying to create model with yolov5, based on bdd100k dataset, images cached, last success i got is: "AutoAnchor: 4.96 anchors/target, 1.000 Best Possible Recall (BPR). Current anchors are a ...
0
votes
0
answers
58
views
How do I the fix "Cache may be out of date" error?
I created a training model successfully with YOLOv5s as a pretrained model and ten images as a dataset.
But I got into trouble when I went to make a second model with another ten images.
My first and ...
0
votes
0
answers
25
views
YOLOv5 ptl model inference results out of bounds of classes array
I have a yolov5 model that I converted into ptl using the code below
import torch
from torch.utils.mobile_optimizer import optimize_for_mobile
torchscript_model = "best.torchscript"
...
0
votes
0
answers
30
views
Offsets and label creation for object detection training/inference
I am new to object detection. I know that in object detection anchors are used for detecting objects in the feature map using offsets instead of predicting actual location of the object w.r.t input ...
0
votes
1
answer
67
views
No bounding boxes generated for a trained YOLO NAS model using Pytorch
I have trained a YOLO NAS-s format model for image detection in a retail store using pytorch. I trained my model for approx ~8000 images, 20 epochs as per below training code. Due to memory issues my ...
0
votes
0
answers
35
views
Get_problem while cloning yolov5
ERROR: Cannot uninstall 'TBB'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
get the error each ...
0
votes
1
answer
80
views
yolo training with low precision and low map
I am using YOLOv5 to train a model to recognize cards in a card game. I started with the pre-trained model yolov5s.pt and my dataset consists of 138 images. However, the accuracy and mAP are very low ...