mlboydaisuke commited on
Commit
a47576b
·
verified ·
1 Parent(s): c8221c0

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +7 -6
README.md CHANGED
@@ -8,7 +8,7 @@ tags:
8
  - keypoint-detection
9
  - pose-estimation
10
  ---
11
- # rtmpose_s_body — ExecuTorch XNNPACK
12
 
13
  - **Source**: open-mmlab/mmpose RTMPose-s body7 (rtmpose-s_simcc-body7_pt-body7_420e-256x192)
14
  - **License**: Apache-2.0
@@ -19,17 +19,18 @@ tags:
19
 
20
  All variants take and return fp32 tensors — swap the `.pte` file, keep your app code.
21
 
22
- | precision | file | size (MB) | parity vs fp32 eager (worst corr) | Mac median (ms)* |
23
  |-----------|------|-----------|------------------------------------|------------------|
24
  | fp32 | `rtmpose_s_body_xnnpack_fp32.pte` | 21.9 | 1.000000 | 5.7 |
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: 34.3 ms).
28
 
29
- ### Precisions that did not earn a slot
30
 
31
- - **fp16 is not shipped**: keypoints move a median of 16 px and up to 41 px on a 192x256 crop (169 confident keypoints across 12 person crops). It also only saves 5% of the file, so there is nothing to weigh against that.
32
- - **int8 is not shipped**: keypoints move a median of 131 px on a 192x256 crop — the pose is gone. CSPNeXt's channel attention and the head's gated attention unit both resist post-training quantization; this needs QAT, not a different calibration set (re-calibrating on person crops rather than scenes made it worse, not better).
 
33
 
34
  ## Verification (executorch 1.4.0, torch 2.13.0)
35
 
@@ -45,5 +46,5 @@ XNNPACK delegate coverage (fp32): 92.0% (229/249 ops); ops left on the portable
45
 
46
  ## Conversion
47
 
48
- torch.export -> to_edge_transform_and_lower(XnnpackPartitioner) -> .pte
49
  (conversion scripts: [executorch-models](https://github.com/john-rocky/executorch-models))
 
8
  - keypoint-detection
9
  - pose-estimation
10
  ---
11
+ # rtmpose_s_body — ExecuTorch
12
 
13
  - **Source**: open-mmlab/mmpose RTMPose-s body7 (rtmpose-s_simcc-body7_pt-body7_420e-256x192)
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_s_body_xnnpack_fp32.pte` | 21.9 | 1.000000 | 5.7 |
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: 34.3 ms).
28
 
29
+ ### Builds that did not earn a slot
30
 
31
+ - **fp16 is not shipped**: measured in the units that matter for this model — fraction of keypoints landing within 4 px of fp32: median 0.7647 over 10 real images, worst 0.3529.
32
+ - **int8 is not shipped**: measured in the units that matter for this model — fraction of keypoints landing within 4 px of fp32: median 0.0000 over 10 real images, worst 0.0000.
33
+ - **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.8824.
34
 
35
  ## Verification (executorch 1.4.0, torch 2.13.0)
36
 
 
46
 
47
  ## Conversion
48
 
49
+ torch.export -> to_edge_transform_and_lower(partitioner) -> .pte
50
  (conversion scripts: [executorch-models](https://github.com/john-rocky/executorch-models))