Downloads · 30 days
112
100% of all-time downloads
lg227210/valve-detection-yolov8s
valve-detection-yolov8s is a object detection model from lg227210. Use it when you need objects located in an image. The card lists the license as mit.
YOLOv8s model trained to detect 4 types of valves in underground gas valve well inspection images. Trained using an iterative pseudo-labeling strategy starting from just 30 manually annotated images, achieving 92.95%…
Downloads · 30 days
112
100% of all-time downloads
All-time downloads
112
Public
Repo size
374 MB
Likes
0
Public
Click a slice to open those files.
.pt67.1 MB · 35%
From the Hugging Face model README
YOLOv8s model trained to detect 4 types of valves in underground gas valve well inspection images. Trained using an iterative pseudo-labeling strategy starting from just 30 manually annotated images, achieving 92.95% mAP50 through 10 rounds of self-improvement.
| Metric | Value |
|---|---|
| mAP50 | 92.95% |
| mAP50-95 | 72.8% |
| Model Size | 21.5 MB (PyTorch) |
| Inference Speed | ~8ms per image (MPS) |
| Training Rounds | 10 (iterative pseudo-labeling) |
| Class | Description |
|---|---|
| gate_valve | Gate valve (闸阀) |
| globe_valve | Globe valve (截止阀) |
| ball_valve | Ball valve (球阀) |
| other_valve | Other valve types (其他) |
from ultralytics import YOLO
model = YOLO("lg227210/valve-detection-yolov8s")
results = model("inspection_photo.jpg")
for result in results:
for box in result.boxes:
cls = int(box.cls)
conf = float(box.conf)
print(f"Valve: {model.names[cls]}, Confidence: {conf:.2f}")
This model was trained using iterative pseudo-labeling:
| Round | Training Images | mAP50 |
|---|---|---|
| R1 | 30 | 34.5% |
| R5 | ~2,000 | 78.2% |
| R10 | ~30,000 | 92.95% |
This model is part of a 3-stage pipeline:
Trained on 861,000+ real underground gas valve well inspection images (2592x1944 resolution, 973K total, 87.9% quality pass rate).
For commercial use, contact for licensing options. Custom model development services available starting at $500.
Built on Apple M4 Mac Mini with PyTorch MPS acceleration. Total training: ~50 hours across 10 rounds of iterative pseudo-labeling.