tasks/segment/ #8734
Replies: 37 comments 85 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 give me guidance on these. |
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.
-
when I run |
Beta Was this translation helpful? Give feedback.
-
Hey~ After training my dataset with YOLOv8, I found jagged edges on the mask in the results. Do you have any improvement methods? |
Beta Was this translation helpful? Give feedback.
-
Hey there! |
Beta Was this translation helpful? Give feedback.
-
Hi! Is TTA available for the segmentation task? TypeError Traceback (most recent call last) File ~/.local/lib/python3.10/site-packages/ultralytics/engine/model.py:452, in Model.predict(self, source, stream, predictor, **kwargs) File ~/.local/lib/python3.10/site-packages/ultralytics/engine/predictor.py:168, in BasePredictor.call(self, source, model, stream, *args, **kwargs) File ~/.local/lib/python3.10/site-packages/torch/utils/_contextlib.py:35, in _wrap_generator..generator_context(*args, **kwargs) File ~/.local/lib/python3.10/site-packages/ultralytics/engine/predictor.py:255, in BasePredictor.stream_inference(self, source, model, *args, **kwargs) File ~/.local/lib/python3.10/site-packages/ultralytics/models/yolo/segment/predict.py:54, in SegmentationPredictor.postprocess(self, preds, img, orig_imgs) TypeError: 'NoneType' object is not subscriptable |
Beta Was this translation helpful? Give feedback.
-
I have a training problem. After improving the yolov8 network, the training speed is normal, but the accuracy and loss calculation becomes very slow after the training, which takes about half an hour, and normally it may take one minute. It is worth noting that I concat the feature map of the shallow network with the feature map of the deep network. I am doing the instance splitting task on coco2017 dataset. The following is the yaml file of the network structure and the record during the training process: [from, repeats, module, args]
YOLOv8.0n headhead:
- [[15, 18, 21], 1, Detect, [nc]] # Detect(P3, P4, P5)
|
Beta Was this translation helpful? Give feedback.
-
Can you use the track function with the segment models? |
Beta Was this translation helpful? Give feedback.
-
Hello there, i am trying to segment some trees in an image and would like to use the mask of these seperate trees to have a cut out image of each of these trees individually. |
Beta Was this translation helpful? Give feedback.
-
hi for the segmentation model can I specify which class I want detected? |
Beta Was this translation helpful? Give feedback.
-
i have pretrained detection model, how to use a pretrained detection model for segmentation training and inference. thank you in advance. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am building models for brain tumor segmentation from MRI images on the BRATS dataset. I have a custom subset of dataset as my training images and it is saved as a numpy array currently. The array is of shape (128, 128, 4) and its values are 0 or 1 representing whether the pixel is of the corresponding class (I have 4 classes). I want to test YOLO models for segmentation on that dataset but it requires data in a specific format that defines a contour by pixels. I do not have much time as this is part of a research project due a few weeks and thus I do not want to use a tool like Roboflow to draw contours for all my data. Is there an automated solution for transforming my binary segmentation masks to a format YOLO models can use? |
Beta Was this translation helpful? Give feedback.
-
How to use the segmentation function of YOLOv8 to segment a panoramic image and a target image simultaneously, and then use feature point matching to perform feature point matching on the segmented object in both images. Match feature points only between segmented objects in two images |
Beta Was this translation helpful? Give feedback.
-
How to use examples to segment and identify objects such as rings. |
Beta Was this translation helpful? Give feedback.
-
What is the best opensource annotation tool which can install locally for image segmentation for YOLO, |
Beta Was this translation helpful? Give feedback.
-
How to extract feature points on segmented objects |
Beta Was this translation helpful? Give feedback.
-
hi, I trained a custom YOLO segmentation model, I want to get midpoint of each mask, how can I do that? |
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