Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -8,7 +8,7 @@ tags:
|
|
| 8 |
- keypoint-detection
|
| 9 |
- pose-estimation
|
| 10 |
---
|
| 11 |
-
# rtmpose_m_animal — ExecuTorch
|
| 12 |
|
| 13 |
- **Source**: open-mmlab/mmpose RTMPose (rtmpose-m_simcc-ap10k_pt-aic-coco_210e-256x256-7a041aa1)
|
| 14 |
- **License**: Apache-2.0
|
|
@@ -19,13 +19,17 @@ tags:
|
|
| 19 |
|
| 20 |
All variants take and return fp32 tensors — swap the `.pte` file, keep your app code.
|
| 21 |
|
| 22 |
-
|
|
| 23 |
|-----------|------|-----------|------------------------------------|------------------|
|
| 24 |
| fp32 | `rtmpose_m_animal_xnnpack_fp32.pte` | 54.5 | 1.000000 | 9.4 |
|
| 25 |
|
| 26 |
\*Mac arm64, single process, median of 10 — a reference point for relative cost
|
| 27 |
only, not a device number (torch eager fp32 on the same machine: 91.4 ms).
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
## Verification (executorch 1.4.0, torch 2.13.0)
|
| 30 |
|
| 31 |
Parity is measured against the fp32 eager model on real image input; `corr` is
|
|
@@ -40,7 +44,7 @@ XNNPACK delegate coverage (fp32): 93.9% (306/326 ops); ops left on the portable
|
|
| 40 |
|
| 41 |
## Conversion
|
| 42 |
|
| 43 |
-
torch.export -> to_edge_transform_and_lower(
|
| 44 |
(conversion scripts: [executorch-models](https://github.com/john-rocky/executorch-models))
|
| 45 |
|
| 46 |
**Notes**: Top-down again: crop one animal first. AP-10K covers 54 mammal species; a general object detector's animal classes make a workable front end.
|
|
|
|
| 8 |
- keypoint-detection
|
| 9 |
- pose-estimation
|
| 10 |
---
|
| 11 |
+
# rtmpose_m_animal — ExecuTorch
|
| 12 |
|
| 13 |
- **Source**: open-mmlab/mmpose RTMPose (rtmpose-m_simcc-ap10k_pt-aic-coco_210e-256x256-7a041aa1)
|
| 14 |
- **License**: Apache-2.0
|
|
|
|
| 19 |
|
| 20 |
All variants take and return fp32 tensors — swap the `.pte` file, keep your app code.
|
| 21 |
|
| 22 |
+
| build | file | size (MB) | parity vs fp32 eager (worst corr) | Mac median (ms)* |
|
| 23 |
|-----------|------|-----------|------------------------------------|------------------|
|
| 24 |
| fp32 | `rtmpose_m_animal_xnnpack_fp32.pte` | 54.5 | 1.000000 | 9.4 |
|
| 25 |
|
| 26 |
\*Mac arm64, single process, median of 10 — a reference point for relative cost
|
| 27 |
only, not a device number (torch eager fp32 on the same machine: 91.4 ms).
|
| 28 |
|
| 29 |
+
### Builds that did not earn a slot
|
| 30 |
+
|
| 31 |
+
- **Core ML (fp16, iOS) is not shipped**: measured in the units that matter for this model — fraction of keypoints landing within 4 px of fp32: median 0.9412 over 10 real images, worst 0.7647.
|
| 32 |
+
|
| 33 |
## Verification (executorch 1.4.0, torch 2.13.0)
|
| 34 |
|
| 35 |
Parity is measured against the fp32 eager model on real image input; `corr` is
|
|
|
|
| 44 |
|
| 45 |
## Conversion
|
| 46 |
|
| 47 |
+
torch.export -> to_edge_transform_and_lower(partitioner) -> .pte
|
| 48 |
(conversion scripts: [executorch-models](https://github.com/john-rocky/executorch-models))
|
| 49 |
|
| 50 |
**Notes**: Top-down again: crop one animal first. AP-10K covers 54 mammal species; a general object detector's animal classes make a workable front end.
|