Polish model card, project navigation, results, and validation
Browse filesFiles changed (4)
- .gitattributes+1
- README.md+60-1
- VALIDATION.md+57-17
- assets/s2hand_overview.pngAdded
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textassets/s2hand_overview.png filter=lfs diff=lfs merge=lfs -text
3 unmodified lines45678918 unmodified lines28293031323390 unmodified lines1241251261271281291301311323 unmodified lineslicense_link: LICENSE.mdtags:- pose-estimation- safetensors- delta-checkpoint---18 unmodified lines[`ronggong000/S2HAND`](https://github.com/ronggong000/S2HAND) repository whilethe accompanying manuscript is under review.## Automatic base + delta loadingFive final model checkpoints and their loading script live in this repository.90 unmodified linesSee `VALIDATION.md` for the checks performed before publishing this loader.The verified standalone loader is included here. Training, evaluation, TailGuard,and dataset tooling are maintained in the accompanying source repository. Theprivate source release candidate `v0.1.0-rc2` includes the complete clean HIntvalidation replay and end-to-end TailGuard command.## AttributionDerived from Sapiens2 by Meta. The bundled official standalone backbone and derived3 unmodified lines45678910111218 unmodified lines313233343536373839404142434445464748495051525354555657585960616263646590 unmodified lines1561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901913 unmodified lineslicense_link: LICENSE.mdtags:- pose-estimation- computer-vision- whole-body-pose- hand-pose- safetensors- delta-checkpoint---18 unmodified lines[`ronggong000/S2HAND`](https://github.com/ronggong000/S2HAND) repository whilethe accompanying manuscript is under review.**[Source code](https://github.com/ronggong000/S2HAND) 路[H2SMV-FPV generator](https://huggingface.co/datasets/mage0001/H2SMV-FPV) 路[Training protocol](https://github.com/ronggong000/S2HAND/blob/main/docs/TRAINING.md) 路[Evaluation protocol](https://github.com/ronggong000/S2HAND/blob/main/docs/EVALUATION.md)**<p align="center"><img src="assets/s2hand_overview.png" alt="S2HAND method overview" width="100%"></p>## Model summary| Need | Model ||---|---|| Exact public routing for 268 non-finger heatmaps and unchanged auxiliary heads | `S2HAND-MT-5B` || Best released hand accuracy | `S2HAND-Pose-5B` || Smaller whole-body pose model | `S2HAND-Pose-0.4B`, `0.8B`, or `1B` |Native-pipeline AUC@0.20 (%; TailGuard off):| Model | NewDays TEST | VISOR TEST | H2O TEST | EPICK VAL | H2SMV-FPV TEST ||---|---:|---:|---:|---:|---:|| Public Sapiens2-5B | 61.48 | 56.12 | 69.02 | 55.16 | 47.93 || S2HAND-MT-5B | 62.57 | 59.42 | 70.79 | 58.54 | 49.01 || **S2HAND-Pose-5B** | **70.04** | **74.88** | **73.96** | **74.35** | **56.14** |Each row uses its deployable detector/crop pipeline; missed hands count asfailures. EPICK is a validation split and H2SMV-FPV is synthetic. See the sourcerepository for strict metric definitions and cross-model comparisons.## Automatic base + delta loadingFive final model checkpoints and their loading script live in this repository.90 unmodified linesSee `VALIDATION.md` for the checks performed before publishing this loader.The verified standalone loader is included here. Training, evaluation, TailGuard,and dataset tooling are maintained in the accompanying source repository. Theprivate source release candidate `v0.1.0-rc3` includes the complete clean HIntvalidation replay and end-to-end TailGuard command.## Intended use and limitations- Intended for non-commercial research on whole-body and hand pose estimation,subject to the included Sapiens2 license.- S2HAND remains a top-down estimator. Native-pipeline accuracy depends on theperson/hand detector and crop protocol; a checkpoint result is not comparableacross undeclared crop settings.- S2HAND-MT gives an architectural exact-route guarantee for protected poseheatmaps and leaves the shared backbone/auxiliary heads unchanged.S2HAND-Pose updates shared Transformer blocks and therefore provides measured,not exact, non-hand preservation.- TailGuard requires an external hand detector and adds conditional inference;it is not baked into these weights.- The model can fail under severe blur, truncation, occlusion, side ambiguity,unusual optics, or detector failure. Do not use it for safety-critical oridentity-sensitive decisions.## Citation```bibtex@misc{muk2027s2hand,title = {S2HAND: Accuracy-Preservation Trade-Offs for Hand Specialization in Whole-Body Pose Models},author = {Muk, Singyu and Song, Xuanren and Stefanov, Kalin},year = {2027}}```## AttributionDerived from Sapiens2 by Meta. The bundled official standalone backbone and derived
1234519 unmodified lines2526272829303132333435363738394041424344# Loader validationBefore upload, all five models passed:- Exact base/delta SHA256 verification against their manifests.19 unmodified lines- RGB/ImageNet input tensor shape and finite normalization; and- 308-channel UDP/DARK decoding back to original-image coordinates.On 2026-10-30, the standalone Pose-5B trainer additionally passed a realone-step L40S/BF16 optimization and independent checkpoint-reload test. Thereleased MT-5B route was checked on a real HInt image: all 268 protectedheatmaps were bitwise equal to the public route, while all 40 adapted channelsused the learned route.The clean checkout also replayed all 1,175 hands in the HInt NewDays/EPICKvalidation split. The catastrophic-tail rate matched exactly(`0.0144680851`). Selection AUC was `0.7656657143`, versus `0.7656003214` inthe original research record (absolute difference `0.0000653929`), andcombined NME differed by `0.0000097603`. This is a near-exact numerical replay,not a bitwise metric claim.Finally, TailGuard was exercised with the released MT-5B delta, real NewDaysimages, person detections, and WiLoR-YOLO hand detections. Non-triggered rowsremained bitwise equal to native predictions, while every triggered row usedthe documented coherent 21-joint conditional crop.123456789101112131419 unmodified lines343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384# Loader validation## Source-package checks (2026-10-30)- All 28 unit tests pass under the release source tree.- Metric integration uses `numpy.trapz`, matching the declared NumPy >=1.26requirement as well as newer NumPy releases.- All local Markdown links resolve.- No checkpoint, dataset, or file larger than 10 MiB is tracked by GitHub;deployment deltas remain in the Hugging Face model repository.Before upload, all five models passed:- Exact base/delta SHA256 verification against their manifests.19 unmodified lines- RGB/ImageNet input tensor shape and finite normalization; and- 308-channel UDP/DARK decoding back to original-image coordinates.The protocol-locked evaluator was also compared with the NewDays paper closureaggregate for S2HAND-Pose. Hand count, evaluated-joint count, recall,PCK@.05/.10/.15/.20, AUC@.20, severe-tail rate, and finite-hand NME all matchedexactly.The standalone training adapter's UDP targets were compared element-by-elementwith the original research encoder on randomized in-frame and outside-framepoints; target weights and all heatmap values were exactly equal. Unit testsalso cover the 42-channel layout, visibility handling, and protected-routegradient stop.On 2026-10-30, the standalone Pose-5B trainer passed a real one-step L40S/BF16mechanics test from the pinned training warm-start. It completed canonicalNewDays/EPICK validation, a forward/backward update of blocks 38--40 and theadapted decoder, gradient clipping, best/final checkpoint serialization, andmanifest hashing. The 1,068,545,694-byte final delta contained exactly the 60expected tensors. A separate process then loaded that generated delta over thepinned official base with `load_training_checkpoint` and reproduced finitecanonical validation metrics. The two-hand diagnostic slice is a mechanicstest only and is not reported as a paper benchmark result.The released S2HAND-MT-5B route was also checked with its verified final deltaand a real HInt validation image. All 268 protected heatmaps were bitwise equalto the frozen public decoder route (maximum absolute difference `0.0`), whilethe 40 adapted finger heatmaps differed from that route. The ordinary modelforward was bitwise equal to an independently assembled explicit 40/268 route.The clean checkout also replayed the complete 1,175-hand HInt NewDays/EPICKvalidation split for the released S2HAND-Pose-5B delta. The catastrophic-tailrate matched the original research record exactly (`0.0144680851`). SelectionAUC was `0.7656657143`, versus `0.7656003214` in the original record (absolutedifference `0.0000653929`), and combined NME differed by `0.0000097603`.This is a near-exact protocol replay rather than a bitwise claim: the largestsingle metric difference was `0.0019462` for a discontinuous occluded-joint PCKthreshold count.Finally, after an editable clean-checkout installation, the documentedinference, hand-evaluation, Fisher-probe, and training CLIs all parsed theirpublished command-line interfaces successfully. All relative Markdown links inthe README, validation record, and `docs/` resolve to existing files.TailGuard was then exercised end to end with the released S2HAND-MT-5B delta,real NewDays images, cached person detections, and cached WiLoR-YOLO left/righthand detections. Across 8 images (16 hand rows), 11 rows had a matching detectorbox and 4 crossed the frozen confidence threshold. All 12 non-triggered rowswere bitwise equal to their native predictions; all 4 triggered rows changedand used exactly 4 additional pose forwards. This is an implementation smoketest, not an additional benchmark result.
.gitattributes+1
README.md+60-1
VALIDATION.md+57-17
assets/s2hand_overview.pngAdded

Large File Pointer Details
- SHA256: 152ad4f0741186a63fb672df68917dd63f1441e37b806b1e3f77ebc338a9d4ff
- Pointer size: 132 Bytes
- Size of remote file: 1.31 MB