body-models
Parametric human models for NumPy, PyTorch, and JAX behind a consistent Python API.
Installation
body-models requires Python 3.11 or newer. NumPy support is included by
default. Install an extra for PyTorch or JAX.
pip install body-models
pip install "body-models[torch]"
pip install "body-models[jax]"
Example
from body_models.gnm.numpy import GNM
model = GNM()
params = model.get_rest_pose(batch_dims=(1,))
vertices = model.forward_vertices(**params)
skeleton = model.forward_skeleton(**params)
Public assets such as GNM Head download on first use. Models with restricted assets require registration with their upstream project.
Models
| Category | Models |
|---|---|
| Bodies | SMPL, SMPL-H, SMPL-X, ANNY, MHR, SOMA |
| Heads | FLAME, GNM Head |
| Hands | MANO |
| Anatomy | SKEL |
| Measurements | GarmentMeasurements |
The documentation covers model setup, parameters, supported runtimes, and the shared API.
License
The library is licensed under Apache 2.0. Model assets retain their upstream licenses; see the documentation for each model.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file body_models-0.25.1.tar.gz.
File metadata
- Download URL: body_models-0.25.1.tar.gz
- Upload date:
- Size: 128.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2b0612f5494cf27e73c1a791284dfd3641ba6aa885ae758e6350e3ce8043f1c
|
|
| MD5 |
48c60ba0a00a74e4a0cdf4146b5267a7
|
|
| BLAKE2b-256 |
a7ee1e637530b3888b897762faa1d3e9431c546f072f042c8124f12cb43ba694
|
File details
Details for the file body_models-0.25.1-py3-none-any.whl.
File metadata
- Download URL: body_models-0.25.1-py3-none-any.whl
- Upload date:
- Size: 185.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33cc9a9a8e32c77c4cd9e69d79b9ac11981c69d070d9ffa7278efe86cb521844
|
|
| MD5 |
f7049f1d9706e4950448e3c64945314f
|
|
| BLAKE2b-256 |
e5cbecb339c902c99de176f76e22f05d26b103c168680baeb8d4ff916d8e8256
|