guides/sahi-tiled-inference/ #8121
Replies: 12 comments 45 replies
-
I am using SAHI's Batch Prediction to predict large images (150000*150000). I need to set the --agnostic-nms=True in the Yolov8 to avoid multiple classes being detected for single object. But the SAHI's batch predict function does not accept --agnostic-nms argument for Yolov8. Is there a way to deal with this issue? |
Beta Was this translation helpful? Give feedback.
-
How to use SAHI predict in case of incoming images on-the-fly, rather than processing a batch of images from a folder, and Infered images needs to be visualized in real-time. |
Beta Was this translation helpful? Give feedback.
-
I would like to use yolov8 and sahi for video detection and every time i use cv2 for video processing, the output video does not return the same detection as each frame individually if taken as image. If you can please provide a code to do it or help with the logic |
Beta Was this translation helpful? Give feedback.
-
In AutoDetectionModel.from_pretrained argument config should I define image_size as 640 for the best possible YOLO prediction or will YOLO preprocess the image automatically to account for this? |
Beta Was this translation helpful? Give feedback.
-
Welcome my friends, i have problem and ican not sloved it, my problem is that object names are large in images, and the borders of the box that defines the object are also large. How can I change them? Or make modifications to them? The other issue is that I only want vehicles objects, meaning cars, buses, and motorcycles. The other issue is that I previously applied Yolo in vscode. When I applied Yolo in vccode, it showed me statistical results with the number of objects. How can this option exist? With many thanks. |
Beta Was this translation helpful? Give feedback.
-
I am using SAHI to predict on all present images in a folder using the predict() function, how do i get the PredictionResults object for each image? i've tried with: result = predict() and then prediction_list = results.object_prediction_list but it returns an error |
Beta Was this translation helpful? Give feedback.
-
I have a dataset of high-resolution images; I have trained my yolo8 model on the lower resolution of size 640, so if I use my existing model with SAHI, it will still receive results based on my previous training. Is there any guidance on retraining my model so I will obtain better results? |
Beta Was this translation helpful? Give feedback.
-
How I can combine SAHI with segmentation model for aerial images, could you provide me some details please |
Beta Was this translation helpful? Give feedback.
-
When I use Sahi, the inference speed is normal in a single main thread, but when I load Sahi into one of multiple threads, it causes the inference speed to be much slower. What is the reason for this |
Beta Was this translation helpful? Give feedback.
-
How can I predict only the specific classes I need and not all the classes used during training in Sahi inference? |
Beta Was this translation helpful? Give feedback.
-
Hi, I need help inresolving this.
This is my package environment
|
Beta Was this translation helpful? Give feedback.
-
I use YOLOv8 + SAHI for tree detection, I need to calculate the diameter of the tree canopy in cm/m, I read in several articles to use pixels from the bounding box and convert them into cm/m, how do I implement it in SAHI? |
Beta Was this translation helpful? Give feedback.
-
guides/sahi-tiled-inference/
A comprehensive guide on how to use YOLOv8 with SAHI for standard and sliced inference in object detection tasks.
https://docs.ultralytics.com/guides/sahi-tiled-inference/
Beta Was this translation helpful? Give feedback.
All reactions