zh/guides/sahi-tiled-inference/ #16789
Replies: 12 comments 24 replies
-
Hi, inquiry. is SAHI only used in the reasoning stage? For example, if I have a customized dataset and train it, I still train it normally and get the pt file. Then add SAHI and use the trained pt file for inference, still for training, I need to add SAHI as well. |
Beta Was this translation helpful? Give feedback.
-
👋 Hello, thank you for your interest in Ultralytics 🚀! We recommend checking out our comprehensive Documentation for guidance and insights. You'll find examples on using Python and CLI tools there, which may address many of your questions. If you're encountering any issues with the SAHI tiled inference guide, please make sure to provide a minimum reproducible example if this is a 🐛 Bug Report, to help us understand and address it effectively. For detailed questions or custom training inquiries ❓, include comprehensive information such as dataset image samples and training logs. Make sure you are following our Tips for Best Training Results. Join the vibrant Ultralytics community where you feel most comfortable. Engage in real-time discussions on Discord 🎧, explore deep-dive topics on Discourse, or share insights on our Subreddit. UpgradeEnsure you have the latest version of the pip install -U ultralytics EnvironmentsYOLO can be operated in a variety of verified environments, complete with necessary dependencies like CUDA and CUDNN:
StatusCheck if our Ultralytics CI tests are green. This badge verifies operation accuracy for all YOLO Modes and Tasks across several platforms daily and on each commit: An Ultralytics engineer will also assist you soon 😊. |
Beta Was this translation helpful? Give feedback.
-
Your work is perfect, I have one question, does the current point SAHI library support yolov11's rotating frame target detection? |
Beta Was this translation helpful? Give feedback.
-
Hi! How to utilize sahi for YOLOv8 instance segmentation? |
Beta Was this translation helpful? Give feedback.
-
Does SAHI support Oriented Bounding Box? |
Beta Was this translation helpful? Give feedback.
-
Hi,inquriy.How to perform inference on multiple slices simultaneously?I need to infer a so high resolution image and I want to maintain inference speed, but it is so slow because batch size and cuda is only used one. |
Beta Was this translation helpful? Give feedback.
-
hi,is there code for evaluating the COCO metrics after cutting and stitching predictions? |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your reply. I followed the tutorial for the evaluation and obtained such results, but the visualization effect has clearly improved.I am using the VisDrone dataset. Do you know the reason?
随便
***@***.***
…------------------ 原始邮件 ------------------
发件人: "ultralytics/ultralytics" ***@***.***>;
发送时间: 2024年12月16日(星期一) 晚上9:40
***@***.***>;
***@***.******@***.***>;
主题: Re: [ultralytics/ultralytics] zh/guides/sahi-tiled-inference/ (Discussion #16789)
@wenxi2 you can follow this guide for SAHI based YOLOv8/YOLO11/RTDETR evalution: obss/sahi#622
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
hi, when I use the sari to infer, how can I use two gpus to infer my images? |
Beta Was this translation helpful? Give feedback.
-
Hi, inquiry. |
Beta Was this translation helpful? Give feedback.
-
Hi. I've applied sahi and yolov11 to infer the bbox of small instance. What confuses me is that multiple local regions of some large targets are individually detected as bounding boxes. I would like to ask: Can this situation only be mitigated by adjusting the slice size and confidence threshold? Are there parameters similar to global NMS that can be adjusted? |
Beta Was this translation helpful? Give feedback.
-
Hello author, I am encountering an issue when using SAHI for sliced prediction. When I change the model_path in detection_model to the path of my locally trained weight file (best.pt), it produces an error. However, if I rename best.pt to yolov8n.pt, it can run successfully.What's going on here? How should I quickly use my own weight file? ERROR:TypeError: ('model_path is not a valid Ultralytics model path: ', SSLError(MaxRetryError('HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/ultralytics/assets/releases/tags/v8.3.0 (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))'))) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
zh/guides/sahi-tiled-inference/
Learn how to implement YOLO11 with SAHI for sliced inference. Optimize memory usage and enhance detection accuracy for large-scale applications.
https://docs.ultralytics.com/zh/guides/sahi-tiled-inference/
Beta Was this translation helpful? Give feedback.
All reactions