Instructions to use BDRC/TiBLINE-yolo11m-seg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use BDRC/TiBLINE-yolo11m-seg with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("BDRC/TiBLINE-yolo11m-seg", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
TiBLINE · YOLO11m-seg (reg_max=32) — Tibetan line segmentation
A Ultralytics YOLO11m-seg model fine-tuned for text-line instance segmentation of Tibetan pecha on BDRC/TiBLINED.
This checkpoint uses a doubled box-regression range (reg_max = 32) instead of the
default 16). Pecha lines span most of the folio width; the default reg_max·stride
box reach truncates (end-clips) long lines. Doubling reg_max and **inferring at
imgsz 1024 substantially reduces this clipping while retaining detection quality.
This is the stock-Ultralytics-compatible mitigation released here; experimental
changes to the prototype-mask head are not part of this checkpoint. The model
loads and runs with stock Ultralytics because reg_max is baked into the
checkpoint.
Recommended inference
imgsz = 1024, conf = 0.38. The confidence was selected on TiBLINED
validation. Inference at 1280 increased the measured end-clipping concentration
from 0.286 to 0.434, so it is not recommended for this checkpoint.
from ultralytics import YOLO
m = YOLO("best.pt")
res = m.predict(source="page.jpg", imgsz=1024, conf=0.38, rect=False)
# res[0].masks.xy -> one polygon per detected line (class 0 = "line")
Evaluation (TiBLINED test, 131 pages, @imgsz 1024)
This is a single-run follow-up checkpoint, scored with greedy IoU matching
and corpus-pooled TP/FP/FN. It is distinct from the default-reg_max YOLO11m
three-run system reported in the paper's primary benchmark; do not substitute
this 0.9501 single-run score for that system mean.
Files
best.pt— Ultralytics YOLO11m-seg checkpoint, 1 class (line),reg_max=32.results.csv— training curve.
Training
- Base:
yolo11m-seg.pt, head built withreg_max=32. - Data: TiBLINED
train(1,085 pages); 100 epochs, imgsz 1280 (square), seed 0.
Limitations
- This checkpoint still exhibits some line-end clipping on extreme-aspect Tibetan lines.
- TiBLINED validation and test contain only wide pecha pages.
- The benchmark test set was inspected adaptively during mitigation analysis. Treat this result as a fixed-corpus comparison, not a pristine one-shot held-out estimate.
- Inter-annotator agreement for TiBLINED has not been measured.
See the methodology report and the end-clipping audit for the complete evaluation and mitigation history.
License
Ultralytics YOLO11 is distributed under AGPL-3.0; this fine-tuned checkpoint is a derivative work and is therefore released under AGPL-3.0 as well. If you deploy it in a network service you must comply with AGPL-3.0 (including source availability), or obtain an Ultralytics Enterprise License. The TiBLINED annotations used for fine-tuning are CC BY 4.0.
- Downloads last month
- 126
Model tree for BDRC/TiBLINE-yolo11m-seg
Base model
Ultralytics/YOLO11