YOLOv11 Segmentation Test Model
This is a pretrained YOLOv11 segmentation model (COCO dataset) uploaded to test HuggingFace inference API compatibility.
Model Details
- Model: yolo11n-seg.pt
- Task: Instance Segmentation
- Classes: 80 (COCO dataset)
- Framework: Ultralytics YOLOv11
Purpose
Testing whether HuggingFace's free inference API endpoint supports YOLOv11 segmentation models.
Local Usage
from ultralytics import YOLO
# Load model
model = YOLO('model.pt')
# Run inference
results = model('image.jpg')
results[0].show()
Test API Endpoint
import requests
API_URL = "https://router.huggingface.co/models/Sunix2026/yolov11-seg-test"
headers = {"Authorization": "Bearer YOUR_TOKEN"}
with open("image.jpg", "rb") as f:
response = requests.post(API_URL, headers=headers, data=f.read())
print(response.json())
Classes
This model can detect 80 COCO classes: person, bicycle, car, motorcycle, airplane, bus, train, truck, boat, traffic light, fire hydrant, stop sign, parking meter, bench, bird, cat, dog, horse, sheep, cow, elephant, bear, zebra, giraffe, backpack, umbrella, handbag, tie, suitcase, frisbee, skis, snowboard, sports ball, kite, baseball bat, baseball glove, skateboard, surfboard, tennis racket, bottle, wine glass, cup, fork, knife, spoon, bowl, banana, apple, sandwich, orange, broccoli, carrot, hot dog, pizza, donut, cake, chair, couch, potted plant, bed, dining table, toilet, tv, laptop, mouse, remote, keyboard, cell phone, microwave, oven, toaster, sink, refrigerator, book, clock, vase, scissors, teddy bear, hair drier, toothbrush.
- Downloads last month
- 7