Yurup commited on
Commit
371a509
·
verified ·
1 Parent(s): eb8de39

Add obt-body-v2 (default) and obt-body-v1 (= obt-h3c, with logit outputs); model card for v0.2.0

Browse files
NOTICE CHANGED
@@ -2,7 +2,7 @@ open-body-tracker
2
  Copyright 2026 open-body-tracker contributors
3
 
4
  Source code in this repository is licensed under the Apache License 2.0 (LICENSE).
5
- The model weights (obt-h3c.*) and the teacher labels are distributed under the SAM License
6
  (licenses/SAM-LICENSE.txt); see MODEL_CARD.md.
7
 
8
  This product includes or adapts the following third-party work:
@@ -23,4 +23,7 @@ This product includes or adapts the following third-party work:
23
 
24
  * ONNX Runtime (Microsoft), MIT License — loaded by the web demo from a CDN.
25
 
 
 
 
26
  Training images are NOT included. See DATA.md for the datasets and their licences.
 
2
  Copyright 2026 open-body-tracker contributors
3
 
4
  Source code in this repository is licensed under the Apache License 2.0 (LICENSE).
5
+ The model weights (obt-body-v1.*, obt-body-v2.* and obt-h3c.*) and the teacher labels are distributed under the SAM License
6
  (licenses/SAM-LICENSE.txt); see MODEL_CARD.md.
7
 
8
  This product includes or adapts the following third-party work:
 
23
 
24
  * ONNX Runtime (Microsoft), MIT License — loaded by the web demo from a CDN.
25
 
26
+ * ASPset-510 (A. Nibali et al.), CC0 1.0, https://github.com/anibali/aspset-510
27
+ obt-body-v2 was additionally trained on ASPset-510 3D joints and video frames.
28
+
29
  Training images are NOT included. See DATA.md for the datasets and their licences.
README.md CHANGED
@@ -11,39 +11,45 @@ tags:
11
  - webgpu
12
  ---
13
 
14
- # open-body-tracker: obt-h3c
15
 
16
  Single-RGB-camera full-body pose: 23 keypoints (COCO 17 body + 6 foot points) in 2D and root-relative
17
  metric 3D, from a 256×192 person crop. Code, demos and documentation: **https://github.com/yuru-lab/open-body-tracker**
18
  · browser demo: https://yuru-lab.github.io/open-body-tracker/
19
 
