Aller au contenu
ModelPrésentéExterne
Browse files

Pipevision Yolo26m Seg

Model: yolo26m-seg-pipevision-fp16 Format: ONNX FP16 (opset 17) Input: images [1, 3, 640, 640] — NCHW, float16, RGB normalized [0, 1], letterboxed (pad 114) Outputs: output0 [1, 100, 38] float32 — end-to-end...

TypeOtherVersionRevision 5f835dcBClasse

Source du modèle

Type
Other
Taille du fichier
45,1–52,0 MB
Version
vRevision 5f835dc
Mis à jour
1 nov. 2026
Téléchargements
26
Source
Hugging Face

Description de la source

PipeVision YOLO26m-seg — Pipeline Defect Segmentation (ONNX FP16)

Model: yolo26m-seg-pipevision-fp16 Format: ONNX FP16 (opset 17) Input: images [1, 3, 640, 640] — NCHW, float16, RGB normalized [0, 1], letterboxed (pad 114) Outputs:

  • output0 [1, 100, 38] float32 — end-to-end (NMS-included): x1, y1, x2, y2, conf, classId + 32 mask coefficients per detection
  • output1 [1, 32, 160, 160] float16 — mask prototypes

Team: Plumbers of UTS (Bo Zhao, Jadyn Braganza, Eunkwang Shin)


Model Description

This model performs instance segmentation of structural defects in pipeline CCTV inspection images. It is exported from a YOLO26m-seg PyTorch checkpoint (best.pt) trained on a 6-class pipeline-defect segmentation dataset.

The model is exported end-to-end with NMS included in the ONNX graph (output0 already carries post-NMS detections capped at 100). Client code decodes the fixed [1, 100, 38] tensor directly — no separate NMS pass is required, though PipeVision still runs a light client-side IoU dedup as a guard.

Each detection's instance mask is reconstructed from the 32 mask coefficients and the shared output1 prototypes: sigmoid(coeffs · prototypes), thresholded at 0.5, cropped to the box and resized to image space.


Intended Use

  • Browser-based pipeline defect visualization (client-side ONNX Runtime Web)
  • Academic research and portfolio demonstration
  • Offline inspection tool prototype

Not suitable for: Safety-critical production deployment, real-time video streams, mobile-only inference (model is ~45 MB).


Training Data

Dataset: Pipeline-defect instance-segmentation set (custom, YOLO polygon format)

SplitImagesNotes
Train15,48470%
Validation3,31915%
Test3,31915%
Total22,122—

Classes (6 total):

IDClass NameSeverity
0Deformationhigh
1Obstaclehigh
2Rupturecritical
3Disconnectcritical
4Misalignmentmedium
5Depositionlow

The class set follows a long-tail distribution — Deposition and Disconnect are the rarest categories in the test split.


Training Configuration

ParameterValue
ArchitectureYOLO26m-seg
Parameters21.8M
Input resolution640 × 640
Epochs150
TaskInstance segmentation
ExportONNX FP16, opset 17, nms=True
FrameworkUltralytics (PyTorch)

Metrics

Validation-set metrics at the final training epoch (results.csv, epoch 150):

MetricBoxMask
Precision0.9230.827
Recall0.8910.793
[email protected]0.9310.788
[email protected]:0.950.6820.480

Per-class (validation, per_class_metrics.csv)

ClassAP50 (box)AP (box)AP50 (mask)AP (mask)
Deformation0.9040.5610.7230.349
Obstacle0.9560.7130.9200.637
Rupture0.9100.6280.8490.501
Disconnect0.9690.8240.7530.521
Misalignment0.9860.7570.7690.455
Deposition0.9540.6480.7780.448

Inference Defaults

conf_threshold: 0.25
iou_threshold: 0.45
max_detections: 100

ONNX Runtime Web Example (TypeScript)

import * as ort from 'onnxruntime-web';

const session = await ort.InferenceSession.create(MODEL_URL, {
  executionProviders: ['webgpu', 'wasm'],
});

// Input: preprocessed Float16Array [1, 3, 640, 640] (letterboxed, RGB/255)
const feeds = { images: new ort.Tensor('float16', data, [1, 3, 640, 640]) };
const results = await session.run(feeds);

