v0.4.0: obt-body-v0.4.0-small (default) and obt-body-v0.4.0, with INT8 files
Browse files- NOTICE +4 -2
- README.md +23 -11
- SHA256SUMS +8 -0
- obt-body-v0.4.0-fp16.onnx +3 -0
- obt-body-v0.4.0-int8.onnx +3 -0
- obt-body-v0.4.0-small-fp16.onnx +3 -0
- obt-body-v0.4.0-small-int8.onnx +3 -0
- obt-body-v0.4.0-small.onnx +3 -0
- obt-body-v0.4.0-small.safetensors +3 -0
- obt-body-v0.4.0.onnx +3 -0
- obt-body-v0.4.0.safetensors +3 -0
NOTICE
CHANGED
|
@@ -7,7 +7,7 @@ are licensed under the Apache License 2.0 (LICENSE). See https://github.com/yuru
|
|
| 7 |
This product includes or adapts the following third-party work:
|
| 8 |
|
| 9 |
* DINOv2 (Meta Platforms, Inc.), Apache License 2.0, https://github.com/facebookresearch/dinov2
|
| 10 |
-
The backbone is a ViT-B/14 initialised from the official DINOv2 weights and trained further.
|
| 11 |
|
| 12 |
* MMPose (OpenMMLab), Apache License 2.0, https://github.com/open-mmlab/mmpose
|
| 13 |
The pose head (RTMWHead, RTMCCBlock / gated attention unit, ScaleNorm) and the SimCC
|
|
@@ -31,6 +31,8 @@ Data:
|
|
| 31 |
* COCO 2014 person keypoints (COCO Consortium), annotations CC BY 4.0; only photos marked CC BY 2.0 are used.
|
| 32 |
* Open Images V7 (Google LLC), boxes and metadata CC BY 4.0; only photos marked CC BY 2.0 are used.
|
| 33 |
* ASPset-510 (A. Nibali et al.), CC0 1.0, https://github.com/anibali/aspset-510
|
| 34 |
-
The v0.2.0
|
|
|
|
|
|
|
| 35 |
|
| 36 |
Training images are NOT included. See DATA.md for the datasets, their licences and attribution.
|
|
|
|
| 7 |
This product includes or adapts the following third-party work:
|
| 8 |
|
| 9 |
* DINOv2 (Meta Platforms, Inc.), Apache License 2.0, https://github.com/facebookresearch/dinov2
|
| 10 |
+
The backbone is a ViT-B/14 (v0.4.0-small: ViT-S/14) initialised from the official DINOv2 weights and trained further.
|
| 11 |
|
| 12 |
* MMPose (OpenMMLab), Apache License 2.0, https://github.com/open-mmlab/mmpose
|
| 13 |
The pose head (RTMWHead, RTMCCBlock / gated attention unit, ScaleNorm) and the SimCC
|
|
|
|
| 31 |
* COCO 2014 person keypoints (COCO Consortium), annotations CC BY 4.0; only photos marked CC BY 2.0 are used.
|
| 32 |
* Open Images V7 (Google LLC), boxes and metadata CC BY 4.0; only photos marked CC BY 2.0 are used.
|
| 33 |
* ASPset-510 (A. Nibali et al.), CC0 1.0, https://github.com/anibali/aspset-510
|
| 34 |
+
The v0.2.0 and later weights were additionally trained on ASPset-510 3D joints and video frames.
|
| 35 |
+
* Harmony4D (R. Khirodkar et al.), MIT License (dataset card), https://huggingface.co/datasets/Jyun-Ting/Harmony4D
|
| 36 |
+
The v0.4.0 weights were additionally trained on the multi-view 3D and video frames of its training split.
|
| 37 |
|
| 38 |
Training images are NOT included. See DATA.md for the datasets, their licences and attribution.
|
README.md
CHANGED
|
@@ -17,28 +17,40 @@ from a 256×192 person crop. Code, demos and documentation: **https://github.com
|
|
| 17 |
|
| 18 |