20
- ![obt-h3c on an ASPset-510 clip: 2D skeleton on the video, 3D prediction next to the reference](https://huggingface.co/Yurup/open-body-tracker/resolve/main/sample-aspset.gif)
 
 
 
21
 
22
- <sub>A person from [ASPset-510](https://github.com/anibali/aspset-510) (CC0) who was never used in training.
23
- Grey: ASPset multi-view reference 3D. Colour: obt-h3c, one camera, each frame on its own, no smoothing.
24
- The clip was chosen by a fixed rule (front camera, error within ±8 mm of the held-out average, most varied pose):
25
- 64 mm PA-MPJPE here, 67.9 mm on average. Harder poses such as crouching or a back view reach about 86 mm.
26
- Also as video: [`sample-aspset.mp4`](https://huggingface.co/Yurup/open-body-tracker/resolve/main/sample-aspset.mp4).</sub>
27
 
28
  | File | Format |
29
  |---|---|
30
- | `obt-h3c.safetensors` | PyTorch weights (EMA), load with `open_body_tracker.weights.load_model` |
31
- | `obt-h3c.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 |
32
- | `obt-h3c-fp16.onnx` | same, fp16 weights (191 MB, used by the WebGPU demo) |
33
- | `yolox_nano.onnx`, `yolox_tiny.onnx` | Unmodified mirrors of the official Megvii YOLOX 0.1.1rc0 ONNX person/object detectors (Apache-2.0, `YOLOX-LICENSE.txt`), mirrored for browser CORS |
 
 
 
34
 
35
  ## Results
36
 
37
- | Benchmark | Metric | obt-h3c |
38
- |---|---|---:|
39
- | COCO val2017 (2D, GT boxes, training-overlap images removed) | keypoint AP | 71.7 |
40
- | ASPset-510, 3 held-out subjects | PA-MPJPE (body 12) | 67.9 mm |
41
- | | MPJPE | 92.7 mm |
 
 
42
 
43
- Details, training data and limitations: [MODEL_CARD.md](https://github.com/yuru-lab/open-body-tracker/blob/main/MODEL_CARD.md).
 
 
44
 
45
  ## License
46
 
47
  The weights are distributed under the **SAM License** (`LICENSE`) because the model was trained in part on outputs
48
  of SAM 3D Body (Meta). Include the license when redistributing; its use restrictions apply. Training images
49
- (COCO 2014 and Open Images V7, CC BY 2.0 images only) are not included. YOLOX files: Apache-2.0.
 
11
  - webgpu
12
  ---
13
 
14
+ # open-body-tracker: obt-body-v2 and obt-body-v1
15
 
16
  Single-RGB-camera full-body pose: 23 keypoints (COCO 17 body + 6 foot points) in 2D and root-relative
17
  metric 3D, from a 256×192 person crop. Code, demos and documentation: **https://github.com/yuru-lab/open-body-tracker**
18
  · browser demo: https://yuru-lab.github.io/open-body-tracker/
19
 
20
+ **obt-body-v2** is the default. It is the same network as obt-body-v1, with stage 2 also trained on the multi-view
21
+ 3D of 7 ASPset-510 (CC0) subjects. obt-body-v1 is the first release, originally published as `obt-h3c` (same weights).
22
+ Version history and all benchmarks:
23
+ [docs/MODELS.md](https://github.com/yuru-lab/open-body-tracker/blob/main/docs/MODELS.md).
24
 
25
+ ![v1 and v2 on four benchmarks](https://huggingface.co/Yurup/open-body-tracker/resolve/main/models-v1-v2.png)
 
 
 
 
26
 
27
  | File | Format |
28
  |---|---|
29
+ | `obt-body-v2.safetensors`, `obt-body-v1.safetensors` | PyTorch weights (EMA); load them with `open_body_tracker.weights.load_model` |
30
+ | `obt-body-v2.onnx`, `obt-body-v1.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 |
31
+ | `obt-body-v2-fp16.onnx`, `obt-body-v1-fp16.onnx` | the same with fp16 weights (191 MB; used by the WebGPU demo) |
32
+ | `obt-h3c.*` | obt-body-v1 under its original name, kept for old code (no logit outputs) |
33
+ | `yolox_nano.onnx`, `yolox_tiny.onnx` | unmodified mirrors of the official Megvii YOLOX 0.1.1rc0 ONNX person/object detectors (Apache-2.0, `YOLOX-LICENSE.txt`), mirrored for browser CORS |
34
+
35
+ Checksums: `SHA256SUMS`.
36
 
37
  ## Results
38
 
39
+ | Benchmark | Metric | obt-body-v2 | obt-body-v1 |
40
+ |---|---|---:|---:|
41
+ | COCO val2017 (2D, GT boxes, training-overlap images removed) | keypoint AP | 71.6 | 71.7 |
42
+ | ASPset-510, 3 held-out subjects ¹ | PA-MPJPE (body 12) | 53.7 mm | 67.9 mm |
43
+ | | MPJPE | 75.4 mm | 92.7 mm |
44
+ | Harmony4D test, 3 sequences (other scenes, two people in contact) | PA-MPJPE (body 12) | 71.3 mm | 76.0 mm |
45
+ | | MPJPE | 127.0 mm | 130.3 mm |
46
 
47
+ ¹ v2 was trained on 7 other subjects filmed in the same ASPset studio, so its gain there is larger than in other
48
+ scenes; Harmony4D is the better guide. Details, training data and limitations:
49
+ [MODEL_CARD.md](https://github.com/yuru-lab/open-body-tracker/blob/main/MODEL_CARD.md).
50
 
51
  ## License
52
 
53
  The weights are distributed under the **SAM License** (`LICENSE`) because the model was trained in part on outputs
54
  of SAM 3D Body (Meta). Include the license when redistributing; its use restrictions apply. Training images
55
+ (COCO 2014 and Open Images V7, CC BY 2.0 images only; ASPset-510, CC0, for v2) are not included. YOLOX files: Apache-2.0.
SHA256SUMS CHANGED
@@ -3,3 +3,9 @@ f71d29b5bea52fc4a853f2aff626dd81a4cffae8374b84ea349cf79703e8a57d obt-h3c.onnx
3
  c789161ed43c8269fcd4e67c67eeeb4e80c622da2eb296a20bc6007bd18a0b7d yolox_nano.onnx
4
  427cc366d34e27ff7a03e2899b5e3671425c262ea2291f88bb942bc1cc70b0f7 yolox_tiny.onnx
5
  a4ade40bb1f57133bf7f7c22613fcf3d44d913f48c16d7ac4f4f87a65e99c77b obt-h3c.safetensors
 
 
 
 
 
 
 
3
  c789161ed43c8269fcd4e67c67eeeb4e80c622da2eb296a20bc6007bd18a0b7d yolox_nano.onnx
4
  427cc366d34e27ff7a03e2899b5e3671425c262ea2291f88bb942bc1cc70b0f7 yolox_tiny.onnx
5
  a4ade40bb1f57133bf7f7c22613fcf3d44d913f48c16d7ac4f4f87a65e99c77b obt-h3c.safetensors
6
+ e046ec966cc357c7db37319721978563f0f6319e4e5e4d40fb55d4452aee0096 obt-body-v2.onnx
7
+ 1cee6d22621a3bd9f26112fa4257e993dc92c4bfd1dc84c986a6ce0849554b7b obt-body-v2-fp16.onnx
8
+ fbc70b4057de85f9f652f6655c0e246279702c0004164c9ce4950aee846edf81 obt-body-v2.safetensors
9
+ 93b4c024df6933b3d62f01884aa1bee0e730f26686c4bb43e9b552dc669098f3 obt-body-v1.onnx
10
+ 5ea98e361d182b25f0bd28847fa387c67e1757aca2e9b62b216019f5f41d7acb obt-body-v1-fp16.onnx
11
+ a4ade40bb1f57133bf7f7c22613fcf3d44d913f48c16d7ac4f4f87a65e99c77b obt-body-v1.safetensors
models-v1-v2.png ADDED
obt-body-v1-fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ea98e361d182b25f0bd28847fa387c67e1757aca2e9b62b216019f5f41d7acb
3
+ size 191402203
obt-body-v1.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93b4c024df6933b3d62f01884aa1bee0e730f26686c4bb43e9b552dc669098f3
3
+ size 382475964
obt-body-v1.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4ade40bb1f57133bf7f7c22613fcf3d44d913f48c16d7ac4f4f87a65e99c77b
3
+ size 382335804
obt-body-v2-fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cee6d22621a3bd9f26112fa4257e993dc92c4bfd1dc84c986a6ce0849554b7b
3
+ size 191402203
obt-body-v2.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e046ec966cc357c7db37319721978563f0f6319e4e5e4d40fb55d4452aee0096
3
+ size 382475964
obt-body-v2.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbc70b4057de85f9f652f6655c0e246279702c0004164c9ce4950aee846edf81
3
+ size 382335804