py-feat / bs_to_au

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: May 07 2026

Introduction of bs_to_au

Model Details of bs_to_au

BS → AU PLS

Predicts 20 FACS Action Unit intensities from 52 MediaPipe blendshapes via Cheong-style PLS regression. Lets MPDetector output AU columns comparable to Detector's xgb output.

BS -> AU PLS (v2)

Linear PLS regression mapping 52 MediaPipe blendshapes to 20 FACS Action Unit intensities. Used to give MPDetector an AU output stream comparable to Detector's xgb AU model output.

Training data
  • 350,568 frames from ~10,000 CelebV-HQ celebrity videos
  • Paired blendshapes (MPDetector mp_blendshapes head) + AU intensities (Detector with img2pose face + xgb AU on the same frames)
  • Pose-filtered to |yaw| <= 40°, |pitch| <= 30° -> 347,897 retained
  • 9,994 unique videos after filtering
  • See /Storage/Projects/mp_blendshapes for the underlying training pipeline
Method
  • PLSRegression(n_components=20, scale=True), Cheong / Py-Feat style
  • 20 components = full rank (capped at min(n_features=52, n_targets=20))
  • Linear features only — pairwise BS interactions were tested in nested CV (2026-05-05) and HURT out-of-sample R² (bs_only=0.236 vs bs_pairs=0.214, with 4-6x higher fold std)
  • No pose covariates: kept pose-agnostic since MP blendshapes are designed to be pose-canonical
  • No clipping at training (clip to [0,1] at inference if desired)
Performance (3-fold GroupKFold by video_id)
  • Overall R² = 0.236 +/- 0.008 (variance-weighted across 20 AUs)
  • Overall MAE = 0.171
  • Strong on AU06/12/43 (~0.50)
  • Moderate on AU01/02/09 (~0.29)
  • Weak on AU11/15/28 (<0.10) — these are rare or visually subtle AUs
Citation context
  • Cheong et al. 2023 (Py-Feat AU visualization model, tutorial 06 by E. Jolly): affine-aligned 68 dlib landmarks -> 20 AUs via PLS on EmotioNet/DISFA/BP4D (~13K class-balanced rows). Our model scales the recipe up to MP blendshapes on 10x larger wild-celebrity data.
Inference

The saved coef + intercept absorb PLSRegression's scale=True standardization, so inference is a single matmul:

au = blendshapes @ coef + intercept   # (n, 52) @ (52, 20) + (20,) = (n, 20)
au = np.clip(au, 0.0, 1.0)            # optional
File format

NPZ with:

  • coef (52, 20) float32 — linear weights, rows match bs_columns
  • intercept (20,) float32 — bias, matches au_columns
  • bs_columns (52,) str — input feature order
  • au_columns (20,) str — output AU order
  • model_card () str — this markdown
  • training_metadata () str — JSON dict with training context

Loader: np.load("bs_to_au_pls_v2.npz") — no extra deps needed.

Runs of py-feat bs_to_au on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About bs_to_au huggingface.co Model

More bs_to_au license Visit here:

https://choosealicense.com/licenses/mit

bs_to_au huggingface.co

bs_to_au huggingface.co is an AI model on huggingface.co that provides bs_to_au's model effect (), which can be used instantly with this py-feat bs_to_au model. huggingface.co supports a free trial of the bs_to_au model, and also provides paid use of the bs_to_au. Support call bs_to_au model through api, including Node.js, Python, http.

py-feat bs_to_au online free

bs_to_au huggingface.co is an online trial and call api platform, which integrates bs_to_au's modeling effects, including api services, and provides a free online trial of bs_to_au, you can try bs_to_au online for free by clicking the link below.

py-feat bs_to_au online free url in huggingface.co:

https://huggingface.co/py-feat/bs_to_au

bs_to_au install

bs_to_au is an open source model from GitHub that offers a free installation service, and any user can find bs_to_au on GitHub to install. At the same time, huggingface.co provides the effect of bs_to_au install, users can directly use bs_to_au installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

bs_to_au install url in huggingface.co:

https://huggingface.co/py-feat/bs_to_au

Url of bs_to_au

bs_to_au huggingface.co Url

Provider of bs_to_au huggingface.co

py-feat
ORGANIZATIONS

Other API from py-feat

huggingface.co

Total runs: 3.7K
Run Growth: -3.7K
Growth Rate: -102.41%
Updated:September 02 2024
huggingface.co

Total runs: 748
Run Growth: -3.5K
Growth Rate: -487.46%
Updated:September 02 2024
huggingface.co

Total runs: 42
Run Growth: 7
Growth Rate: 16.67%
Updated:September 02 2024
huggingface.co

Total runs: 32
Run Growth: -6
Growth Rate: -18.75%
Updated:September 02 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:September 02 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 01 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 07 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 30 2024
huggingface.co

Total runs: 0
Run Growth: -2
Growth Rate: 0.00%
Updated:September 02 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 02 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 01 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 02 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 02 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 02 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 27 2026