|
| 19 |
|
| 20 |
-
Every release names its models after its tag. **obt-body-v0.
|
| 21 |
-
**obt-body-v0.
|
|
|
|
| 22 |
[docs/MODELS.md](https://github.com/yuru-lab/open-body-tracker/blob/main/docs/MODELS.md).
|
| 23 |
|
| 24 |
-
| | **obt-body-v0.
|
| 25 |
|---|---:|---:|---:|
|
| 26 |
-
|
|
| 27 |
-
|
|
| 28 |
-
|
|
| 29 |
-
|
|
|
|
|
| 30 |
|
| 31 |
-
¹
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
Next to other models on the same frames ([how they were run](https://github.com/yuru-lab/open-body-tracker/blob/main/docs/MODELS.md#other-models-on-the-same-benchmarks)):
|
| 35 |
|
| 36 |
-

|
| 37 |
|
| 38 |
## Files
|
| 39 |
|
| 40 |
| File | Format |
|
| 41 |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
| `obt-body-v0.3.0.onnx` | ONNX fp32 (382 MB). Input `crop` float32 (N,3,256,192) RGB 0–255. Outputs `xy` (N,23,2) crop px, `score` (N,23), `xyz` (N,23,3) metres, and the raw `logits_x/y/X/Y/Z` used by the optional flip test |
|
| 43 |
| `obt-body-v0.3.0-fp16.onnx` | the same with fp16 weights (191 MB; used by the WebGPU demo) |
|
| 44 |
| `obt-body-v0.3.0-int8.onnx` | INT8 for CPUs (142 MB), same inputs and outputs |
|
|
@@ -58,4 +70,4 @@ credits. Part of the training labels were predicted by [SAM 3D Body](https://git
|
|
| 58 |
distributed under the SAM License; copies obtained then may still be used under it. `SAM-LICENSE.txt` is kept for
|
| 59 |
reference and governs SAM 3D Body itself. Our reasoning and what is not settled:
|
| 60 |
[docs/LICENSING.md](https://github.com/yuru-lab/open-body-tracker/blob/main/docs/LICENSING.md).
|
| 61 |
-
Training images (COCO 2014 and Open Images V7, CC BY 2.0 only; ASPset-510, CC0) are not included.
|
|
|
|
| 17 |
|
| 18 |

|
| 19 |
|
| 20 |
+
Every release names its models after its tag. **obt-body-v0.4.0-small** (ViT-S/14) is the default: about as fast
|
| 21 |
+
as v0.3.0 and much more accurate in 3D. **obt-body-v0.4.0** (ViT-B/14) is the most accurate. Each has an INT8 file
|
| 22 |
+
for CPUs. Version history and all benchmarks:
|
| 23 |
[docs/MODELS.md](https://github.com/yuru-lab/open-body-tracker/blob/main/docs/MODELS.md).
|
| 24 |
|
| 25 |
+
| | **obt-body-v0.4.0-small** | **obt-body-v0.4.0** | obt-body-v0.3.0 |
|
| 26 |
|---|---:|---:|---:|
|
| 27 |
+
| Harmony4D test 06/16, PA-MPJPE (scored once) ¹ | 49.4 mm | **45.2 mm** | — |
|
| 28 |
+
| Harmony4D test 01/05/15, PA-MPJPE | 52.8 mm | **48.9 mm** | 71.3 mm |
|
| 29 |
+
| ASPset-510 held-out subjects, PA-MPJPE ² | 50.3 mm | **48.1 mm** | 53.7 mm |
|
| 30 |
+
| COCO val2017 keypoint AP (2D, GT boxes, clean) | 69.9 | **72.8** | 71.6 |
|
| 31 |
+
| CPU, one person, fp32 / int8 (ONNX Runtime, 4 threads, Core i5-12600) | 82 / 48 ms | 248 / 120 ms | 111 / 47 ms |
|
| 32 |
|
| 33 |
+
¹ Kept closed until v0.4.0 was fixed. InstantHMR medium-commercial on the same crops: 47.1 mm (paired difference to
|
| 34 |
+
v0.4.0: −1.9 mm [−2.4, −1.4]). ² Trained on 7 other subjects filmed in the same ASPset studio. The v0.4.0 recipe
|
| 35 |
+
was chosen on ASPset and Harmony4D 01/05/15; Harmony4D 06/16 is the untouched test.
|
| 36 |
+
|
| 37 |
+
v0.4.0 models give their 3D in the crop's ray frame (ONNX metadata `obt.frame = ray`): as seen by the camera turned
|
| 38 |
+
to look straight through the crop centre. `open_body_tracker.pipeline.PosePipeline` turns it into camera axes with
|
| 39 |
+
the camera's focal length (assumed when unknown); see
|
| 40 |
+
[geometry.py](https://github.com/yuru-lab/open-body-tracker/blob/main/src/open_body_tracker/geometry.py).
|
| 41 |
|
| 42 |
Next to other models on the same frames ([how they were run](https://github.com/yuru-lab/open-body-tracker/blob/main/docs/MODELS.md#other-models-on-the-same-benchmarks)):
|
| 43 |
|
| 44 |
+

|
| 45 |
|
| 46 |
## Files
|
| 47 |
|
| 48 |
| File | Format |
|
| 49 |
|---|---|
|
| 50 |
+
| `obt-body-v0.4.0-small.onnx`, `obt-body-v0.4.0.onnx` | ONNX fp32 (116 MB, 384 MB). Input `crop` float32 (N,3,256,192) RGB 0–255. Outputs `xy` (N,23,2) crop px, `score` (N,23), `xyz` (N,23,3) metres in the crop's ray frame, hip midpoint at 0, and the raw `logits_x/y/X/Y/Z`. Flip test: average the decoded outputs of the crop and its mirror (`obt.flip = outputs`) |
|
| 51 |
+
| `obt-body-v0.4.0-small-fp16.onnx`, `obt-body-v0.4.0-fp16.onnx` | the same with fp16 weights (58 MB, 192 MB; used by the WebGPU demo) |
|
| 52 |
+
| `obt-body-v0.4.0-small-int8.onnx`, `obt-body-v0.4.0-int8.onnx` | INT8 for CPUs (53 MB, 140 MB), same inputs and outputs |
|
| 53 |
+
| `obt-body-v0.4.0-small.safetensors`, `obt-body-v0.4.0.safetensors` | PyTorch weights (EMA; the model configuration is in the file metadata); load with `open_body_tracker.weights.load_model` |
|
| 54 |
| `obt-body-v0.3.0.onnx` | ONNX fp32 (382 MB). Input `crop` float32 (N,3,256,192) RGB 0–255. Outputs `xy` (N,23,2) crop px, `score` (N,23), `xyz` (N,23,3) metres, and the raw `logits_x/y/X/Y/Z` used by the optional flip test |
|
| 55 |
| `obt-body-v0.3.0-fp16.onnx` | the same with fp16 weights (191 MB; used by the WebGPU demo) |
|
| 56 |
| `obt-body-v0.3.0-int8.onnx` | INT8 for CPUs (142 MB), same inputs and outputs |
|
|
|
|
| 70 |
distributed under the SAM License; copies obtained then may still be used under it. `SAM-LICENSE.txt` is kept for
|
| 71 |
reference and governs SAM 3D Body itself. Our reasoning and what is not settled:
|
| 72 |
[docs/LICENSING.md](https://github.com/yuru-lab/open-body-tracker/blob/main/docs/LICENSING.md).
|
| 73 |
+
Training images (COCO 2014 and Open Images V7, CC BY 2.0 only; ASPset-510, CC0; Harmony4D, MIT) are not included.
|
SHA256SUMS
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
5ea98e361d182b25f0bd28847fa387c67e1757aca2e9b62b216019f5f41d7acb obt-body-v0.1.0-fp16.onnx
|
| 2 |
93b4c024df6933b3d62f01884aa1bee0e730f26686c4bb43e9b552dc669098f3 obt-body-v0.1.0.onnx
|
| 3 |
1cee6d22621a3bd9f26112fa4257e993dc92c4bfd1dc84c986a6ce0849554b7b obt-body-v0.2.0-fp16.onnx
|
|
|
|
| 1 |
+
e7e835be37247c10acce3b534628741b9510c2d2e66bc67431d07123b0c80f48 obt-body-v0.4.0-small.onnx
|
| 2 |
+
cf4f1d71fe12737ea4e8a5cc15abf9308823e2514360b52a02648751db7a63f8 obt-body-v0.4.0-small-fp16.onnx
|
| 3 |
+
3ac1bf56c490a08be7f1207a80c3cd5f22193cab3a319825f4fbb12439bce223 obt-body-v0.4.0-small-int8.onnx
|
| 4 |
+
b31941e0d460d6a670d7eeaf4cdd3339cd8bb813d0149ec708308ebb866f20d2 obt-body-v0.4.0-small.safetensors
|
| 5 |
+
e4aa4e65ce04f30268f53c2065bfb14cf07a278e14419a59ab3bb22cb75a1ce8 obt-body-v0.4.0.onnx
|
| 6 |
+
58d2a6a420c8ead1eec09d7a4ef10bc2ee8a1722e4310f4516ac97959caac2ce obt-body-v0.4.0-fp16.onnx
|
| 7 |
+
efccf16f31cba81b65e9cde28f3e19397044ea7738dc348fd01f547272e7906c obt-body-v0.4.0-int8.onnx
|
| 8 |
+
ebc69c5148cb4005e8326f3bcaf7ea9129f970461064bcaf20060b88b8b29e8f obt-body-v0.4.0.safetensors
|
| 9 |
5ea98e361d182b25f0bd28847fa387c67e1757aca2e9b62b216019f5f41d7acb obt-body-v0.1.0-fp16.onnx
|
| 10 |
93b4c024df6933b3d62f01884aa1bee0e730f26686c4bb43e9b552dc669098f3 obt-body-v0.1.0.onnx
|
| 11 |
1cee6d22621a3bd9f26112fa4257e993dc92c4bfd1dc84c986a6ce0849554b7b obt-body-v0.2.0-fp16.onnx
|
obt-body-v0.4.0-fp16.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58d2a6a420c8ead1eec09d7a4ef10bc2ee8a1722e4310f4516ac97959caac2ce
|
| 3 |
+
size 192004340
|
obt-body-v0.4.0-int8.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:efccf16f31cba81b65e9cde28f3e19397044ea7738dc348fd01f547272e7906c
|
| 3 |
+
size 140463181
|
obt-body-v0.4.0-small-fp16.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cf4f1d71fe12737ea4e8a5cc15abf9308823e2514360b52a02648751db7a63f8
|
| 3 |
+
size 58005932
|
obt-body-v0.4.0-small-int8.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ac1bf56c490a08be7f1207a80c3cd5f22193cab3a319825f4fbb12439bce223
|
| 3 |
+
size 52749091
|
obt-body-v0.4.0-small.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e7e835be37247c10acce3b534628741b9510c2d2e66bc67431d07123b0c80f48
|
| 3 |
+
size 115635001
|
obt-body-v0.4.0-small.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b31941e0d460d6a670d7eeaf4cdd3339cd8bb813d0149ec708308ebb866f20d2
|
| 3 |
+
size 115470236
|
obt-body-v0.4.0.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4aa4e65ce04f30268f53c2065bfb14cf07a278e14419a59ab3bb22cb75a1ce8
|
| 3 |
+
size 383631722
|
obt-body-v0.4.0.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ebc69c5148cb4005e8326f3bcaf7ea9129f970461064bcaf20060b88b8b29e8f
|
| 3 |
+
size 383467228
|