// output0 [1, 100, 38]: rows of [x1,y1,x2,y2,conf,classId, ...32 mask coeffs]
//   — already NMS'd; drop rows with conf < threshold.
// output1 [1, 32, 160, 160]: mask prototypes for mask reconstruction.
const detections = results['output0'];
const prototypes = results['output1'];

Limitations

  1. Long-tail dataset — rare classes (Deposition, Disconnect) have fewer training instances; mask [email protected]:0.95 trails the box metric on these.
  2. Single domain — trained on one dataset source; performance on other pipe inspection cameras may differ.
  3. FP16 precision — minor numerical differences vs the FP32 baseline.
  4. No temporal context — designed for single-image inference, not video.
  5. Validation metrics — numbers above are validation-set (no held-out test split was evaluated separately).

License

MIT — Free to use for research and non-commercial projects.

Sources

1 source
Hugging FacePrincipalVersion 5f835dc84d322d8d26dc5d8548340e698329d33f
huggingface.co/gracefullight/pipevision-yolo26m-seg/tree/5f835dc84d322d8d26dc5d8548340e698329d33f

Vérifié 1 nov.

Download files

Repository files

File inventory only; completeness is unverified.

Artefacts du modèle

2 artefacts

best.pt

pt · 52,0 MB · SHA-256 ff9f31196f2a…513f · Hugging Face

Download file

yolo26m-seg-fp16.onnx

onnx · FP16 (unverified) · 45,1 MB · SHA-256 315d02d17588…420e · Hugging Face

Download file

Extraits de sources

3 extraits

--- license: mit library_name: ultralytics tags: - instance-segmentation - yolo - pipe-defect - pipe-inspection - onnx pipeline_tag: image-segmentation --- # PipeVision YOLO26m-seg — Pipeline Defect Segmentation (ONNX FP16) **Model**: `yolo26m-seg-pipevision-fp16` **Format**: ONNX FP16 (opset 17) **Input**: `images` `[1, 3, 640, 640]` — NCHW, float16, RGB normalized [0, 1], letterboxed (pad 114) **Outputs**: - `output0` `[1, 100, 38]` float32 — end-to-end (NMS-included): `x1, y1, x2, y2, conf, classId` + 32 mask coefficients per detection - `output1` `[1, 32, 160, 160]` float16 — mask prototypes **Team**: Plumbers of UTS (Bo Zhao, Jadyn Braganza, Eunkwang Shin) --- ## Model Description This model performs instance segmentation of structural defects in pipeline CCTV inspection images. It is exported from a YOLO26m-seg PyTorch checkpoint (`best.pt`) trained on a 6-class pipeline-defect segmentation dataset. The model is exported **end-to-end with NMS included** in the ONNX graph (`output0` already carries post-NMS detections capped at 100). Client code decodes the fixed `[1, 100, 38]` tensor directly — no separate NMS pass is required, though PipeVision still runs a light client-side IoU dedup as a guard. Each detection's instance mask is reconstructed from the 32 mask coefficients and the shared `output1` prototypes: `sigmoid(coeffs · prototypes)`, thresholded at 0.5, cropped to the box and resized to image space. --- ## Intended Use - Browser-based pipeline defect visualization (client-side ONNX Runtime Web) - Academic research and portfolio demonstration - Offline inspection tool prototype **Not suitable for**: Safety-critical production deployment, real-time video streams, mobile-only inference (model is ~45 MB). --- ## Training Data **Dataset**: Pipeline-defect instance-segmentation set (custom, YOLO polygon format) | Split | Images | Notes | |------------|---------|-------| | Train | 15,484 | 70% | | Validation | 3,319 | 15% | | Test | 3,319 | 15% | | **Total** | **22,122** | — | **Classes** (6 total): | ID | Class Name | Severity | |----|---------------|----------| | 0 | Deformation | high | | 1 | Obstacle | high | | 2 | Rupture | critical | | 3 | Disconnect | critical | | 4 | Misalignment | medium | | 5 | Deposition | low | The class set follows a long-tail distribution — `Deposition` and `Disconnect` are the rarest categorie...

Source context: 26 downloads · 2 likes · Pipeline image-segmentation · Library ultralytics · Repo gracefullight/pipevision-yolo26m-seg

Source context: 6 downloads · 0 likes · Pipeline image-segmentation · Library ultralytics · Repo gracefullight/pipevision-yolo26m-seg