Upload folder using huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: agpl-3.0
|
| 3 |
+
pipeline_tag: keypoint-detection
|
| 4 |
+
library_name: yolov26
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# YOLO26-S-pose
|
| 8 |
+
|
| 9 |
+
Ultralytics YOLO26 is the latest evolution in the YOLO series, engineered from the ground up for edge and low-power devices. This is the **pose estimation** variant optimized for human keypoint detection.
|
| 10 |
+
|
| 11 |
+
## Model Specifications
|
| 12 |
+
|
| 13 |
+
| Property | Value |
|
| 14 |
+
|----------|-------|
|
| 15 |
+
| Input Size | 640 pixels |
|
| 16 |
+
| mAP Pose (50-95, e2e) | 63.0 |
|
| 17 |
+
| mAP Pose (50, e2e) | 86.6 |
|
| 18 |
+
| CPU Speed (ONNX) | 85.3 ms |
|
| 19 |
+
| T4 TensorRT10 Speed | 2.7 ms |
|
| 20 |
+
| Parameters | 10.4M |
|
| 21 |
+
| FLOPs | 23.9B |
|
| 22 |
+
|
| 23 |
+
## Key Features
|
| 24 |
+
|
| 25 |
+
The architecture of YOLO26 is guided by three core principles:
|
| 26 |
+
|
| 27 |
+
**Simplicity:** YOLO26 is a native end-to-end model, producing predictions directly without the need for non-maximum suppression (NMS). By eliminating this post-processing step, inference becomes faster, lighter, and easier to deploy in real-world systems.
|
| 28 |
+
|
| 29 |
+
**Deployment Efficiency:** The end-to-end design cuts out an entire stage of the pipeline, dramatically simplifying integration, reducing latency, and making deployment more robust across diverse environments.
|
| 30 |
+
|
| 31 |
+
**Training Innovation:** YOLO26 introduces the MuSGD optimizer, a hybrid of SGD and Muon — inspired by Moonshot AI's Kimi K2 breakthroughs in LLM training. This optimizer brings enhanced stability and faster convergence.
|
| 32 |
+
|
| 33 |
+
### Precision Pose Estimation Features
|
| 34 |
+
|
| 35 |
+
- **Residual Log-Likelihood Estimation (RLE):** More accurate keypoint localization
|
| 36 |
+
- **Optimized Decoding:** Increased inference speed for pose estimation
|
| 37 |
+
- **DFL Removal:** Simplified inference and broader hardware compatibility
|
| 38 |
+
- **Up to 43% Faster CPU Inference:** Optimized for edge computing
|
| 39 |
+
|
| 40 |
+
## Usage
|
| 41 |
+
|
| 42 |
+
Install ultralytics with `pip install ultralytics`.
|
| 43 |
+
|
| 44 |
+
Download the model.
|
| 45 |
+
```python
|
| 46 |
+
from huggingface_hub import hf_hub_download
|
| 47 |
+
|
| 48 |
+
model_path = hf_hub_download(repo_id="openvision/yolo26-s-pose", filename="model.pt")
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
Infer.
|
| 52 |
+
```python
|
| 53 |
+
from ultralytics import YOLO
|
| 54 |
+
from PIL import Image
|
| 55 |
+
import requests
|
| 56 |
+
|
| 57 |
+
model = YOLO(model_path)
|
| 58 |
+
|
| 59 |
+
url = 'http://images.cocodataset.org/val2017/000000039769.jpg'
|
| 60 |
+
image = Image.open(requests.get(url, stream=True).raw)
|
| 61 |
+
|
| 62 |
+
# Run inference with the YOLO26s-pose model on the image
|
| 63 |
+
results = model.predict(image)
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
## Documentation
|
| 67 |
+
|
| 68 |
+
For more information, see the [official YOLO26 documentation](https://docs.ultralytics.com/models/yolo26/).
|
model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a083adb42303728ae14c4bd6bd56d80da46f82fb2564dbd6f31dcc92ea321646
|
| 3 |
+
size 24151790
|