tasks/segment/ #8734
Replies: 80 comments 193 replies
-
I have a question about segmentation dataset and really wish you can answer, my dataset contains lots of information including bbox and segmentations, however it has wrong category_id and all categories have been marked as the same category, does this has bad influence on finetuing? If so, how can I fix that? |
Beta Was this translation helpful? Give feedback.
-
How can I run my code on GPU ? From the processor the recognition is freezing
|
Beta Was this translation helpful? Give feedback.
-
I am building a streamlit app on YOLOv8 models, |
Beta Was this translation helpful? Give feedback.
-
has the ability to use image masks instead of contour points as labels ever been implemented ? |
Beta Was this translation helpful? Give feedback.
-
Hi there! I am using the pre-trained segmentation model by Yolov8. I have an image that contains several objects, and I only want to receive the mask of any person present in the frame, while ignoring all the other masks. My requirements:
|
Beta Was this translation helpful? Give feedback.
-
I have a question, how do you visualize the segmentation mask with the detected label? it seems it's not discussed in the documentation, it just shows here how to predict using it but not visualizing it with an image. I even checked the list of results but it seems its just returning segmentation masks, not the classes that it predicts, with that said my question is can you visualize the segmentation mask with a label only because of what i see in the tutorial it has a bounding box too which i think that's how you put the label there because i think the segmentation masks are not directly related in the class ID, my goal is to detect object with segmentation and put label to it without bounding box. looking forward to your answer thank you |
Beta Was this translation helpful? Give feedback.
-
I have a question. Can anyone suggest me how can I save the predicted bounding box and segmented mask in the format of : |
Beta Was this translation helpful? Give feedback.
-
I have an important question, i want going to train yolov8 model for instance segmentation but i need to save all the segmented mask on my disk after training the model. how i can get that |
Beta Was this translation helpful? Give feedback.
-
Query: |
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Hi there! I'd like to share with you a project I've recently worked on. Together with a colleague, we've created a repository that serves as a tool with a SAHI-like inference but specifically tailored for instance segmentation tasks. Our repository allows for segmenting small objects in images by combining mask predictions from various overlapping patches. We support both YOLOv8-seg and FastSAM. Additionally, we have a variant for object detection tasks, and the key distinction from SAHI is the support for all the current models from the Ultralytics team: YOLOv9, YOLOv8, RTDTR, and others. I'm a huge fan of Ultralytics, so I'd be thrilled to assist you if you're interested in our project. I'm confident that for many people, the task of finding a large number of segments would be beneficial, especially when using standard Ultralytics models. Here's the link to the project: YOLO-Patch-Based-Inference. Honestly, I wasn't sure where to share information about the project, so I decided to start with the YOLO-seg support section, as it seemed like the most obvious choice. I would greatly appreciate your feedback on the potential usefulness of our project for you. Thank you! |
Beta Was this translation helpful? Give feedback.
-
YOLO V8 has pre-trained models that are performed on the COCO dataset. However, I am working on a project for image segmentation where the classes are not available in the COCO dataset. In this case, do I need to train a model from scratch? About the dataset: Looking for an answer. Thankyou! |
Beta Was this translation helpful? Give feedback.
-
Is Panoptic Segmentation supported by Yolov8 or in any version of Yolo? |
Beta Was this translation helpful? Give feedback.
-
I have trained custom yolov8 model for Instance segmentation on video. Now I have to make video inference for the same please guide me. And I have to deploy it in mobile application which was developed in flutter give me guidance on these for Yolov8 .tflite format model for instance segmentation. |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a question. I have trained a custom model based on a pre trained one to segment the shirts from cyclists. The problem however is that it recognizes 2 slightly different shirt on 1 image. My idea was to only use the one with the highest confidence score, but this object appears to be none (results.probs or results.keypoint are both none objects). Is it possible to get the confidence score or do I have to apply a different methode? |
Beta Was this translation helpful? Give feedback.
-
i have done some polygon annotations using labelme for instance segmentation. I want to know how can I convert them to the YOLO style annotations. I have searched this 'ultralytics' documentation by nobody seems to find that problem. can anyone help me? I have tried labelme to coco to YOLO but it is not working. I an unable to a get annotations for each image in separate txt files. |
Beta Was this translation helpful? Give feedback.
-
Question: How to Detect and Track Specific Labels in a Segmentation Model? I’ve trained a segmentation model that generates masks for various car parts such as headlights, number plates, tires, logos, door handles, drivers, mirrors, etc. The model performs well and produces accurate masks. However, for a particular video, I only want to detect and mask number plates and vehicle logos, ignoring the other labels. Is there a way to perform tracking or predictions on only a selected few labels from the ones my model is trained on? |
Beta Was this translation helpful? Give feedback.
-
Question: How to Assign Sequential IDs to Bounding Boxes and Save Data to Excel? I’m facing an issue with tracking where the ID numbers assigned to each bounding box seem random and inconsistent. For example, after ID 21, the next ID might be 26 or 29. Is there a way to assign IDs sequentially, starting from 1 and increasing by 1 for each new bounding box (ID1, ID2, ID3, etc.)? Additionally, is there a built-in function or library that can save the IDs, detected labels, confidence scores, and the area of each mask (in square pixels) to an Excel sheet? I’d appreciate any guidance on this. |
Beta Was this translation helpful? Give feedback.
-
Hi, I recently did some segmentation work using YOLOv8 on my local machine. After the training, validation, and inference stages, I noticed something interesting – for each image in the "train" and "val" folders, a .npy file was generated with the same name. These .npy files are around 23.7 MB each, while the images are less than 1 MB. This has caused my dataset size to increase by over 23 times. Can anyone explain what these .npy files are for, whether they’re essential, and if I should keep them? Thanks in advance for your help! |
Beta Was this translation helpful? Give feedback.
-
I have a question regarding YOLO model adaptation that I'm really curious about. Let's say I have a well-functioning YOLO model trained specifically for eye detection. Now, I'd like to expand its capabilities to include nose detection as well, and I already have an annotated nose dataset. Is it possible to retrain or fine-tune this existing eye detection model to recognize both eyes and noses? If so, what would be the best approach to achieve this? I'm particularly interested in understanding the process and any potential challenges. Any insights or guidance would be greatly appreciated. Thanks in advance for your expertise! P.S. I do not have eye dataset |
Beta Was this translation helpful? Give feedback.
-
hi, i have done a segmentation model and it works pretty well. How can i extract segmentation information? just like object detection it is x1,x2,y1,y2. So how can i do that on segmentation? i labelled using polygon then export as coco before converting to yolo format |
Beta Was this translation helpful? Give feedback.
-
Hello! Is there a paper for yolov11? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
Hello! I want to ask you about how to make the segmentation label when some situation. i have problem to choose how to set the label.. |
Beta Was this translation helpful? Give feedback.
-
Hello I want to give some advice how to draw the segmentation mask when two products in intersection situation. |
Beta Was this translation helpful? Give feedback.
-
Is the detection box identified by YOLOv8 fitted to the surface of the object, or is it just a random plane? |
Beta Was this translation helpful? Give feedback.
-
Hello,I have a question of load checkpoint,I've already download 11-seg.pt. However,when I try to tain with my datasets,it's always try to download yolo11n.pt, |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm trying to do the same with ultralytics with this example: https://github.com/opencv/opencv_zoo/tree/main/models/image_segmentation_efficientsam in which one data point on the image is used to get the segmented object. |
Beta Was this translation helpful? Give feedback.
-
It is. See the documentation section titled “ SAM prediction example” https://docs.ultralytics.com/models/sam/#how-to-use-sam-versatility-and-power-in-image-segmentation |
Beta Was this translation helpful? Give feedback.
-
yolov8l-seg.pt Is this still available for download |
Beta Was this translation helpful? Give feedback.
-
I encountered a problem while working on the YOLOv8-seg segmentation task, and I would like to understand the possible reasons and solutions. When I used the following code for inference: results = model(r'/root/2_4.jpg', save=True, save_crop=False, imgsz=640, classes=[1], max_det=1, show_labels=False, show_conf=False, show_boxes=False) and tried to save the binary mask results from the how can i resolve this problem. |
Beta Was this translation helpful? Give feedback.
-
tasks/segment/
Learn how to use instance segmentation models with Ultralytics YOLO. Instructions on training, validation, image prediction, and model export.
https://docs.ultralytics.com/tasks/segment/
Beta Was this translation helpful? Give feedback.
All reactions