Interactive Notebooks

May 31, 2026 ยท View on GitHub

Hands-on Jupyter notebooks demonstrating SAHI with different detection frameworks. Each notebook can be run directly in Google Colab or cloned from the demo directory on GitHub.

Inference Notebooks

NotebookFrameworkModelsLinks
UltralyticsultralyticsYOLOv8, YOLO11, YOLO26Open In Colab GitHub
YOLOEultralyticsYOLOE variantsOpen In Colab GitHub
YOLOv5yolov5YOLOv5 variantsOpen In Colab GitHub
HuggingFacehuggingfaceDETR, Deformable DETR, DETAOpen In Colab GitHub
GroundingDINOhuggingfaceGroundingDINO zero-shot detectionOpen In Colab GitHub
RT-DETRrtdetrRT-DETR variantsOpen In Colab GitHub
MMDetectionmmdet300+ detection modelsOpen In Colab GitHub
Detectron2detectron2Detectron2 modelsOpen In Colab GitHub
TorchVisiontorchvisionFaster R-CNN, RetinaNet, FCOS, SSDOpen In Colab GitHub
RoboflowroboflowRF-DETROpen In Colab GitHub

Utility Notebooks

NotebookDescriptionLinks
SlicingImage and COCO dataset slicing operationsOpen In Colab GitHub

Running Locally

Clone the repository and run notebooks with Jupyter:

git clone https://github.com/obss/sahi.git
cd sahi
pip install -e ".[dev]"
jupyter notebook demo/