Views
No views yet
liquor_bottle.react-native-executorch.| File | Size | Purpose |
|---|---|---|
yolo26n_seg_liquor_v1.pte | 11 MB | ExecuTorch — primary, for on-device inference |
yolo26n_seg_liquor_v1.onnx | 11 MB | ONNX — debugging, alt runtime |
yolo26n_seg_liquor_v1.metadata.yaml | — | Ultralytics model card |
yolo26n-seg.pt (Ultralytics pretrained on COCO)liquor_bottle class. Sources: Lamar liquor-data
(CC BY 4.0), Bottles_All (Roboflow), PNU Spirit Detection, and
composite shelf scenes built on SKU-110K backgrounds (training-only).| Metric | Value |
|---|---|
| Box mAP50 | 0.725 |
| Box mAP50-95 | 0.503 |
| Seg mAP50 | 0.679 |
| Seg mAP50-95 | 0.420 |
| Inference (H100) | 3.9 ms/img |
1import { useInstanceSegmentation } from 'react-native-executorch';
2
3const model = await InstanceSegmentationModule.fromCustomModel({
4 modelSource: 'https://huggingface.co/Rockenfels/yolo26n-seg-liquor/resolve/main/yolo26n_seg_liquor_v1.pte',
5 classNameToIdx: { LIQUOR_BOTTLE: 0 },
6});1from ultralytics import YOLO
2
3model = YOLO('yolo26n_seg_liquor_v1.onnx')
4results = model('shelf.jpg')