Skip to content

Native Windows video motion capture with ExMR, FlowHMR and GVHMR, contact correction, humanoid retargeting, and FBX/VMD export.

Python

Add optional fixed-camera PromptHMR support

toyxyz186c9c8293f7
diff --git a/.gitignore b/.gitignore
index e9a7dc2..3b50af6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -96,6 +96,8 @@ third_party/**/.git/
/third_party/FlowHMR/checkpoints/
/third_party/FlowHMR/ckpts/
/third_party/GVHMR/inputs/
+/third_party/FootMR/inputs/
+/third_party/HTD-Refine/inputs/
# One versioned, verified native module; models and runtimes remain excluded.
diff --git a/AGENTS.md b/AGENTS.md
index 4835996..09d6a74 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -7,9 +7,10 @@ For model-specific files, defaults and workflow, use [docs/models/README.md](doc
For MAMMA runtime installation, native SAM 2/SDF builds or repair, follow
[docs/MAMMA_AGENT_SETUP.md](docs/MAMMA_AGENT_SETUP.md). It distinguishes automatic
setup from custom builds and requires actual CUDA verification before registering
-a manually built environment.
+a manually built environment. For optional PromptHMR setup and its separate SAM2
+build, follow [docs/models/PROMPTHMR.md](docs/models/PROMPTHMR.md).
-- This is the Windows Git/CMD distribution. Preserve the separate pinned runtimes and model-specific behavior.
+- This is the Windows Git/CMD distribution. Preserve the separate pinned runtimes and model-specific behavior. `install.cmd` covers ExMR/FlowHMR/GVHMR; MAMMA and PromptHMR remain optional through their separate setup commands. Do not merge their packages or assume `update.cmd` installs them.
- Treat local `models/`, `projects/`, `cache/`, `character_scenes/`, runtime folders, external project folders and registered model data as user-owned. Do not delete, overwrite, upload or migrate them without appropriate user authorization. Ignore rules are not backups.
- Preserve inference and selected-result behavior when working on preview, contacts or export. Review the relevant code and validation records before changing numerical processing.
- Follow the user's request and perform checks appropriate to the change. Do not claim an inference, import, export, GPU, playback or clean-install test that was not actually run.
diff --git a/README.md b/README.md
index 0dea601..e7f3c00 100644
--- a/README.md
+++ b/README.md
@@ -56,22 +56,21 @@ To update, close the app and run `update.cmd` from the same folder. See the
[installation guide](docs/USER_GUIDE.md#install) for disk space, prerequisites
and recovery.
-### Additional setup for MAMMA
+### Optional model runtimes
-For multi-view capture from synchronized camera videos, complete the base
-installation above, then install **Visual Studio 2022 C++ Build Tools** with the
-Windows SDK and **CUDA Toolkit 12.8**. Close the app and run:
+`install.cmd` prepares ExMR, FlowHMR and GVHMR. Install the following only if
+you use them, after the base installation:
-```cmd
-Setup_MAMMA.cmd
-```
+| Model | Separate setup command | Installation and usage |
+| --- | --- | --- |
+| MAMMA | `Setup_MAMMA.cmd` | [MAMMA guide](docs/MAMMA.md) |
+| PromptHMR | `Setup_PromptHMR.cmd` | [PromptHMR guide](docs/models/PROMPTHMR.md) |
-Review the upstream restricted-use terms before accepting the setup prompt.
-Reopen the app, select **MAMMA**, and use **Model Manager** to download or import
-its model files. MAMMA and locked-head SMPL-X assets require provider registration
-and manual download. See the [MAMMA installation and usage guide](docs/MAMMA.md)
-for prerequisites, exact files and storage requirements. This optional setup is
-not needed for ExMR, FlowHMR or GVHMR.
+Both require **Visual Studio 2022 C++ Build Tools**, the Windows SDK and
+**CUDA Toolkit 12.8** for local native builds. Close the app and review the
+provider terms before setup. Then reopen it and prepare the selected model's
+files in **Model Manager**. Neither optional runtime requires the other;
+`install.cmd` and `update.cmd` do not install them.
### Install with an AI agent
@@ -95,8 +94,18 @@ run Setup_MAMMA.cmd after the required license review, and verify the native CUD
modules. Help me prepare its models without changing the other model runtimes.
```
-MAMMA's [agent setup guide](docs/MAMMA_AGENT_SETUP.md) includes build checks and
-recovery. Provider login and license acceptance remain your responsibility;
+For PromptHMR instead, add:
+
+```text
+Also enable PromptHMR. Follow docs/models/PROMPTHMR.md and docs/AGENT_GUIDE.md.
+Check the C++/CUDA tools, run Setup_PromptHMR.cmd after the required license
+review, verify its CUDA checks, and help prepare the exact Model Manager files.
+Keep other runtimes and existing projects unchanged.
+```
+
+MAMMA's [agent setup guide](docs/MAMMA_AGENT_SETUP.md) and the
+[PromptHMR guide](docs/models/PROMPTHMR.md) include build checks and recovery.
+Provider login and license acceptance remain your responsibility;
do not put passwords or account tokens in the agent chat.
## Features
@@ -113,7 +122,8 @@ do not put passwords or account tokens in the agent chat.
1. Select an AI model and prepare its files in **Model Manager**, then use
**File > Open Video**. For MAMMA, select it before opening synchronized camera
videos; thumbnails switch the preview and one timeline trim applies to all views.
-2. For a single-video model, optionally use **Find person** to select people.
+2. For ExMR, FlowHMR or GVHMR, optionally use **Find person** to select people.
+ PromptHMR tracks people together during reconstruction.
MAMMA detects people during reconstruction; keep **VGGT (Automatic)** and
enter an approximate **Reference Height (m)**, or import camera calibration.
Click **Reconstruct 3D**.
@@ -128,23 +138,40 @@ do not put passwords or account tokens in the agent chat.
| [FlowHMR](https://github.com/flowhmr/flowhmr) | SMPL-H | Included | [FlowHMR guide](docs/models/FLOWHMR.md) |
| [GVHMR](https://github.com/zju3dv/GVHMR) | SMPL-X | Optional HandFlow add-on | [GVHMR guide](docs/models/GVHMR.md) |
| [MAMMA](https://mamma.is.tue.mpg.de/) · multi-view motion capture | SMPL-X | Included | [MAMMA guide](docs/MAMMA.md) |
+| [PromptHMR](https://github.com/yufu-wang/PromptHMR) | SMPL-X | Not generated | [PromptHMR guide](docs/models/PROMPTHMR.md) |
Requires 64-bit Windows, a compatible NVIDIA GPU/driver and OpenGL 4.3.
Model files are acquired separately; some require registration and license acceptance.
-**Disk space:** allow about **45 GB (42 GiB)** for the app, runtimes,
-Blender and model files for the three single-video models, including their optional
-add-ons. The optional MAMMA runtime and model files are additional. Videos,
-projects, imported characters, exports, generated caches and retained download
-archives need additional space. See the [storage details](docs/USER_GUIDE.md#install).
+**Installed models and runtimes:** approximately **67.8 GB (63.1 GiB)** for all
+five models, including supported add-ons, Blender and FFmpeg. Measured without
+projects, caches or retained downloads; shared files are counted once.
+
+| Configuration | Runtime | Models | Total |
+| --- | ---: | ---: | ---: |
+| ExMR + FlowHMR + GVHMR and supported add-ons | 12.35 GiB | 28.89 GiB | 41.23 GiB |
+| MAMMA additional files | 6.11 GiB | 3.42 GiB | 9.54 GiB |
+| PromptHMR additional files | 6.22 GiB | 6.13 GiB | 12.34 GiB |
+| **All five** | **24.68 GiB** | **38.44 GiB** | **63.11 GiB** |
+
+**MAMMA and PromptHMR require separate runtime installation:** run
+`Setup_MAMMA.cmd` or `Setup_PromptHMR.cmd` after `install.cmd`, as described
+[above](#optional-model-runtimes). They are not installed by `install.cmd` or
+`update.cmd`; obtain weights separately in Model Manager.
+
+App source, C++/CUDA compiler tools, installation temporary files and saved work
+need additional space. These are measured sizes, not a setup free-space guarantee.
+See [storage and installation details](docs/USER_GUIDE.md#installed-size).
[Cache and project cleanup: paths and deletion effects](docs/USER_GUIDE.md#storage-and-cleanup).
## Resources and speed
Start with **Resource Mode > Automatic**. It uses the fast supported path when
-memory permits and falls back to Low Memory when needed. **Low Memory** trades
-loading/transfers for lower VRAM use; system RAM may increase.
+memory permits and falls back to a supported Low Memory path when needed.
+Memory-saving methods depend on the model; **Low Memory** can trade slower
+loading/transfers and more system RAM for lower VRAM use. See each model's guide
+for implemented options and limits.
Short paired tests reduced peak allocated VRAM from **5.68 to 3.87 GiB** for ExMR
and **6.10 to 2.77 GiB** for FlowHMR. Separate short-clip tests of connected
@@ -160,6 +187,7 @@ for conditions, per-model results and output differences.
- [Recorded processing time, VRAM and RAM](docs/USER_GUIDE.md#recorded-processing-time-and-vram)
- [Resource modes and measured optimizations](docs/PERFORMANCE.md)
- [MAMMA: additional installation, model files and multi-video workflow](docs/MAMMA.md)
+- [PromptHMR: additional installation, model files and fixed-camera workflow](docs/models/PROMPTHMR.md)
- [Development and builds](docs/BUILD.md)
- [Agent operating and development guide](docs/AGENT_GUIDE.md)
- [Source validation](docs/VALIDATION.md)
diff --git a/SOURCE_MANIFEST.json b/SOURCE_MANIFEST.json
index d98a61c..4ecad87 100644
--- a/SOURCE_MANIFEST.json
+++ b/SOURCE_MANIFEST.json
@@ -11,13 +11,13 @@
},
{
"path": ".gitignore",
- "bytes": 1815,
- "sha256": "7c89b0eb08e4e696516eba28f4996e441910cdbe5408fddafc4101e1bb53125b"
+ "bytes": 1877,
+ "sha256": "885bad850728a9c5d36ec98f000c0b6ee345975b8f03cad5ec167cba052f4f7d"
},
{
"path": "AGENTS.md",
- "bytes": 1424,
- "sha256": "43fdcce181be5c5011be84f93e51178ee0ac45b77ca3a3eada0eb9a07ce0a104"
+ "bytes": 1725,
+ "sha256": "6c015334a19a12ed2016402e7f21337bafdb5dffd31689c159f13a44aaa5e852"
},
{
"path": "LICENSE",
@@ -26,8 +26,8 @@
},
{
"path": "README.md",
- "bytes": 7379,
- "sha256": "3f64c511c2f0a87f0c47b88ad10c19ad1e84ec50d8ac1e0da2982c2d260ed2a4"
+ "bytes": 8892,
+ "sha256": "427ac36469525cffb407294902655b492999125d8423adf79784959b6e00066a"
},
{
"path": "RGBMoCap.cmd",
@@ -39,10 +39,15 @@
"bytes": 963,
"sha256": "2b6004b05ef9160cca0e0b04c64d00dd23c76f4ca3ad4e6c9560a2289ed01376"
},
+ {
+ "path": "Setup_PromptHMR.cmd",
+ "bytes": 882,
+ "sha256": "f81f365d7f7efc61f3105bf8a78905d43725ff658242920187dc74563615b208"
+ },
{
"path": "THIRD_PARTY_NOTICES.md",
- "bytes": 7166,
- "sha256": "4bfbcb6f24fb1aa20bfdafb87b89c4375b40da7fb793907546a93d3b60d11f7a"
+ "bytes": 7646,
+ "sha256": "76cb01055c4849441191ac4f5ea02c1829c76df7274743f3a19ae54726768d94"
},
{
"path": "app.py",
@@ -91,18 +96,18 @@
},
{
"path": "docs/AGENT_GUIDE.md",
- "bytes": 22518,
- "sha256": "d5155575064bc3d71d73fb1e118799156c37362843f53d7838a88cbaa41a9fe6"
+ "bytes": 28473,
+ "sha256": "db6dfe045441fe432739e13563b9952e25267903808237725063a34273e7c8a6"
},
{
"path": "docs/BUILD.md",
- "bytes": 9910,
- "sha256": "d6bc05d68a8c3df9017a1ed848d1fc4a788aad09a2900b15d02664b36d2e427a"
+ "bytes": 10223,
+ "sha256": "e14bd8897b0e567cc443ebdd295f6e0290157ef986bc9a44ce46d840136d2cf6"
},
{
"path": "docs/MAMMA.md",
- "bytes": 22810,
- "sha256": "45d5b2284e97d7b296884c67155ffd2099a286e93f389fe003818bb4d93f230c"
+ "bytes": 23344,
+ "sha256": "7161d3ce639a2a7632cded345a3d2f4ae57823dfb4abba65ad6e26997c91bfc2"
},
{
"path": "docs/MAMMA_AGENT_SETUP.md",
@@ -116,13 +121,13 @@
},
{
"path": "docs/USER_GUIDE.md",
- "bytes": 38944,
- "sha256": "69a86b5e4f660a49cfd860f505bdaafd6ebac9b00cd200861634818cf270c444"
+ "bytes": 43444,
+ "sha256": "0fb039d0b2c0326eab7bc9bdf0c45ea52ebf1168da2f4439d4dc0b901a538cdb"
},
{
"path": "docs/VALIDATION.md",
- "bytes": 43972,
- "sha256": "280e254eeea78bbcf08f52a2d09d182767c1e52883a34047b1d99729dab7ef23"
+ "bytes": 45987,
+ "sha256": "805354466c96b54799b2714b645c7c254c7eaa42b10c5036e2aca09e2f6cc63c"
},
{
"path": "docs/images/rgbmocap-workspace.png",
@@ -131,23 +136,28 @@
},
{
"path": "docs/models/EXMR.md",
- "bytes": 6040,
- "sha256": "9f04b8d02ebe7cb87f8ef0487f76e944a8337d5f572372f5e8fee45cb9917030"
+ "bytes": 6294,
+ "sha256": "d075e2d8676d665d012fdf08144f83244de52a658bcb5b135115ed86a062b5a9"
},
{
"path": "docs/models/FLOWHMR.md",
- "bytes": 8023,
- "sha256": "425d7ce85725569dd6ff5e179be1d9fa56c3f5ec34682e447784efe3b6b4bc01"
+ "bytes": 8204,
+ "sha256": "2fd5844691a6a3dbd21d7db35b165648baf044a720895f42343adb0eed43a497"
},
{
"path": "docs/models/GVHMR.md",
- "bytes": 5580,
- "sha256": "b77a14af2d2a4a61208cfca385d63aedec9e4aaa7fbe8732dc3ee45fd9f30b0c"
+ "bytes": 5795,
+ "sha256": "d2820d6bed07091b93d28f5a54129998801d3d96ef4dba11dfd62782ae614ab6"
+ },
+ {
+ "path": "docs/models/PROMPTHMR.md",
+ "bytes": 11760,
+ "sha256": "0b2e28c29f2345213a79053bce2b376ca989518210b87c729db389dc9a7dfba1"
},
{
"path": "docs/models/README.md",
- "bytes": 4264,
- "sha256": "5785e524ffb190c2ebf025d4668588ba3b2647afd4560fad2ac197ff4a002e33"
+ "bytes": 5160,
+ "sha256": "9d17e64bc28b011647957d9b267c231680b61ba168399240433a5eb44026937f"
},
{
"path": "docs/samples/character-retargeting.jpg",
@@ -254,10 +264,20 @@
"bytes": 3725,
"sha256": "bbea620bc10c7d922720096a2f19892f8dbaadae17a03a4a25b61691a6a5141b"
},
+ {
+ "path": "installer/prompthmr-runtime-lock.json",
+ "bytes": 85747,
+ "sha256": "968f2579c04d3a7c4b4989a1b3941a245beeb438045b8a328eeb13e8fd5911c7"
+ },
+ {
+ "path": "installer/prompthmr_adapters.py",
+ "bytes": 2561,
+ "sha256": "08e1e8fb768ae7e4edf852569d70ae69fde20d2cb89dd81de4ffc2a9ca896e06"
+ },
{
"path": "installer/runtime-lock.json",
"bytes": 117713,
- "sha256": "40bc4b4bba02255ff1f9fe574580ef336b2c8550612b3534e437ed0dd10f5fbe"
+ "sha256": "0a3c03e42a954debef5dbfa36d495499f903c7cca064ac3da3ecc02724980aac"
},
{
"path": "installer/runtime_sources/antlr4_python3_runtime-4.9.3-py3-none-any/SOURCE_WHEEL.json",
@@ -964,6 +984,11 @@
"bytes": 3557,
"sha256": "eb6ccb88905e686d91ef46449f23644ab539ec890ae5b77bd4f9ce60aa55f454"
},
+ {
+ "path": "installer/verify_prompthmr.py",
+ "bytes": 2905,
+ "sha256": "9fe3b87fbee89b300c42240d48c04610b07f23207e33549f3aff8f6834442499"
+ },
{
"path": "installer/verify_runtime.py",
"bytes": 2416,
@@ -1111,8 +1136,8 @@
},
{
"path": "mocap/engines.py",
- "bytes": 15987,
- "sha256": "f72dc055843514632c84bd226f1828d0482a88e9bbf4037471379eb99076c5c8"
+ "bytes": 16014,
+ "sha256": "74512a9b2fb87f4fafb9f0bc963f5b5887e4069ffc59c24f656f984b9c8066fd"
},
{
"path": "mocap/exmr_backend.py",
@@ -1126,8 +1151,8 @@
},
{
"path": "mocap/export.py",
- "bytes": 7753,
- "sha256": "ac46267438327f7bdfd5c231a910621f877470eb58f0d223578fa3e9a0c2cb36"
+ "bytes": 7839,
+ "sha256": "0b8580ce7bcc7a1217fbdffe3882c46ee9d32b02113a538d915d472e13a68195"
},
{
"path": "mocap/export_copy.py",
@@ -1221,8 +1246,8 @@
},
{
"path": "mocap/gui.py",
- "bytes": 98245,
- "sha256": "a30b06ec0887f1e329f130f9bfbe8fbb8520e2eb1e1e9c1c14a6521005eeb8e3"
+ "bytes": 99319,
+ "sha256": "7baade822f55353d9402cb72a2d978448586a52e657e2133f8f8939e65b741c1"
},
{
"path": "mocap/gvhmr_attention.py",
@@ -1341,8 +1366,8 @@
},
{
"path": "mocap/model_guide.py",
- "bytes": 6054,
- "sha256": "fb67dea5a7ff240a4a0c630e53a95786d23931b894b71afb2ea4909d1e8f1772"
+ "bytes": 7314,
+ "sha256": "8f8f034d351f6ec70d4adcc140692675f5507834f8bcb6379f476c0e8333cceb"
},
{
"path": "mocap/model_session.py",
@@ -1351,13 +1376,13 @@
},
{
"path": "mocap/models.py",
- "bytes": 29517,
- "sha256": "a9ff10be7ceffaf0065f620778c07034f0dc30a75804cb333af5ba752feabbda"
+ "bytes": 29986,
+ "sha256": "e7bfe4902919487ff8afe1ce1acb1f08c33a72c85611ff88c154f78ebd0ab9b6"
},
{
"path": "mocap/motion_tools.py",
- "bytes": 10530,
- "sha256": "3f246a8be51e20e04541cc36d1100121e21db2837ee296269ca648a9c264f7b1"
+ "bytes": 10708,
+ "sha256": "129eb449bfedc3912abd9945339c4d1e3d6bbf79e50e434161c4a9120052a2af"
},
{
"path": "mocap/multilevel_contacts.py",
@@ -1376,8 +1401,8 @@
},
{
"path": "mocap/paths.py",
- "bytes": 772,
- "sha256": "355c4644c150607c5db630540e2cd756fcf8b70d3f2a9f5e9a7ff664d91cdcc0"
+ "bytes": 976,
+ "sha256": "df9985bcf6265b1369374630a48de77a8704cba20658c2d826bca5443b66ef05"
},
{
"path": "mocap/people_store.py",
@@ -1451,8 +1476,43 @@
},
{
"path": "mocap/project_workspace_ui.py",
- "bytes": 9847,
- "sha256": "7248694929c1d209537782cbb922b1348a3702b7a0850c4870fa1f796a03647a"
+ "bytes": 10000,
+ "sha256": "bb3c0ee2b37e47c583938c0f93d764a09bdda8340be0efb75bbb34297d92708e"
+ },
+ {
+ "path": "mocap/prompthmr_manager.py",
+ "bytes": 3731,
+ "sha256": "defb8be2c475fafafe4b27c55666bdc7bec42edc671a79827910f8121bfc3cfc"
+ },
+ {
+ "path": "mocap/prompthmr_models.py",
+ "bytes": 5520,
+ "sha256": "475c9a57e906c66da3f457aecb3b2fe0ad8ca42298d56d1a0acf61386550b7ba"
+ },
+ {
+ "path": "mocap/prompthmr_pipeline.py",
+ "bytes": 11400,
+ "sha256": "ec35c9d1871a6fa992ec269b324cefd8a2100cfb2f02d9ab7ad1ccc8415556b1"
+ },
+ {
+ "path": "mocap/prompthmr_publish.py",
+ "bytes": 10029,
+ "sha256": "fef2e37215b24469dd9905065859f4419b4ea1a6381ecd7e62e118f96c80c825"
+ },
+ {
+ "path": "mocap/prompthmr_runtime.py",
+ "bytes": 3378,
+ "sha256": "6a2c9d06a77f49f337f61aa1b1210a9b42557849b32ff022c33f83727cf3333b"
+ },
+ {
+ "path": "mocap/prompthmr_scene.py",
+ "bytes": 946,
+ "sha256": "7e64ea32e6c7f15881555137dd9a530e8c3ccc1ab6c7257c432d4eed95ca929f"
+ },
+ {
+ "path": "mocap/prompthmr_ui.py",
+ "bytes": 6173,
+ "sha256": "8a7cc807431a14884e5ed83f62056d9a1d127592e55618a4eb9996cd86af694d"
},
{
"path": "mocap/queue_groups.py",
@@ -1596,13 +1656,13 @@
},
{
"path": "mocap/runtime_registry.py",
- "bytes": 4735,
- "sha256": "a210a4bee2802b0d7ce539fa53995062245b1d35bbbbf14f112e099e5412d36e"
+ "bytes": 4747,
+ "sha256": "5e56f969d2509a4200a02911d1d801bf5b43fc50cbb03f6b903879a90533ff20"
},
{
"path": "mocap/scene_camera.py",
- "bytes": 9558,
- "sha256": "33de9309dbb5ff6fa4609c7474cc11e313e89eaef8dfde04a0152049a7536d4d"
+ "bytes": 9912,
+ "sha256": "74eaec4058d83ae30e047667e12f8a05a9f71e6daebb3bf15b384482031722ce"
},
{
"path": "mocap/scene_data.py",
@@ -1721,18 +1781,18 @@
},
{
"path": "mocap/worker.py",
- "bytes": 27780,
- "sha256": "c0d85378bb9361f9ee90a89a1b14445b7e2799cc90ef7973d0e82c614787aaf4"
+ "bytes": 27801,
+ "sha256": "f1f4f58ddeb795b32f14b2ff51fdc011f25d41501c52144041bbd022f90ed6b4"
},
{
"path": "mocap/worker_progress.py",
- "bytes": 1602,
- "sha256": "b98de3237969151882f238ffd50b456910d8517174e08ac58dfddab69d2e2726"
+ "bytes": 1847,
+ "sha256": "a151f9c27c9f9f2a34d8a2ec1370f69c16f1f8fbf5b8daf3e5ff3b8cf3df9f90"
},
{
"path": "mocap/workspace_ui.py",
- "bytes": 35958,
- "sha256": "03c4deb4ee046e14cb8a66d09722f6c112d6f518d1aa9b28f3cf16703f490704"
+ "bytes": 35992,
+ "sha256": "36347af70ded4ec5317e563ea24c48cca8f2654516c8a83a0539e97a359c2533"
},
{
"path": "native_compat/LICENSE",
@@ -1809,6 +1869,11 @@
"bytes": 413696,
"sha256": "46fea913e302fafa2281842e8b081ba34cfcbc572e2d2f36ac107bc89ed22638"
},
+ {
+ "path": "prompthmr_worker_boot.py",
+ "bytes": 1904,
+ "sha256": "d0f03516f24101cb5749f49e29001023eed0c111b9d36e341cbcf3537c0f1914"
+ },
{
"path": "pyproject.toml",
"bytes": 336,
@@ -12406,8 +12471,8 @@
},
{
"path": "tools/check_source.py",
- "bytes": 3921,
- "sha256": "d90060394d629e3caee30a440de2136c0c34e5152eea811e0da1a4cca069bdb5"
+ "bytes": 3951,
+ "sha256": "92397f4f48fbd4f8ce0ae8df40ae9042706d9964d2a31ef28bf5db663906435c"
},
{
"path": "tools/configure_mamma.py",
@@ -12464,6 +12529,11 @@
"bytes": 14090,
"sha256": "783731563bc03da8302d0a6bf2c2d433232b3d76f06a61063e56511d42fe076f"
},
+ {
+ "path": "tools/setup_prompthmr.py",
+ "bytes": 9016,
+ "sha256": "97565c79a0c07160a03397e76617333c2c63ce1014638d9e4c032db654c295d6"
+ },
{
"path": "tools/stage_assets.py",
"bytes": 2482,
diff --git a/Setup_PromptHMR.cmd b/Setup_PromptHMR.cmd
new file mode 100644
index 0000000..907b4f9
--- /dev/null
+++ b/Setup_PromptHMR.cmd
@@ -0,0 +1,20 @@
+@echo off
+setlocal DisableDelayedExpansion
+cd /d "%~dp0"
+echo PromptHMR optional Windows runtime setup. Close RGB MoCap first.
+echo Separate Python 3.11, Torch 2.7.1 CUDA 12.8. Models are obtained separately.
+echo Allow about 18 GiB free for setup, excluding models and compiler tools.
+echo Native SAM2 build needs Visual Studio 2022 C++ Build Tools and CUDA Toolkit 12.8.
+echo Review https://github.com/yufu-wang/PromptHMR/blob/main/LICENSE
+echo Non-commercial scientific research use only; other dependencies have separate licenses.
+choice /c YN /n /m "I reviewed these licenses and agree to the permitted use. Continue? [Y/N] "
+if errorlevel 2 exit /b 1
+if not exist "runtime\python.exe" (
+ echo Run install.cmd first.
+ pause
+ exit /b 1
+)
+"runtime\python.exe" -I -X utf8 -B tools\setup_prompthmr.py --accept-licenses
+set "phmr_result=%errorlevel%"
+pause
+exit /b %phmr_result%
diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md
index 6f93646..2d60af0 100644
--- a/THIRD_PARTY_NOTICES.md
+++ b/THIRD_PARTY_NOTICES.md
@@ -20,6 +20,7 @@ they are not bundled with the application.
| [GVHMR](https://github.com/zju3dv/GVHMR) | Educational, research and nonprofit use only; derived changes must be open-source and noncommercial. [License](third_party/GVHMR/LICENSE). |
| [ExMR](https://github.com/twehrbein/ExMR) / [FootMR](https://github.com/twehrbein/FootMR) | GVHMR-derived educational, research and nonprofit terms. [ExMR license](third_party/ExMR/LICENSE), [FootMR license](third_party/FootMR/LICENSE). |
| [FlowHMR](https://github.com/flowhmr/flowhmr) | Apache-2.0 source. [License](third_party/FlowHMR/LICENSE). Supporting models have separate terms below. |
+| [PromptHMR](https://github.com/yufu-wang/PromptHMR) (optional single-video runtime) | [Non-commercial scientific research license](https://github.com/yufu-wang/PromptHMR/blob/main/LICENSE). Restricted source is downloaded into the user's separate runtime, not bundled in this repository. Weights, SMPL data and supporting checkpoints retain their own terms. SAM2/Detectron2/ViTPose and runtime dependencies retain their notices. See [setup and use](docs/models/PROMPTHMR.md). |
| [HTD-Refine](https://github.com/ant-research/HTD-Refine) | AGPL-3.0-only. [License](third_party/HTD-Refine/LICENSE). PVA-Net/checkpoints retain their applicable model terms. |
| [HandFlow](https://github.com/mxxu00/HandFlow) / [HaMeR](https://github.com/geopavlakos/hamer) | MIT source, with retained notices for upstream-derived parts. [HandFlow license](third_party/HandFlow/LICENSE), [HaMeR license](third_party/HaMeR/LICENSE.md). Weights and WiLoR detector files retain provider terms. |
| [Sapiens2](https://github.com/facebookresearch/sapiens2) | Sapiens2 License covers its software and models. [License](third_party/ExMR/third_party/sapiens2/LICENSE.md). |
diff --git a/docs/AGENT_GUIDE.md b/docs/AGENT_GUIDE.md
index 4d95e44..2c32724 100644
--- a/docs/AGENT_GUIDE.md
+++ b/docs/AGENT_GUIDE.md
@@ -5,25 +5,25 @@ This guide is for agents helping users operate or modify RGB MoCap. It describes
## Start and update
- Windows 64-bit, compatible NVIDIA GPU/driver and OpenGL 4.3 are required for the documented inference workflow. Other systems and GPUs were not comprehensively verified; see [validation](VALIDATION.md).
-- In a writable checkout, run `install.cmd` once. It sets up separate pinned profiles for all three single-video models and their supported add-ons, Blender 4.5, FFmpeg and the prebuilt native motion-correction module. It does not install only the selected model's runtime or obtain AI weights/body data. Downloading and disk space are required. Models are obtained separately; optional MAMMA uses Setup_MAMMA.cmd.
+- In a writable checkout, run `install.cmd` once. It sets up separate pinned profiles for ExMR, FlowHMR and GVHMR and their supported add-ons, Blender 4.5, FFmpeg and the prebuilt native motion-correction module. It does not install only the selected model's runtime or obtain AI weights/body data. Downloading and disk space are required. Models are obtained separately; optional MAMMA uses Setup_MAMMA.cmd and PromptHMR uses Setup_PromptHMR.cmd.
- Run `RGBMoCap.cmd`. Keep its command window open; launch errors, processing messages and app Console output are also sent there, but long messages can be truncated and a saturated output queue can drop messages. Within the GUI, **Help > Check System** checks the system.
- Close the app before `update.cmd`. The updater requires a clean tracked worktree and the `main` branch, uses `git pull --ff-only`, then verifies/repairs runtime configuration. It refuses tracked local edits. A plain `git pull` does not perform runtime repair; use `install.cmd` after dependency changes when needed. Do not discard local edits or force an update.
- For setup failure, read the message, check connectivity and free space, then retry `install.cmd`. Preserve models, projects and `.setup` state. Do not repeatedly reinstall or redownload models without evidence.
-- Base installation currently estimates at least 32.4 GiB free before models; the three single-video models and add-ons were previously measured around 29 GiB of weights. Optional MAMMA adds a separate runtime and model files; see [its setup guide](MAMMA.md). Project data and download caches add space. Measurements are not guarantees. See [user guide](USER_GUIDE.md#install).
-
-Multi-person reconstruction groups supported ExMR, FlowHMR and GVHMR phases
-into sequential, bounded worker requests. `mocap/queue_groups.py` builds the queue;
-`batch_worker.py` validates explicit project paths and runs one `ModelSession`
+- Base installation currently estimates at least 32.4 GiB free before models; ExMR/FlowHMR/GVHMR and add-ons were previously measured around 29 GiB of weights. Optional MAMMA and PromptHMR add separate runtimes and model files; see [MAMMA](MAMMA.md) and [PromptHMR](models/PROMPTHMR.md). All five model/runtime sets total about **63.11 GiB (67.8 GB)** excluding caches, projects, downloads and compiler tools, counting shared files once. See the [installed-size table](USER_GUIDE.md#installed-size); installed size and temporary setup headroom are different. Measurements are not guarantees.
+
+Multi-person reconstruction groups supported ExMR, FlowHMR and GVHMR phases
+into sequential, bounded worker requests. `mocap/queue_groups.py` builds the queue;
+`batch_worker.py` validates explicit project paths and runs one `ModelSession`
per phase. ExMR connects its keypoint, body-feature, hand-feature and motion
phases in one worker, for one or multiple actors. FlowHMR connects features and
motion for one actor; its existing multi-person phase grouping remains separate.
GVHMR runs its phases in one worker with a new closed scope for each.
-The session retains at most one model and clears transient tokens.
-It closes on completion/error; cancellation terminates the worker tree. Keep
-per-actor receipts and pending markers, separate runtimes, precision, full temporal
-context and optional add-on behavior intact. A fresh CUDA OOM recovery discards
-the cached model before its one supported Low Memory retry. Do not replace this
-with an indefinite global pool or parallel GPU workers.
+The session retains at most one model and clears transient tokens.
+It closes on completion/error; cancellation terminates the worker tree. Keep
+per-actor receipts and pending markers, separate runtimes, precision, full temporal
+context and optional add-on behavior intact. A fresh CUDA OOM recovery discards
+the cached model before its one supported Low Memory retry. Do not replace this
+with an indefinite global pool or parallel GPU workers.
`mocap/batch_prefetch.py` overlaps CPU image preparation with inference using
one producer thread and at most two prepared batches. Automatic enables it only
@@ -48,15 +48,80 @@ retain actual memory monitoring and deterministic producer cleanup.
| FlowHMR | Slower; best overall quality in those tests, not a universal ranking. SMPL-H. | Fingers included; Fast SAM and camera/sampling choices. Moving camera needs VGGT-Omega. |
| GVHMR | Lower overall quality in those tests but sometimes better for unusual poses such as backflips. SMPL-X. | Fingers via optional HandFlow. HTD refines body motion; FootMR refines ankles. Both are separate from contact correction. |
| MAMMA | Optional multi-view SMPL-X capture from two or more synchronized fixed cameras, without a fixed camera-count maximum. Practical capacity depends on RAM/VRAM. Not part of the single-video quality ranking. | Fingers included; separate setup and locked-head body assets. VGGT or compatible manual calibration. |
+| PromptHMR | Optional one-video shared-scene SMPL-X capture. Useful to compare interacting people; fixed-camera Windows path, up to eight people. Placement can still be wrong. | No animated fingers. Setup_PromptHMR.cmd; People defaults to 2, Interaction Prompt on. |
-Start with the [model guide index](models/README.md), then [ExMR](models/EXMR.md), [FlowHMR](models/FLOWHMR.md), [GVHMR](models/GVHMR.md) or [MAMMA](MAMMA.md) for exact setup and controls. The [user guide](USER_GUIDE.md#recorded-processing-time-and-vram) includes observed timings, conditions and VRAM; these are historical measurements, not minimum specifications. FlowHMR has a 5,000-frame per-take limit and available memory may require less. MAMMA retains its 4–1,800-frame common trim and eight-person limits; there is no fixed camera-count maximum. Four-column thumbnails are a layout, not admission control. Do not change numerical precision, temporal context or model settings merely to improve a benchmark.
+Start with the [model guide index](models/README.md), then [ExMR](models/EXMR.md), [FlowHMR](models/FLOWHMR.md), [GVHMR](models/GVHMR.md), [MAMMA](MAMMA.md) or [PromptHMR](models/PROMPTHMR.md) for exact setup and controls. The [user guide](USER_GUIDE.md#recorded-processing-time-and-vram) includes observed timings, conditions and VRAM; these are historical measurements, not minimum specifications. FlowHMR has a 5,000-frame per-take limit and available memory may require less. MAMMA retains its 4–1,800-frame common trim and eight-person limits; there is no fixed camera-count maximum. Four-column thumbnails are a layout, not admission control. Do not change numerical precision, temporal context or model settings merely to improve a benchmark.
Use **Model Manager** for the selected model and add-ons. Automatic download may fail, especially on Google Drive. Gated models require the user to register, accept upstream terms and obtain files; use **Manual Download...** and **Import...**. Do not handle provider passwords or redistribute licensed weights. Imports validate files; several model receipts tie validity to file size, timestamp and expected hash. If a copied file is not marked ready, import it again rather than assuming it is missing or editing receipts.
-Model files are in `<installation>/models/` by default. To reuse a legitimate installation, close both apps, copy the complete models folder and its receipt/license files beside `RGBMoCap.cmd`, and check readiness in Model Manager. Do not copy old `runtime*` folders. The optional SMPL Neutral body model is not required for the three primary workflows. Exact requirements are defined by `mocap/models.py` and the chosen stages, not by guessed filenames.
+### Installation routes
+
+| Command | Scope | Additional prerequisites |
+| --- | --- | --- |
+| `install.cmd` | Base GUI, ExMR/FlowHMR/GVHMR and supported add-ons, Blender, FFmpeg, native correction | See the base installation guide; no PromptHMR/MAMMA native build |
+| `Setup_MAMMA.cmd` | Optional independent MAMMA runtime | VS 2022 C++ tools/Windows SDK, CUDA Toolkit 12.8, provider license review |
+| `Setup_PromptHMR.cmd` | Optional independent PromptHMR runtime | Same build tools, separate provider license review; MAMMA/SDF not required |
+| `update.cmd` | Source update and base runtime verification | Close the app and preserve tracked edits; it does not install the optional runtimes |
+
+Optional Runtime Setup buttons display instructions/copy a command; they do not
+install inside the running app. After updates, rerun the relevant optional setup
+when requested by its dependency/runtime notice. Keep verified installed packages
+isolated even when Torch versions match. Models are obtained separately.
+
+Model files are in `<installation>/models/` by default. To reuse a legitimate installation, close both apps, copy the complete models folder and its receipt/license files beside `RGBMoCap.cmd`, and check readiness in Model Manager. Do not copy old `runtime*` folders. SMPL Neutral is required by PromptHMR, although it is not required for ExMR/FlowHMR/GVHMR. Standard SMPL-X Neutral is shared by ExMR/GVHMR/PromptHMR; MAMMA uses its separate locked-head bodies. Exact requirements are defined by `mocap/models.py` and the chosen stages, not by guessed filenames.
## Standard GUI workflow
+### PromptHMR setup and verification
+
+Follow [the detailed setup/workflow guide](models/PROMPTHMR.md). It is a
+separate pinned Python 3.11 runtime, not a MAMMA overlay or part of install.cmd.
+Setup_PromptHMR.cmd downloads restricted upstream source, builds SAM2 with
+Visual Studio 2022/CUDA Toolkit 12.8 and verifies actual CUDA operations. It
+reuses standard registered SMPL-X/SMPL bodies, not MAMMA's locked-head body.
+Only fixed-camera video is integrated. Find person is hidden; actors retain one
+shared inferred world. The adapter accepts 4–1,800 working frames at 30 fps and
+up to eight people. Both resource modes keep one-image batches and full temporal
+context; extra offloading is not implemented. Preserve actual memory monitoring.
+
+On the test PC its runtime used 6.32 GiB and specific weights/support data
+6.09 GiB, excluding shared bodies and compiler tools. Allow about 18 GiB free
+for setup before models/tools. The MAMMA and PromptHMR locks share 147 verified
+package download archives (about 3.39 GiB); this saves downloads, not installed
+runtime isolation.
+
+1. Verify base `install.cmd` completed, check the documented C++/CUDA tools and
+ free space, and close RGB MoCap. Do not install the optional runtime if the
+ user only needs ExMR, FlowHMR or GVHMR.
+2. Show the provider license requirement and follow the user's permitted-use
+ decision. Run `Setup_PromptHMR.cmd` from the app folder; never bypass its
+ license review or overwrite another profile's packages.
+3. Read `.setup/logs/prompthmr-*.log` if setup fails. Verification must exercise
+ SAM2 connected components, torchvision CUDA NMS and native attention; package
+ import or a successful cached inference alone does not validate a GPU build.
+4. Setup registers a successful environment through
+ `.setup/prompthmr-runtime.json`; `.setup/prompthmr-install-report.json` records
+ the initial installed size/checks. Never manually mark a failed environment
+ Ready. Setup retains a matching verified runtime or prepares a new generation
+ before activation. Preserve the previous runtime/models/projects on failure.
+5. Reopen the app, select PromptHMR and prepare all 14 scoped model/support/body
+ rows in Model Manager. Use the exact hashes; Google Drive can require manual
+ download/import. A Missing weight is not a reason to rebuild Python.
+6. Test a short fixed-camera video, with People = 2 and Interaction Prompt on
+ for two-person interaction. Confirm both people, shared-world playback and
+ original/corrected selection before export. No animated fingers are inferred.
+7. After a GPU architecture change or runtime dependency notice, rerun the same
+ setup and actual CUDA checks. Do not copy arbitrary native modules, edit
+ receipts or replace package versions to suppress an error.
+
+Native inference, published actors, corrections and exports have separate
+generations/receipts. Never load untrusted cached pickles or independently
+reposition actors. Only the flat hand-mean representation is converted for the
+shared SMPL-X evaluator; native joint positions are preserved. Optional contact
+correction is a subsequent intentional pose change. Preserve other runtimes.
+
+### MAMMA setup and verification
+
MAMMA runs an optional complete multi-view pipeline using a separate pinned
Python 3.11 Windows runtime installed with Setup_MAMMA.cmd. The current app
adapter accepts two or more synchronized fixed-camera views, with one common
@@ -78,8 +143,10 @@ verification, registration and rollback, use the
validate actual native CUDA operations. Do not overwrite a working runtime to
test a new native module, or use cached inference as evidence of a new build.
+### Capture, correction and export
+
1. Select an AI Motion Model and prepare its models, then **File > Open Video** and optionally trim the Video track. Select MAMMA before opening multiple videos. New work defaults to ExMR.
-2. For single-video models with multiple people, use **Find person** and check the desired rows; without it, automatic tracking selects one person and can switch identity on overlap. MAMMA instead detects and matches people during reconstruction; Find person is hidden and its People setting controls the count. A checked row controls visibility and single-video processing targets; the selected row controls the current timeline and contact edits.
+2. For ExMR, FlowHMR and GVHMR with multiple people, use **Find person** and check the desired rows; without it, automatic tracking selects one person and can switch identity on overlap. PromptHMR tracks people jointly during reconstruction; its People setting is a maximum count and Interaction Prompt is optional. MAMMA instead detects and matches people during reconstruction; Find person is hidden and its People setting controls the count. A checked row controls visibility and ExMR/FlowHMR/GVHMR processing targets; the selected row controls the current timeline and contact edits.
3. Choose camera and processing settings, then **Reconstruct 3D**. Processing runs on a 30 fps working clip, without changing the original video. Progress and cancellation are in the app. **Prepare Preview** rebuilds previews from existing motion without rerunning inference.
4. Review motion and contacts. **Enable Correction** selects corrected output; Foot defaults on and Hand off for new work. Flat Ground uses a common floor; Multi Level retains inferred contact heights and does not reconstruct terrain. Inspect automatic contacts; hand contacts represent support, not hanging/object tracking.
5. Edit L/R foot and hand intervals on the timeline, then **Apply Correction**. Pending changes are not applied until then; stale corrected export is blocked. Applying also refreshes linked retargeted characters. Correction and preview do not require fresh AI inference.
@@ -107,7 +174,7 @@ in [validation](VALIDATION.md#contact-correction-v9-coherent-root-and-swing-tran
## Projects, state and protection
-- Default projects live under `<installation>/projects/`; **Save Project As** creates and switches to a copy at a user-selected location. Open the saved `project.json` using **File > Open Project**. A project contains model-specific `exmr`, `flowhmr`, `gvhmr` or `mamma` result folders; model switching loads existing results when available. MAMMA saves all input camera videos. People, takes, contact edits and imported characters are project data.
+- Default projects live under `<installation>/projects/`; **Save Project As** creates and switches to a copy at a user-selected location. Open the saved `project.json` using **File > Open Project**. A project contains model-specific `exmr`, `flowhmr`, `gvhmr`, `mamma` or `prompthmr` result folders; model switching loads existing results when available. MAMMA saves all input camera videos. People, takes, contact edits and imported characters are project data.
- `models/`, `projects/`, `cache/`, `character_scenes/`, `runtime*/` and `.setup/` are local data, not source artifacts. User project folders can also be outside the checkout. Never assume `.gitignore` protects a path that was already tracked or will be force-added. Check `git status` and tracked files before committing; do not upload model weights, video, personal data, credentials, generated motion or caches. Explicitly approved README sample assets are exceptions.
- Preserve source videos, registered weights and project data. Do not delete project subfolders, results or receipts to fix a problem: they can be referenced by saved metadata. Cache cleanup and setup-download cleanup are distinct from deleting saved work; see [storage and cleanup](USER_GUIDE.md#storage-and-cleanup). Obtain authorization for destructive cleanup.
- `mocap/paths.py` defines `ROOT`, `RGB_MOCAP_DATA`, models and projects; normal portable startup sets its own data location. When diagnosing an actual run inspect the effective environment rather than assuming a path.
@@ -116,6 +183,13 @@ in [validation](VALIDATION.md#contact-correction-v9-coherent-root-and-swing-tran
Use **Resource Mode > Automatic** by default. It keeps the fast path when the current GPU budget is sufficient and selects supported Low Memory paths per operation when needed. A supported fast operation that raises CUDA OOM is released and retried once in Low Memory. ExMR Low Memory uses CPU-first body/hand loading and converts Sapiens' existing FP16 layers before GPU transfer; ExMR body/hand batches stay 8. FlowHMR offloads SAM/VGGT blocks; MAMMA offloads VGGT camera blocks while retaining its pinned masks/landmark/fitting settings. GVHMR/add-ons retain adaptive image batches and full-context attention. The saved Automatic selection is not changed. Resource decisions and memory advice appear in the app Console and CMD. Model precision, frame count, resolution and iterations are not reduced. CPU loading/offloading can be slower and use more RAM; it is not a promise every clip will fit. Estimates select a path, never reject a job. The desktop still checks actual RAM and Windows allocation headroom every 0.5 seconds and stops workers when these become low. Preserve completed stages, genuine model limits and original motion. Do not rerun inference for operations that can use existing results.
+PromptHMR retains the same one-image batch/full temporal context in Automatic
+and Low Memory; extra block offloading is not implemented. Do not promise a
+mode-dependent VRAM saving or an unsupported offload retry for this path. Actual
+memory guards still apply. Its 422-frame/two-person run took 236.2 s, with peak
+allocated VRAM 4.61 GiB (7.83 GiB reserved) and worker working set 8.74 GiB; see
+[scope and stage times](models/PROMPTHMR.md#recorded-validation).
+
GPU allocator limits share ComfyUI's external-use margin: 600 MiB on Windows, 700 MiB above 15 GiB GPU capacity (400 MiB on other systems). Subtract it from actual free VRAM without an additional percentage cap or fixed FlowHMR/ExMR 3/2 GiB reserve. This margin is separate from inference working space. Keep offloading in the app's validated `memory_mode.py` / `gpu_offload.py` adapters, without importing ComfyUI or changing model precision. Offload is inference-only, synchronous and unpinned; close hooks/models on success and failure. Actual RAM pressure remains a stop condition because offloading can increase host memory.
### Measured savings and acceleration
@@ -169,6 +243,7 @@ The app uses separate runtime profiles to maintain compatibility, with bounded b
- GUI, people, controls and logging: `mocap/gui.py`, `workspace_ui.py`, `people_ui.py`, `character_ui.py`, `console_log.py`, `tooltips.py`.
- Model selection and loading: `mocap/motion_tools.py`, `models.py`, `model_guide.py`; worker routing and runtimes: `worker.py`, `worker_progress.py`, `runtime_registry.py`, `compute_policy.py`.
- MAMMA inputs/UI: `mocap/mamma_inputs.py`, `mamma_ui.py`; processing: `mamma_pipeline.py`, `mamma_camera.py`, `mamma_publish.py`, `mamma_body.py`; runtime/assets: `mamma_runtime.py`, `mamma_manager.py`, `mamma_models.py`, `installer/mamma-runtime-lock.json`, `tools/setup_mamma.py`. Follow [the native-build runbook](MAMMA_AGENT_SETUP.md) instead of guessing module build commands.
+- PromptHMR UI/pipeline: `mocap/prompthmr_ui.py`, `prompthmr_pipeline.py`, `prompthmr_publish.py`, `prompthmr_scene.py`; runtime/assets: `prompthmr_runtime.py`, `prompthmr_manager.py`, `prompthmr_models.py`, `prompthmr_worker_boot.py`, `installer/prompthmr-runtime-lock.json`, `installer/prompthmr_adapters.py`, `installer/verify_prompthmr.py`, `tools/setup_prompthmr.py`. Follow the separate setup/verification steps above.
- Project storage: `project_storage.py`, `project_workspace.py`, `project_save.py`; contact correction: `correction.py`, `contact_trajectory.py`, `contact_pose_plan.py`, `contact_arm_plan.py`.
- Source mesh / bone fit and preview: `source_animation.py`, `source_surface.py`, `surface_roll.py`, `preview_data.py`, `viewer.py`, `viewport.py`; source export: `fbx_export.py`, `fbx_writer.py`, `scene_export.py`.
- Character pipeline: `mocap/retarget/` plus `character_data.py` and `character_ui.py`; Blender backend and model-specific constraints must be considered separately from source-person export.
diff --git a/docs/BUILD.md b/docs/BUILD.md
index 3b04c06..dfee5ce 100644
--- a/docs/BUILD.md
+++ b/docs/BUILD.md
@@ -22,6 +22,11 @@ reviewed wheel stack without a system CUDA Toolkit. Optional MAMMA native builds
require CUDA Toolkit 12.8 and the C++ tools described below. GPU compatibility
still depends on the NVIDIA driver and installed wheels.
+Optional PromptHMR has a separate pinned Python 3.11 environment installed with
+`Setup_PromptHMR.cmd`. It also needs C++ tools and CUDA Toolkit 12.8 to build
+SAM2; MAMMA/SDF is not required. Read [its setup/developer notes](models/PROMPTHMR.md)
+before changing its lock, adapters, native modules or model paths.
+
## Environments
Run `python tools/setup_dev.py --plan` to review groups. Then run the same command
diff --git a/docs/MAMMA.md b/docs/MAMMA.md
index fbe28fe..7cfd31d 100644
--- a/docs/MAMMA.md
+++ b/docs/MAMMA.md
@@ -20,7 +20,10 @@ evidence that every such workload fits this adapter or a particular GPU.
See [all model guides](models/README.md) for the other capture workflows.
It has a separate optional runtime; ExMR, FlowHMR and GVHMR keep their existing
-environments. Run the normal `install.cmd` first.
+environments. Run the normal `install.cmd` first. PromptHMR is another independent
+optional workflow: neither model requires the other's setup. The same C++/CUDA
+build tools can be used, but their installed Python packages and body-model
+requirements remain separate. See [PromptHMR](models/PROMPTHMR.md).
## Before installing
@@ -46,7 +49,7 @@ and other GPUs have not been verified.
| Item | Storage |
| --- | ---: |
-| Installed MAMMA runtime on the test PC | 6.19 GiB |
+| Active runtime excluding caches / earlier setup-report size | 6.11 GiB / 6.19 GiB |
| Model files, when the shared VGGT-Omega model is already installed | 3.42 GiB additional |
| Model files including VGGT-Omega | 7.69 GiB |
| Free space needed during runtime setup, before models and compiler tools | About 18 GiB |
@@ -54,6 +57,9 @@ and other GPUs have not been verified.
The setup downloads approximately 3.57 GiB of package/source archives, excluding
Python and models. Retained downloads, videos and generated projects use extra
space. These figures are separate from the base installation's storage estimate.
+The latest cache-free additional runtime/model total is about **9.54 GiB** when
+VGGT is already installed. See the [all-model inventory](USER_GUIDE.md#installed-size)
+for shared-file accounting and setup versus installed-space differences.
## Install the runtime
diff --git a/docs/USER_GUIDE.md b/docs/USER_GUIDE.md
index 35aa31f..062a75b 100644
--- a/docs/USER_GUIDE.md
+++ b/docs/USER_GUIDE.md
@@ -6,6 +6,12 @@ A native Windows app for turning video into human motion, reviewing the body mes
and animation bones, correcting hand/foot contacts, retargeting motion to humanoid
characters, and exporting animation for Blender or MMD. Processing runs locally.
+For optional single-video capture of people together, see the
+[PromptHMR setup and usage guide](models/PROMPTHMR.md). It supports fixed-camera
+video through a separate `Setup_PromptHMR.cmd` runtime, with a People count and
+Interaction Prompt option. It performs its own tracking and does not generate
+animated fingers. Standard correction, retargeting and FBX controls apply.
+
## Character retargeting
Transfer a reconstructed person's motion to a character without running AI
@@ -101,7 +107,7 @@ have not yet been verified; compatibility reports are welcome.
2. Run `install.cmd` with an internet connection. It downloads and verifies
pinned Python environments, Blender 4.5.0, FFmpeg 7.1.1 and small upstream
support files, and installs the included prebuilt motion-correction module.
- It prepares all three single-video model runtimes and their supported add-ons
+ It prepares ExMR, FlowHMR and GVHMR runtimes and their supported add-ons
together, not only the currently selected model. The AI runtimes remain
separate; model weights/body data are not included. Downloads and free disk
space are needed, and the install can take time.
@@ -124,10 +130,24 @@ Setup_MAMMA.cmd
Review the restricted-use license prompt before accepting. Reopen the app,
select **MAMMA**, and prepare its files in **Model Manager**. Its **Runtime
Setup...** button shows readiness and setup instructions. The optional runtime
-is not installed by `install.cmd` or `update.cmd`; the other three models do not
+is not installed by `install.cmd` or `update.cmd`; ExMR, FlowHMR and GVHMR do not
need it. Follow the [MAMMA installation and model checklist](MAMMA.md) for exact
prerequisites, the locked-head body models and multi-video requirements.
+**For PromptHMR single-video interaction capture**, complete the base installation
+and the same C++/Windows SDK/CUDA Toolkit 12.8 prerequisites, close the app, then run:
+
+```cmd
+Setup_PromptHMR.cmd
+```
+
+Review its license prompt, reopen the app, select **PromptHMR** and prepare all
+files in **Model Manager**. This setup is independent of MAMMA and is also excluded
+from `install.cmd`/`update.cmd`. The [PromptHMR guide](models/PROMPTHMR.md) lists
+the exact files, fixed-camera limits, native-build verification and repair steps.
+The Model Manager's **Runtime Setup...** button shows instructions; it does not
+run installation inside the app.
+
To update, close RGB MoCap and run `update.cmd` in the repository folder. It
refuses to overwrite tracked local edits, requires the `main` branch, pulls only
fast-forward changes and checks the runtimes. Back up or commit local changes
@@ -147,18 +167,44 @@ A subsequent code update and runtime verification took about 1 min 55 sec. These
are single local tests, not estimates for a download with an empty cache or for
other PCs; connection speed and storage performance affect the time.
-Allow at least **32.4 GiB free** for first-time runtime installation before
-models; this includes temporary installation space. The installed app, runtimes
-and the three single-video models with their add-ons total roughly
-**42 GiB (45 GB)**, including about
-29 GiB of model files. Download
-caches, videos, projects, characters and exports require additional space, and
-actual sizes can vary. These totals cover the three single-video models.
-MAMMA adds 6.19 GiB of runtime on the test PC and 3.42 GiB of model assets if
-VGGT-Omega is already installed, or 7.69 GiB of model assets including VGGT.
-Its setup needs about 18 GiB free before models, plus separately installed
-C++/CUDA compiler tools. See [MAMMA](MAMMA.md) for measured installation details.
-No clean-Windows or other-GPU test is claimed.
+### Installed size
+
+The current registered model files and active runtimes measured approximately
+**67.8 GB (63.1 GiB)** with all five models and supported add-ons installed.
+Blender and FFmpeg are included. The inventory excludes projects, imported
+characters, exports, caches (including Python bytecode), retained download
+archives, obsolete runtime generations and separately installed compiler tools.
+Shared model files and hardlinks are counted once.
+
+| Configuration | Runtime | Models | Total |
+| --- | ---: | ---: | ---: |
+| ExMR + FlowHMR + GVHMR, including supported add-ons | 12.35 GiB | 28.89 GiB | 41.23 GiB |
+| MAMMA additional files | 6.11 GiB | 3.42 GiB | 9.54 GiB |
+| PromptHMR additional files | 6.22 GiB | 6.13 GiB | 12.34 GiB |
+| **All five** | **24.68 GiB** | **38.44 GiB** | **63.11 GiB** |
+
+Totals use unrounded bytes; rounded cells may not sum exactly. These are local
+observations, not universal requirements. App source files add space beyond this
+model/runtime inventory. MAMMA's added model size assumes the base installation's
+VGGT-Omega is present; without it, its model set totals about 7.69 GiB. PromptHMR's
+added model size includes SMPL Neutral, while its standard SMPL-X Neutral is
+already counted in the base set. Its specific weights/support files alone total
+about 6.09 GiB. Installed Python packages remain separate; verified identical
+download archives can be reused without merging runtimes.
+
+**MAMMA and PromptHMR are separate optional runtime installations.** After
+`install.cmd`, use `Setup_MAMMA.cmd` or `Setup_PromptHMR.cmd` for the model you
+need, then prepare its weights in Model Manager. Neither requires the other.
+`install.cmd` and `update.cmd` do not install these optional runtimes.
+
+Final installed size is different from free space needed during setup. The base
+installer estimates **32.4 GiB free before models**, including temporary work;
+each optional setup asks for about **18 GiB free**, excluding models and compiler
+tools. Download archives, C++ Build Tools, CUDA Toolkit and generated projects
+need additional space. Earlier optional setup reports of 6.19 GiB (MAMMA) and
+6.32 GiB (PromptHMR) included generated files excluded from this cache-free
+inventory. See [MAMMA](MAMMA.md) and [PromptHMR](models/PROMPTHMR.md) for setup
+scope. No clean-Windows or other-GPU installation test is claimed.
## Storage and cleanup
@@ -175,10 +221,11 @@ may be outside the installation folder.
| `<install folder>\character_scenes\<session folder>\` | Contains characters imported before a project was opened. Old session folders can be deleted once those imports are no longer needed or have been copied into a saved project. Unsaved session imports are lost. |
| `<install folder>\.setup\downloads\`, `.setup\uv-cache\` and `.setup\tmp\` | Downloaded wheels and temporary cache can be removed only after installation or update completes. They are reused for repair and updates; deleting them may require downloading files again. Keep the rest of `.setup`, including the private Python and installation state. |
| `<install folder>\.setup\mamma-downloads\` | Optional MAMMA package/source download cache. Its contents can be removed after MAMMA setup finishes; repair may need to download them again. Keep `runtime_mamma` and `.setup/mamma-runtime.json`. |
+| `<install folder>\.setup\prompthmr-downloads\` | Optional PromptHMR package/source download cache. Remove contents only after setup finishes; repair may need to download them again. Keep `runtime_prompthmr` and `.setup/prompthmr-runtime.json`. |
Repeated work mainly grows project data: each model has its own result folder.
Inside `exmr`, `flowhmr` or `gvhmr`, different processing ranges can add `clips`
-subfolders. MAMMA keeps immutable `inference/<generation>` and
+subfolders. MAMMA and PromptHMR keep immutable `inference/<generation>` and
`results/<generation>` folders instead. Character imports/retargeting add
character data. These are saved work, not just
disposable caches. Do not delete individual model folders, `characters`, motion
@@ -200,14 +247,17 @@ For ExMR, FlowHMR and GVHMR:
into the workspace.
2. Optionally trim the timeline's **Video** track by dragging its ends.
3. Use **Model Manager** to prepare the selected model's files.
-4. For several people, use **Find person** and check who to reconstruct.
+4. For ExMR/FlowHMR/GVHMR with several people, use **Find person** and check
+ who to reconstruct. MAMMA/PromptHMR track people during reconstruction.
5. Click **Reconstruct 3D**. Review the video, mesh and **Bone Overlay** together.
6. Adjust correction settings or contact timings, then click **Apply Correction**.
7. **File → Export FBX** saves the displayed, applied animation.
For synchronized multi-camera capture, select MAMMA before opening videos and
follow the [MAMMA workflow](MAMMA.md#reconstruct-and-export). It detects people
-during reconstruction, so the **Find person** step is not used.
+during reconstruction, so the **Find person** step is not used. PromptHMR also
+tracks people during reconstruction; open one fixed-camera video and start with
+**People = 2** and **Interaction Prompt** on. See [its workflow](models/PROMPTHMR.md#controls-and-supported-workflow).
To animate a character, follow [Character retargeting](#character-retargeting),
then use **Export Character...** for FBX or, for PMX, VMD.
@@ -217,11 +267,11 @@ their location. **Save Project As** (`Ctrl+Shift+S`) creates a new named project
folder at your chosen location and switches to that copy. It includes the video,
motion, people and contact edits for every model, including all MAMMA input videos
when present. Open its `project.json` to return to it. Each project manages
-`exmr`, `gvhmr`, `flowhmr` and `mamma` result folders as needed. Selecting a model
+`exmr`, `gvhmr`, `flowhmr`, `mamma` and `prompthmr` result folders as needed. Selecting a model
loads its saved motion; if it has no result, **Reconstruct 3D** creates its data in
that folder. Result selections, contact edits and settings stay separate by model.
-New single-video processing ranges stay under that model's `clips` folder;
-MAMMA uses its own inference/result generation folders. The previous project
+New ExMR/FlowHMR/GVHMR processing ranges stay under that model's `clips` folder;
+MAMMA and PromptHMR use their own inference/result generation folders. The previous project
folder format is not migrated; open the original video to create a new project.
Model weights remain in the app's model
library. Trimming does not modify the original video. Processing uses a
@@ -244,7 +294,8 @@ and feature-stage gains, see [resource modes and optimizations](PERFORMANCE.md).
## Choose a model
Each model has a [detailed guide](models/README.md): [ExMR](models/EXMR.md),
-[FlowHMR](models/FLOWHMR.md), [GVHMR](models/GVHMR.md) and [MAMMA](MAMMA.md).
+[FlowHMR](models/FLOWHMR.md), [GVHMR](models/GVHMR.md), [MAMMA](MAMMA.md)
+and [PromptHMR](models/PROMPTHMR.md).
These cover required files, settings, defaults and workflow limitations.
These quality comparisons are **subjective observations from our test videos**,
@@ -258,12 +309,13 @@ opening a project restores its saved model. **Prepare Preview**, below
| **ExMR** | Generally fast, with good overall motion quality. | Included. |
| **FlowHMR** | Slow, but the best overall motion quality in our tests. | Included. |
| **GVHMR** | Lowest overall quality in our tests, but sometimes better for unusual poses such as backflips. | Optional **HandFlow**; not inferred by GVHMR itself. |
-| **MAMMA** | Multi-view capture of human motion and interactions. Needs separate setup and overlapping synchronized views; outside the single-video quality ranking above. | Included. |
+| **MAMMA** | Multi-view capture of human motion and interactions. Needs separate setup and overlapping synchronized views; outside the quality ranking above. | Included. |
+| **PromptHMR** | Reconstruct people together from one fixed-camera video. Relative placement was better in some two-person interaction tests; contacts and depth can still be wrong. Separate setup. | Not generated by the integrated video path. |
-All four support contact correction, a 52-bone overlay and FBX export. The three
-single-video models use **Find person** for explicit people selection; MAMMA
-detects and matches people during reconstruction. The viewport shows the selected
-source mesh: SMPL-X for ExMR/GVHMR/MAMMA,
+All five support contact correction, a 52-bone overlay and FBX export.
+ExMR/FlowHMR/GVHMR use **Find person** for explicit people selection; MAMMA
+and PromptHMR track people during reconstruction. The viewport shows the selected
+source mesh: SMPL-X for ExMR/GVHMR/MAMMA/PromptHMR,
SMPL-H for FlowHMR. The export skeleton follows that motion; source estimation
errors can remain.
@@ -294,9 +346,9 @@ The app uses SAM 2.1 and FP32 fitting; SAM 3.1 research tests remain separate.
Historical measurements on the tested PC above (30 fps inputs, October 2026).
Each single-video duration uses the same input across ExMR, FlowHMR and GVHMR.
-MAMMA uses a different multi-view clip and includes more processing stages;
-its row is not a direct speed comparison. These records predate the latest
-Low Memory changes.
+MAMMA and PromptHMR use different clips and include more processing stages;
+their rows are not direct speed comparisons. The older four-model records predate
+the latest Low Memory changes.
For mode comparisons and the latest applied acceleration, see
[measured memory savings and speedups](PERFORMANCE.md). Those tests use different
@@ -314,8 +366,9 @@ clips and timing scopes from this historical table.
| 25.7 seconds | FlowHMR | 1 | 7m 32s | 10.67 | 16.94 |
| 25.7 seconds | GVHMR | 1 | 3m 00s | 5.08 | 12.42 |
| 13.8 seconds | MAMMA | 3 | 11m 52s | 6.47 | 9.11 |
+| 14.1 seconds | PromptHMR | 1 | 3m 56s | 4.61 | 8.74 |
-For the three single-video models, times cover model-processing stages, excluding shared person
+For ExMR, FlowHMR and GVHMR, times cover model-processing stages, excluding shared person
tracking, app contact correction and preview/export. GVHMR includes HTD, FootMR
and HandFlow. FlowHMR includes camera estimation and the original SAM path;
these timings predate Fast SAM. MAMMA used three synchronized videos resized
@@ -324,9 +377,14 @@ within 1920×1080, two people, SAM 2.1 and VGGT, with 413 frames at 30 fps
preview; memory peaks cover the four inference stages. See the
[MAMMA stage breakdown](MAMMA.md#recorded-processing-time-and-memory).
+PromptHMR used 422 frames at 30 fps, two people and Interaction Prompt on. Its
+time includes tracking, native inference/post-optimization and app correction/preview,
+excluding public FBX writing. Peak CUDA reserved memory was 7.83 GiB. See its
+[stage breakdown and validation](models/PROMPTHMR.md#recorded-validation).
+
VRAM is peak PyTorch **allocated** memory across workers, not total GPU usage
-or reserved memory. RAM for the single-video models is peak private memory;
-MAMMA RAM is peak worker working set. Neither is total system RAM usage.
+or reserved memory. RAM for ExMR/FlowHMR/GVHMR is peak private memory;
+MAMMA/PromptHMR RAM is peak worker working set. Neither is total system RAM usage.
These are individual test runs,
not minimum hardware requirements or predictions for every video. Resolution,
camera motion, settings and available memory also affect results; a longer
@@ -424,6 +482,7 @@ selected result is missing, reconstruct it; the app reports it as unavailable.
| **MAMMA → Import Camera Data...** | Import calibration with camera names matching video filenames without extensions, original pixel intrinsics and metric translations. See the exact [camera format](MAMMA.md#manual-cameras). |
| **MAMMA → People** | Default 0 automatically detects people during reconstruction; set 1–8 if someone is missed or background people are included. Count each person once across all cameras. Find person is hidden. |
| **MAMMA → Reference Height (m)** | Numeric approximate standing height, default 1.70 m. Sets VGGT scene scale, not every actor's height; unused with metric manual calibration. |
+| **PromptHMR → People / Interaction Prompt** | People defaults to 2; 0 detects automatically up to eight. Interaction Prompt defaults on; off follows the official default video path. Fixed cameras only; no animated fingers. Both settings apply on Reconstruct 3D. See the [PromptHMR guide](models/PROMPTHMR.md). |
| **Resource Mode** | Automatic uses the fast path when GPU memory is sufficient and selects supported Low Memory paths when needed. Low Memory uses CPU loading/offloading and existing bounded image processing; it can be slower and use more RAM. The selection and reason appear in Console and the CMD window. |
| **Prepare Preview** | Rebuild mesh/skeleton previews from existing motion without running the AI model again. Useful for older projects. |
| **Cancel Job** | Stop queued processing; completed results are kept. |
@@ -435,7 +494,8 @@ instead of an invented percentage. FlowHMR is limited to 5,000 frames per take
(about 166.7 seconds); available memory may require a shorter clip. MAMMA's
adapter accepts 4–1,800 common frames and at most eight people. It requires
two or more synchronized fixed-camera videos, with no fixed camera-count
-maximum. Four thumbnails per row is only a layout choice. These limits do not
+maximum. PromptHMR accepts one fixed-camera video, 4–1,800 working frames at
+30 fps and up to eight people. Four thumbnails per row is only a layout choice. These limits do not
guarantee that a workload fits RAM or VRAM.
Processing is allowed to start without a predicted RAM/VRAM minimum. While it
@@ -452,7 +512,9 @@ Automatic chooses these paths per operation from the current GPU budget and
can retry a supported operation once after CUDA OOM. It does not change the
saved Automatic selection, precision, video resolution, frame count or fitting
iterations. CPU offloading needs RAM: actual RAM shortage can still stop the job.
-No mode guarantees that every model or video fits. A sudden large
+PromptHMR keeps the validated one-image batch and full temporal context in both
+modes; extra block offloading is not implemented. Trim or close other GPU apps
+if it cannot fit. No mode guarantees that every model or video fits. A sudden large
allocation can still fail before the next monitor check.
Low Memory primarily reduces **VRAM**, not system RAM. In earlier short paired
@@ -466,7 +528,7 @@ disabled in Low Memory; FlowHMR SAM also uses one-frame batches in that mode.
GPU allocator budgets use ComfyUI's external-use margin: 600 MiB on Windows,
or 700 MiB on GPUs larger than 15 GiB, subtracted from currently free VRAM.
-All four model paths use this rule; FlowHMR/ExMR no longer subtract fixed
+All five model paths use this rule; FlowHMR/ExMR no longer subtract fixed
3/2 GiB or impose an additional 95/90% ceiling. Inference working memory is
part of the allowed budget. This is not a guarantee of free VRAM: other apps
and allocations outside PyTorch can still consume it.
@@ -505,8 +567,8 @@ an estimate and can leave residual sliding or penetration.
| Control | Function |
| --- | --- |
-| **Find person** | For single-video models, discover people for explicit selection. Without it, tracking selects one person and may switch identity during overlap. MAMMA instead detects and matches people during reconstruction; this button is hidden. |
-| **People checkboxes / selected row** | Checked rows control visibility and single-video reconstruction targets. MAMMA reconstructs its detected/requested people together. The selected row controls timeline and contact editing. |
+| **Find person** | For ExMR/FlowHMR/GVHMR, discover people for explicit selection. Without it, tracking selects one person and may switch identity during overlap. MAMMA/PromptHMR track people during reconstruction; this button is hidden. |
+| **People checkboxes / selected row** | Checked rows control visibility and ExMR/FlowHMR/GVHMR reconstruction targets. MAMMA/PromptHMR reconstruct their detected/requested people together. The selected row controls timeline and contact editing. |
| **Character checkboxes / selected row** | Show or hide imported characters independently of source people. Select a character to export it; right-click it for Retarget, Export Character or Remove Character. |
| **People → ?** | Open instructions for people selection, names, colors and takes. The list footer shows only current status or warnings. |
| **Rename... / color square** | Right-click a row to rename it; click its square to change display color. The name is also used for FBX filenames and rig names. |
@@ -521,8 +583,8 @@ an estimate and can leave residual sliding or penetration.
| **Playback / frame number / speed** | Space plays/pauses; arrows step one frame, Shift+arrows one second. Enter a frame number to jump. Playback speed affects preview only. |
| **Timeline Frame All / Reset Trim** | Fit the full timeline / restore the full clip range. |
-The single-video models process checked people independently; MAMMA fits its
-people together from the camera inputs. Results are shown in a shared scene.
+ExMR/FlowHMR/GVHMR process checked people independently; MAMMA and PromptHMR
+reconstruct people together from their respective inputs. Results are shown in a shared scene.
People share correction mode/floor; timings and pelvis offsets remain per person/take.
Apply Correction updates all available takes, including hidden ones. Relative
depth and contacts between people are estimates; collision avoidance is not provided.
diff --git a/docs/VALIDATION.md b/docs/VALIDATION.md
index 17d282a..317ed20 100644
--- a/docs/VALIDATION.md
+++ b/docs/VALIDATION.md
@@ -650,3 +650,33 @@ camera cache hit loads no VGGT model and Static Camera still skips VGGT with zer
recorded GPU allocation. Five focused loader checks covered fast/Low Memory
selection, unchanged generic depth routing, missing checkpoint rejection and
unmaterialized-meta rejection. Test files, raw logs and assets stay outside the repo.
+
+
+## PromptHMR integration (2026-10-30)
+
+- The optional pinned Windows runtime was built and verified on the documented
+ RTX 5090 PC: SAM2 connected components, torchvision CUDA NMS and native SDPA
+ passed. Installed package hashes and a complete Pipeline import were checked.
+ Base installation verification retained all six existing profiles. No clean-PC
+ installation or other-GPU test was performed.
+- A fresh 422-frame, two-person fixed-camera video completed tracking, camera,
+ keypoint/image/video inference, native world post-optimization, app correction
+ and preview/bone preparation in 236.2 s. Peak worker working set was 8.74 GiB;
+ peak allocated/reserved CUDA memory was 4.61/7.83 GiB. See the
+ [PromptHMR guide](models/PROMPTHMR.md#recorded-validation) for timing scope.
+- Flat-hand-mean representation conversion matched native mesh/joint samples
+ exactly for both actors at three sampled frames. This is a coordinate/data
+ convention check, not ground-truth reconstruction accuracy.
+- Both actors' original and corrected FBXs imported into Blender with 52 bones,
+ Hips root, finite bone-only animation and distinct rest transforms. Save As,
+ reopening and full-clip Mixamo character retargeting/baking passed.
+- A short native OpenGL playback check recorded 31 ms median and 47 ms p95/max
+ frame-swap intervals, without a sampled video/timeline frame mismatch. Three
+ repeated project opens retained 784 handles and 51 threads, with about 534 MiB
+ working set. This is not universal FPS or proof of leak freedom.
+- Fresh 60-frame inference/export smoke tests passed for ExMR, FlowHMR and GVHMR.
+ Model switching and scoped Model Manager rows were checked for all five tools.
+ These checks do not cover every add-on, long sequence or difficult occlusion.
+- Test programs, source videos, model weights and outputs were kept outside the
+ public source file list. Restricted upstream PromptHMR source is downloaded
+ locally by setup, rather than bundled into the source distribution.
diff --git a/docs/models/EXMR.md b/docs/models/EXMR.md
index ec89d25..400e903 100644
--- a/docs/models/EXMR.md
+++ b/docs/models/EXMR.md
@@ -9,6 +9,8 @@ with good motion quality; results depend on the footage and settings.
## Prepare files
Run the normal `install.cmd`; no separate ExMR setup command is needed.
+`Setup_MAMMA.cmd` and `Setup_PromptHMR.cmd` are optional for other workflows;
+ExMR does not require their native builds or system CUDA Toolkit.
Select **ExMR > Model Manager** and prepare the listed files. Key assets are:
| Asset | Location under the app's `models/` folder |
@@ -26,7 +28,8 @@ Registered SMPL-X/MANO and gated SAM 3D Body files may require manual download.
The shared `flowhmr` and `handflow` folder names do not mean you must run those
models or enable GVHMR's HandFlow add-on. ExMR uses these assets directly.
MAMMA's locked-head SMPL-X bodies are different files and cannot replace ExMR's
-standard body. See [model download and reuse](../USER_GUIDE.md#prepare-models).
+standard body. PromptHMR can reuse the same standard SMPL-X Neutral file,
+while its runtime and other weights stay separate. See [model download and reuse](../USER_GUIDE.md#prepare-models).
## Controls
diff --git a/docs/models/FLOWHMR.md b/docs/models/FLOWHMR.md
index aeec926..75c00bd 100644
--- a/docs/models/FLOWHMR.md
+++ b/docs/models/FLOWHMR.md
@@ -9,7 +9,8 @@ motion quality. This is not a universal accuracy ranking.
## Prepare files
Run the normal `install.cmd`, then select **FlowHMR > Model Manager**.
-Key assets are:
+FlowHMR does not require `Setup_MAMMA.cmd`, `Setup_PromptHMR.cmd` or their
+C++/CUDA native-build prerequisites. Key assets are:
| Asset | Location under the app's `models/` folder |
| --- | --- |
@@ -38,7 +39,8 @@ See [model preparation](../USER_GUIDE.md#prepare-models).
| **Resource Mode** | Automatic | Use the fast GPU path when memory is sufficient; otherwise offload SAM/VGGT transformer blocks to CPU. Low Memory forces offloading. This can be slower and use more RAM; precision and motion frame count stay unchanged. |
These options apply on **Reconstruct 3D**. Fast SAM is an extraction option,
-not MAMMA's SAM 2.1 mask stage or the standalone SAM 3.1 experiments.
+not MAMMA's SAM 2.1 masks, PromptHMR's SAM2 tiny tracker or the standalone
+SAM 3.1 experiments. Those checkpoints are not interchangeable.
The two acceleration switches work independently and are saved with the project.
They are used only while **Fast SAM** is on. They do not lower model precision,
diff --git a/docs/models/GVHMR.md b/docs/models/GVHMR.md
index 7fec0f5..d8851f1 100644
--- a/docs/models/GVHMR.md
+++ b/docs/models/GVHMR.md
@@ -12,6 +12,8 @@ that observation as a universal ranking.
Run the normal `install.cmd`, then select **GVHMR > Model Manager**. Required
rows depend on enabled add-ons; disabling an add-on skips its processing.
+GVHMR does not require `Setup_MAMMA.cmd`, `Setup_PromptHMR.cmd` or their
+C++/CUDA native-build prerequisites.
| Stage | Key files under the app's `models/` folder |
| --- | --- |
@@ -24,6 +26,8 @@ rows depend on enabled add-ons; disabling an add-on skips its processing.
Model Manager lists the exact shared tracking and add-on requirements. Use the
supported versions and import checks. Standard SMPL-X v1.1 and MANO may require
provider registration; MAMMA's locked-head bodies cannot replace this body.
+PromptHMR reuses this standard SMPL-X Neutral file, while its runtime and
+other weights remain separate.
Automatic downloads, particularly Google Drive files, can fail; use the row's
**Manual Download...** and **Import...** actions. See [model preparation](../USER_GUIDE.md#prepare-models).
diff --git a/docs/models/PROMPTHMR.md b/docs/models/PROMPTHMR.md
new file mode 100644
index 0000000..33381c5
--- /dev/null
+++ b/docs/models/PROMPTHMR.md
@@ -0,0 +1,186 @@
+# PromptHMR
+
+[Model index](README.md) · [User guide](../USER_GUIDE.md) ·
+[Official project](https://yufu-wang.github.io/phmr-page/) ·
+[Official code](https://github.com/yufu-wang/PromptHMR)
+
+PromptHMR reconstructs people together from one video. Some hand-contact scenes
+in our two-person tests had better relative placement than independently
+reconstructed actors. This is an observation, not a ground-truth accuracy
+ranking. Depth errors, sliding, identity changes and body intersections remain
+possible. Interaction Prompt does not create a contact lock.
+
+## Install the separate runtime
+
+Keep PromptHMR separate from the base installation. Its package versions and
+local SAM2 CUDA build need their own environment, compiler tools and license
+review. A PromptHMR setup failure must not prevent the base models from working.
+`install.cmd` prepares ExMR/FlowHMR/GVHMR; it does not install PromptHMR or MAMMA.
+
+1. Complete `install.cmd` for the base app.
+2. Install [Visual Studio 2022 Build Tools](https://visualstudio.microsoft.com/downloads/)
+ with **Desktop development with C++** and the Windows SDK, plus
+ [CUDA Toolkit 12.8](https://developer.nvidia.com/cuda-12-8-0-download-archive).
+ The NVIDIA driver alone does not include the compiler.
+3. Close RGB MoCap and run `Setup_PromptHMR.cmd`. Review the provider license
+ prompt. In Command Prompt, run `Setup_PromptHMR.cmd` from the app folder
+ (PowerShell: `.\Setup_PromptHMR.cmd`). Setup downloads pinned sources/packages,
+ builds SAM2 for the installed
+ GPU and verifies real CUDA operations before registering the environment.
+4. Reopen the app, select **PromptHMR**, and prepare every file in **Model Manager**.
+ Google Drive may require a manual browser download; use **Manual Download... >
+ Import** if automatic downloading fails. **Runtime Setup...** shows instructions
+ and copies the command; it does not install anything inside the running app.
+ A runtime already marked Ready does not need reinstalling before each use.
+
+The setup report measured **6.32 GiB** on the test PC, excluding weights and
+compiler tools. The later active-runtime inventory excluding caches measured
+**6.22 GiB**. Package downloads total about **3.55 GiB**. Allow approximately
+**18 GiB free during setup**, excluding models and compiler tools. Retained
+download archives and project intermediates need additional space.
+
+PromptHMR-specific models/support files total approximately **6.09 GiB**,
+excluding the registered body files below. Standard SMPL-X Neutral is shared
+with ExMR/GVHMR. SMPL Neutral is also required by PromptHMR; it is optional
+for the three base workflows. Both live in `models/body_models/`. Import those licensed files
+if absent; they are not bundled. MAMMA's locked-head body cannot substitute.
+Adding PromptHMR to a complete base installation measured **6.13 GiB** of model
+files including SMPL Neutral, plus **6.22 GiB** of cache-free runtime, for about
+**12.34 GiB additional**. See the [all-model inventory](../USER_GUIDE.md#installed-size).
+PromptHMR's ViTPose COCO-25, SAM2 tiny and detector checkpoints differ from
+similarly named files in other workflows. Imports verify the supported hashes.
+
+Select **PromptHMR > Model Manager** for the complete 14-file checklist. Locations
+below are relative to `models/`; obtain the exact files listed by the manager.
+
+| Component | Files or folder |
+| --- | --- |
+| Image model and configuration | `prompthmr/pretrain/phmr/checkpoint.ckpt`, `config.yaml` |
+| Video model and configuration | `prompthmr/pretrain/phmr_vid/prhmr_release_002.ckpt`, `prhmr_release_002.yaml` |
+| Tracking detector / masks | `prompthmr/pretrain/keypoint_rcnn_5ad38f.pkl`, `sam2_hiera_tiny.pt` |
+| Keypoints / camera calibration | `prompthmr/pretrain/vitpose-h-coco_25.pth`, `camcalib_sa_biased_l2.ckpt` |
+| Body correspondence / means / regressors | Four files under `prompthmr/body_models/`, listed individually in Model Manager |
+| Registered standard bodies | `body_models/smplx/SMPLX_NEUTRAL.npz`, `body_models/smpl/SMPL_NEUTRAL.pkl` |
+
+On one volume, the connector hardlinks verified weights into the private engine
+without storing another copy. If hardlinks are unavailable, it reports the copy
+and uses extra disk space. Installed Python packages remain separate.
+
+This profile uses Python **3.11.17**, Torch **2.7.1+cu128**, torchvision
+**0.22.1+cu128**, NumPy **1.26.4** and timm **0.9.0**. Torch overlaps with other
+profiles, but Python ABI/package requirements differ. Installed packages remain
+isolated for update safety; identical verified MAMMA download archives can be
+reused. The current locks share 147 identical package archives, about 3.39 GiB
+of downloads. This does not mean installed packages can safely be merged.
+MAMMA and SDF are not required. Do not combine these environments.
+
+`install.cmd`/`update.cmd` leave PromptHMR optional. A changed PromptHMR runtime
+lock prompts for `Setup_PromptHMR.cmd`; other runtimes/projects are preserved.
+
+### Update or repair
+
+Close RGB MoCap before `update.cmd`. After updating, rerun `Setup_PromptHMR.cmd`
+only when its runtime is missing, needs repair or the app reports changed
+dependencies. It verifies and retains a matching environment, or prepares a new
+generation before switching to it. Keep models, projects and `.setup` state.
+
+If setup fails, read the last CMD error and the corresponding
+`.setup/logs/prompthmr-*.log`. Check free space and the documented C++/CUDA tools;
+then retry the same setup. If weights are Missing, use Model Manager instead
+of rebuilding the runtime. If native GPU verification fails after moving to
+another GPU architecture, run setup on that PC; do not copy compiled modules
+from an arbitrary machine or edit registration files to mark them Ready.
+
+## Controls and supported workflow
+
+- **One fixed-camera video**, without camera movement or zoom. Moving-camera
+ DROID is not implemented in this Windows integration.
+- **People** defaults to **2**. **0** detects automatically, up to eight. This is
+ a maximum count, not an identity selector. The intended people should be
+ visible near the start; background people and occlusion can confuse tracking.
+- **Interaction Prompt** defaults on, asking the image model to consider people
+ together. Off follows the official default video path. On was not uniformly
+ better in our comparison. Changes apply on reconstruction.
+- Click **Reconstruct 3D**. PromptHMR performs SAM2 tracking itself; **Find person**
+ is hidden. Image/video inference, gravity/world placement and native
+ post-optimization are retained. The app does not independently space or
+ rescale actors. Progress/activity and cancellation use the normal worker UI.
+- SMPL-X body motion is generated. The official video settings used here
+ **do not generate animated fingers**. Hand contact correction is not finger
+ inference.
+- Check People rows to show/hide actors and select a row to edit contacts.
+ **Enable Correction** switches original/corrected motion. **Apply Correction**
+ does not rerun PromptHMR and refreshes linked characters. Correction may
+ intentionally change poses. Export through **File > Export FBX**, or retarget
+ to an imported character.
+
+The working video is sampled at 30 fps. The current adapter accepts **4–1,800
+working frames** and **up to eight people**. Available RAM/VRAM may require less.
+These are app limits, not claimed upstream limits. Long unobserved absences are
+not displayed as stationary poses or replaced with another actor.
+
+Both Automatic and Low Memory keep the validated **one-image batch**, model
+precision, full temporal context and native post-optimization. Additional
+PromptHMR block offloading is not implemented. Actual RAM/Windows allocation
+headroom monitoring, CUDA allocator budgets and allocation-error reporting remain
+active. Low Memory is not a promise of a smaller PromptHMR footprint; trim or
+close other GPU applications when needed.
+
+Windows adapters retain strict checkpoint loading, avoid discarded initialization
+downloads, and replace a failing xFormers decoder kernel with PyTorch SDPA.
+Verification on one RTX 5090 PC is not full Linux-output equivalence or
+other-GPU validation. Setup tests SAM2 connected components, torchvision CUDA
+NMS and native attention on the user's GPU.
+
+## Recorded validation
+
+A 422-frame, 14.1-second, two-person fixed-camera clip completed in **3 min 56 sec**
+on the documented RTX 5090 test PC, with Interaction Prompt and app correction
+enabled. Preparation took 4.8 s; tracking 73.5 s; camera/keypoints/motion 103.0 s;
+world/post-optimization 33.0 s; correction/preview/bone preparation 21.9 s.
+Peak worker working set was **8.74 GiB**. Peak PyTorch allocated VRAM was
+**4.61 GiB**, with **7.83 GiB reserved**; total GPU use can be higher. These are
+one-run observations, not minimum requirements or a direct speed ranking against
+other models. Public FBX writing was checked separately.
+
+Original/corrected motion for both actors was exported and imported into Blender
+as 52-bone rigs with bone-only animation and separate rest transforms. Save As,
+reopening and Mixamo character retargeting passed. Native playback had no sampled
+video/timeline frame mismatch during a short 12-second check; frame-swap intervals
+were 31 ms median, 47 ms at the 95th percentile and 47 ms maximum. Three repeated
+opens kept handle/thread counts stable. This short check does not establish
+universal playback performance or leak freedom. Fresh two-second inference/export
+smoke tests also passed for ExMR, FlowHMR and GVHMR. See [validation](../VALIDATION.md).
+
+## Files and agent/developer guide
+
+| Item | Location |
+| --- | --- |
+| Weights | `models/prompthmr/`, shared `models/body_models/` |
+| Runtime | `runtime_prompthmr/<generation>/` |
+| Runtime registration | `.setup/prompthmr-runtime.json` |
+| Setup logs / retained archives | `.setup/logs/prompthmr-*.log`, `.setup/prompthmr-downloads/` |
+| Native inference | `<project>/prompthmr/inference/<generation>/results.pkl` |
+| Published actors/takes | `<project>/prompthmr/results/<generation>/` |
+| Lock / Windows adaptations / CUDA verification | `installer/prompthmr-runtime-lock.json`, `installer/prompthmr_adapters.py`, `installer/verify_prompthmr.py` |
+| Setup implementation | `tools/setup_prompthmr.py` |
+| App connector | `mocap/prompthmr_pipeline.py`, `prompthmr_publish.py`, `prompthmr_scene.py`, `prompthmr_ui.py`, `prompthmr_runtime.py` |
+
+Native inference, derived correction and export generations remain separate.
+Cancelled/incomplete new work does not replace the saved active project. Verified
+complete inference can be reused; changed models/inputs/adapters invalidate it.
+Tracking/mask intermediates can be much larger than final motion. Do not delete
+files from saved projects to repair them, or edit a ready runtime in place.
+
+For agent-assisted setup, ask: “Read AGENTS.md and docs/models/PROMPTHMR.md.
+Check Windows C++/CUDA prerequisites, run Setup_PromptHMR.cmd after my required
+license review, verify its CUDA checks and help import the exact model files.
+Preserve the other runtimes, models and projects.” Do not put credentials in chat.
+
+## License
+
+[PromptHMR's license](https://github.com/yufu-wang/PromptHMR/blob/main/LICENSE)
+restricts use to non-commercial scientific research. RGB MoCap's MIT license
+does not relicense it, supporting checkpoints or registered body data. Restricted
+source is downloaded into the user's private runtime; weights/body models are not
+bundled. SAM2, Detectron2, ViTPose and other components retain their own terms.
diff --git a/docs/models/README.md b/docs/models/README.md
index b8ddb7d..794c19d 100644
--- a/docs/models/README.md
+++ b/docs/models/README.md
@@ -10,27 +10,35 @@ saved selection. Only implemented tools appear in the list.
| FlowHMR | One video; SMPL-H | Included | [FlowHMR](FLOWHMR.md) |
| GVHMR | One video; SMPL-X | Optional HandFlow | [GVHMR](GVHMR.md) |
| MAMMA | Two or more synchronized fixed-camera videos; SMPL-X | Included | [MAMMA](../MAMMA.md) |
+| PromptHMR | One fixed-camera video; jointly reconstructed people; SMPL-X | Not generated | [PromptHMR](PROMPTHMR.md) |
One-video input does not mean one-person output. ExMR, FlowHMR and GVHMR can
process checked people independently after **Find person**. Without discovery,
automatic tracking selects one person and may switch identity during overlap.
MAMMA detects and matches people across views during reconstruction; its
**Find person** button is hidden.
+PromptHMR also tracks people during reconstruction. It defaults to two people
+and Interaction Prompt on; see its guide for setup and fixed-camera limits.
For manual MAMMA cameras, see the [calibration format and JSON example](../MAMMA.md#manual-cameras).
In this project's subjective tests, ExMR was generally fast with good quality;
FlowHMR was slower with the best overall quality; GVHMR was less consistent
overall but sometimes better for unusual poses such as backflips. These are
-not benchmark rankings. MAMMA is a separate multi-view workflow, not another
-entry in that single-video ranking.
+not benchmark rankings. MAMMA and PromptHMR were tested as separate interaction
+workflows and are not entries in that ExMR/FlowHMR/GVHMR quality ranking.
## Installation and shared workflow
-1. Run `install.cmd` in the app folder. It prepares the runtimes for all three
- single-video models and their supported add-ons, Blender, FFmpeg and native
+1. Run `install.cmd` in the app folder. It prepares ExMR, FlowHMR and GVHMR
+ runtimes and their supported add-ons, Blender, FFmpeg and native
motion correction. It does **not** download AI weights or registered body data.
2. For MAMMA, additionally follow [its runtime setup](../MAMMA.md#install-the-runtime).
`Setup_MAMMA.cmd` is separate from the base installation and update commands.
+ PromptHMR independently uses [Setup_PromptHMR.cmd](PROMPTHMR.md#install-the-separate-runtime)
+ and does not require MAMMA/SDF. Both optional setups require the documented
+ C++/CUDA build tools and provider license review. Close the app before setup;
+ reopen it before preparing weights. `update.cmd` does not install either
+ optional runtime; rerun its own setup if the app requests it after an update.
3. Run `RGBMoCap.cmd`, select the model and use **Model Manager**. Follow each
row's exact download/import instructions. Some files require registration
and license acceptance; Google Drive downloads may need manual import.
@@ -51,7 +59,9 @@ when the GPU budget is low; a supported operation can recover once after CUDA
OOM. Low Memory uses CPU loading/offloading and existing bounded image batches,
which can be slower and need more RAM. It does not reduce model precision,
motion frame count or MAMMA view count/iterations. Decisions appear in Console
-and the CMD window.
+and the CMD window. PromptHMR keeps its validated one-image batch in both modes;
+additional block offloading is not implemented. Low Memory does not guarantee a
+smaller PromptHMR footprint.
See [resources](../USER_GUIDE.md#model-and-processing-settings)
and [measured validation scope](../VALIDATION.md).
diff --git a/installer/prompthmr-runtime-lock.json b/installer/prompthmr-runtime-lock.json
new file mode 100644
index 0000000..354b078
--- /dev/null
+++ b/installer/prompthmr-runtime-lock.json
@@ -0,0 +1,1873 @@
+{
+ "version": 1,
+ "python": "3.11.17",
+ "uv_sha256": "4075a09490327d2bedfacc807fa48252fb93647c5bd7ef28f00e579160ea3fb5",
+ "packages": [
+ {
+ "name": "addict",
+ "version": "2.4.0",
+ "url": "https://files.pythonhosted.org/packages/6a/00/b08f23b7d7e1e14ce01419a467b583edbb93c6cdb8654e54a9cc579cd61f/addict-2.4.0-py3-none-any.whl",
+ "filename": "addict-2.4.0-py3-none-any.whl",
+ "bytes": 3832,
+ "sha256": "249bb56bbfd3cdc2a004ea0ff4c2b6ddc84d53bc2194761636eb314d5cfa5dfc",
+ "kind": "wheel"
+ },
+ {
+ "name": "annotated-types",
+ "version": "0.8.0",
+ "url": "https://files.pythonhosted.org/packages/99/91/8acff4f5e50511b911bbccb72b8628a49c68ce14148cd9f6431094859a90/annotated_types-0.8.0-py3-none-any.whl",
+ "sha256": "f072f4d804ea359e4eaf198b1af7a8b0943881a87f31bb764f8bf219bb9419e0",
+ "bytes": 13427,
+ "filename": "annotated_types-0.8.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "antlr4-python3-runtime",
+ "version": "4.9.3",
+ "url": "https://files.pythonhosted.org/packages/3e/38/7859ff46355f76f8d19459005ca000b6e7012f2f1ca597746cbcd1fbfe5e/antlr4-python3-runtime-4.9.3.tar.gz",
+ "sha256": "f224469b4168294902bb1efa80a8bf7855f24c99aef99cbefc1bcd3cce77881b",
+ "bytes": 117034,
+ "filename": "antlr4-python3-runtime-4.9.3.tar.gz",
+ "kind": "source"
+ },
+ {
+ "name": "anyio",
+ "version": "4.15.1",
+ "url": "https://files.pythonhosted.org/packages/12/b8/4bd346e22b28902df4d651910f5242c28d84e4a5c2435ca5c3f797ed7e2e/anyio-4.15.1-py3-none-any.whl",
+ "sha256": "6152fdbbf9a77fdec97731721bebf7c4c44f7c29b424b0065826173efc7ed101",
+ "bytes": 132079,
+ "filename": "anyio-4.15.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "apsw",
+ "version": "3.54.1.0",
+ "url": "https://files.pythonhosted.org/packages/2e/d9/950fb2ea91a02ac7da367ef1569d32c15431b2306a20ce4bf0ffdd86a16d/apsw-3.54.1.0-cp311-cp311-win_amd64.whl",
+ "filename": "apsw-3.54.1.0-cp311-cp311-win_amd64.whl",
+ "bytes": 3356829,
+ "sha256": "410bbd4b35b4c8c1a03b7cef5cd684987d9e8e8cb9d2c0692d1b735ffc2d36d0",
+ "kind": "wheel"
+ },
+ {
+ "name": "argcomplete",
+ "version": "3.7.2",
+ "url": "https://files.pythonhosted.org/packages/46/bd/551ee6af426af84ca33e02622be722925c196608e9127d731ef17c47f06e/argcomplete-3.7.2-py3-none-any.whl",
+ "filename": "argcomplete-3.7.2-py3-none-any.whl",
+ "bytes": 43294,
+ "sha256": "6029205678bdd9c1c728a155f5f9ecf5812393f969eef58807641a2bc2aa5b19",
+ "kind": "wheel"
+ },
+ {
+ "name": "asttokens",
+ "version": "3.0.2",
+ "url": "https://files.pythonhosted.org/packages/d4/2b/04b8a15f3a1c77bc79ddf5c73875327f34b4fa75982df2b76e45e402d364/asttokens-3.0.2-py3-none-any.whl",
+ "sha256": "9da13157f5b28becde0bd374fc677dcd3c290614264eff096f167c469cd9f933",
+ "bytes": 28702,
+ "filename": "asttokens-3.0.2-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "attrs",
+ "version": "26.1.0",
+ "url": "https://files.pythonhosted.org/packages/64/b4/17d4b0b2a2dc85a6df63d1157e028ed19f90d4cd97c36717afef2bc2f395/attrs-26.1.0-py3-none-any.whl",
+ "sha256": "c647aa4a12dfbad9333ca4e71fe62ddc36f4e63b2d260a37a8b83d2f043ac309",
+ "bytes": 67548,
+ "filename": "attrs-26.1.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "backports-zstd",
+ "version": "1.8.0",
+ "url": "https://files.pythonhosted.org/packages/50/53/4e36af749d8c115659acfee2bcc6ebbf5cc34fdd30b467c205eae4925c6d/backports_zstd-1.8.0-cp311-cp311-win_amd64.whl",
+ "filename": "backports_zstd-1.8.0-cp311-cp311-win_amd64.whl",
+ "bytes": 330411,
+ "sha256": "a11422c67c6295d36a7a30bac5df82e8a4fc82539d8def0d082ecf15cb24f538",
+ "kind": "wheel"
+ },
+ {
+ "name": "beautifulsoup4",
+ "version": "4.15.0",
+ "url": "https://files.pythonhosted.org/packages/88/c6/92fcd42f1ba33e1184263f25bfabf3d27c383410470f169e4b8163bf9c17/beautifulsoup4-4.15.0-py3-none-any.whl",
+ "filename": "beautifulsoup4-4.15.0-py3-none-any.whl",
+ "bytes": 109924,
+ "sha256": "d6f88de62e1d4e38ecb1077eb9724cd0eff29d2a08ca16a401e9b9e93f117cf9",
+ "kind": "wheel"
+ },
+ {
+ "name": "blinker",
+ "version": "1.9.0",
+ "url": "https://files.pythonhosted.org/packages/10/cb/f2ad4230dc2eb1a74edf38f1a38b9b52277f75bef262d8908e60d957e13c/blinker-1.9.0-py3-none-any.whl",
+ "sha256": "ba0efaa9080b619ff2f3459d1d500c57bddea4a6b424b60a91141db6fd2f08bc",
+ "bytes": 8458,
+ "filename": "blinker-1.9.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "certifi",
+ "version": "2026.10.23",
+ "url": "https://files.pythonhosted.org/packages/32/d1/a3652fe2c19134d0d15922177821d863cbd7e842d53a21bbe7e8e3a1b5ac/certifi-2026.10.23-py3-none-any.whl",
+ "sha256": "e9b54de76e530bb6cf0ccd036787103acb58fd42ba930ea8bf948ddbaa2f61d1",
+ "bytes": 135082,
+ "filename": "certifi-2026.10.23-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "charset-normalizer",
+ "version": "3.5.2",
+ "url": "https://files.pythonhosted.org/packages/e8/fc/fdf8cf52ff21cd5bf158f20978991cf985325842f74283eb6df26c8a39d8/charset_normalizer-3.5.2-cp311-cp311-win_amd64.whl",
+ "sha256": "87e50a3e7cb90af586b6c5faf23e302a970415ac73bd7bd90a515a04b427ef96",
+ "bytes": 214932,
+ "filename": "charset_normalizer-3.5.2-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "click",
+ "version": "8.5.0",
+ "url": "https://files.pythonhosted.org/packages/58/50/6c0d534c5f134586a8e1ba4e330569e32f057e33372ae556463212fb4cd3/click-8.5.0-py3-none-any.whl",
+ "sha256": "255bc9599cf7748b4b1a446ccc735421bd08a2ae529a8b88597d3de5664ee360",
+ "bytes": 125251,
+ "filename": "click-8.5.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "cloudpickle",
+ "version": "3.1.2",
+ "url": "https://files.pythonhosted.org/packages/88/39/799be3f2f0f38cc727ee3b4f1445fe6d5e4133064ec2e4115069418a5bb6/cloudpickle-3.1.2-py3-none-any.whl",
+ "sha256": "9acb47f6afd73f60dc1df93bb801b472f05ff42fa6c84167d25cb206be1fbf4a",
+ "bytes": 22228,
+ "filename": "cloudpickle-3.1.2-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "colorama",
+ "version": "0.4.6",
+ "url": "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl",
+ "sha256": "4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6",
+ "bytes": 25335,
+ "filename": "colorama-0.4.6-py2.py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "colorlog",
+ "version": "6.12.0",
+ "url": "https://files.pythonhosted.org/packages/d4/19/0b6647bf5e331521e55d2b63bfbdc210bd9cd605189273f03614a05f702d/colorlog-6.12.0-py3-none-any.whl",
+ "filename": "colorlog-6.12.0-py3-none-any.whl",
+ "bytes": 12239,
+ "sha256": "30d392604e9110045a2c2aeefc27d7a017abbab63f3a8aee594eac0801df784e",
+ "kind": "wheel"
+ },
+ {
+ "name": "comm",
+ "version": "0.2.3",
+ "url": "https://files.pythonhosted.org/packages/60/97/891a0971e1e4a8c5d2b20bbe0e524dc04548d2307fee33cdeba148fd4fc7/comm-0.2.3-py3-none-any.whl",
+ "sha256": "c615d91d75f7f04f095b30d1c1711babd43bdc6419c1be9886a85f2f4e489417",
+ "bytes": 7294,
+ "filename": "comm-0.2.3-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "ConfigArgParse",
+ "version": "1.9.0",
+ "url": "https://files.pythonhosted.org/packages/bd/de/f7fe2171f2b650ef7dd455c4c7f6dbaf53cc942430a2e0ff6b2450e728b5/configargparse-1.9.0-py3-none-any.whl",
+ "sha256": "e4ecc54d821ca97c43e6152403f40e158aff79d809c3447746fa92b136dc1e31",
+ "bytes": 37381,
+ "filename": "configargparse-1.9.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "contourpy",
+ "version": "1.3.3",
+ "url": "https://files.pythonhosted.org/packages/98/4b/9bd370b004b5c9d8045c6c33cf65bae018b27aca550a3f657cdc99acdbd8/contourpy-1.3.3-cp311-cp311-win_amd64.whl",
+ "sha256": "3519428f6be58431c56581f1694ba8e50626f2dd550af225f82fb5f5814d2a42",
+ "bytes": 225234,
+ "filename": "contourpy-1.3.3-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "cwevals",
+ "version": "0.0.1b1",
+ "url": "https://files.pythonhosted.org/packages/b5/96/b3b348954f88915e60e2f1fbe6d09250584e53a20d949e55786f31dbaeb0/cwevals-0.0.1b1-py3-none-any.whl",
+ "sha256": "6936baf0ccdc5d9092abd5c2ab628cedcdae9bb72edfdf730f7aaac19118855a",
+ "bytes": 176544,
+ "filename": "cwevals-0.0.1b1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "cycler",
+ "version": "0.12.1",
+ "url": "https://files.pythonhosted.org/packages/e7/05/c19819d5e3d95294a6f5947fb9b9629efb316b96de511b418c53d245aae6/cycler-0.12.1-py3-none-any.whl",
+ "sha256": "85cef7cff222d8644161529808465972e51340599459b8ac3ccbac5a854e0d30",
+ "bytes": 8321,
+ "filename": "cycler-0.12.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "dash",
+ "version": "4.4.1",
+ "url": "https://files.pythonhosted.org/packages/9a/29/498125538103a11eab9cfbbde41bacf93e14ab3ac92ae9fb4ac0ac4dd61b/dash-4.4.1-py3-none-any.whl",
+ "sha256": "72120a91b10ee4d73f9446efd5d6a4ec218086feed7b1b479d2259844d1f658f",
+ "bytes": 8945027,
+ "filename": "dash-4.4.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "defusedxml",
+ "version": "0.7.1",
+ "url": "https://files.pythonhosted.org/packages/07/6c/aa3f2f849e01cb6a001cd8554a88d4c77c5c1a31c95bdf1cf9301e6d9ef4/defusedxml-0.7.1-py2.py3-none-any.whl",
+ "filename": "defusedxml-0.7.1-py2.py3-none-any.whl",
+ "bytes": 25604,
+ "sha256": "a352e7e428770286cc899e2542b6cdaedb2b4953ff269a210103ec58f6198a61",
+ "kind": "wheel"
+ },
+ {
+ "name": "distro",
+ "version": "1.9.0",
+ "url": "https://files.pythonhosted.org/packages/12/b3/231ffd4ab1fc9d679809f356cebee130ac7daa00d6d6f3206dd4fd137e9e/distro-1.9.0-py3-none-any.whl",
+ "sha256": "7bffd925d65168f85027d8da9af6bddab658135b840670a223589bc0c8ef02b2",
+ "bytes": 20277,
+ "filename": "distro-1.9.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "docstring-parser",
+ "version": "0.18.0",
+ "url": "https://files.pythonhosted.org/packages/a7/5f/ed01f9a3cdffbd5a008556fc7b2a08ddb1cc6ace7effa7340604b1d16699/docstring_parser-0.18.0-py3-none-any.whl",
+ "filename": "docstring_parser-0.18.0-py3-none-any.whl",
+ "bytes": 22484,
+ "sha256": "b3fcbed555c47d8479be0796ef7e19c2670d428d72e96da63f3a40122860374b",
+ "kind": "wheel"
+ },
+ {
+ "name": "einops",
+ "version": "0.8.2",
+ "url": "https://files.pythonhosted.org/packages/2a/09/f8d8f8f31e4483c10a906437b4ce31bdf3d6d417b73fe33f1a8b59e34228/einops-0.8.2-py3-none-any.whl",
+ "sha256": "54058201ac7087911181bfec4af6091bb59380360f069276601256a76af08193",
+ "bytes": 65638,
+ "filename": "einops-0.8.2-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "embreex",
+ "version": "4.4.0.post1",
+ "url": "https://files.pythonhosted.org/packages/f7/c1/ed524ec57b4e621932da5b10ffea7a67b43ba1fdc6f4648154f0258ff601/embreex-4.4.0.post1-cp311-cp311-win_amd64.whl",
+ "filename": "embreex-4.4.0.post1-cp311-cp311-win_amd64.whl",
+ "bytes": 13124357,
+ "sha256": "3df27becf6a12b59f5a469bc5271622e26387d52a15880edd29aa564246e7176",
+ "kind": "wheel"
+ },
+ {
+ "name": "evo",
+ "version": "1.29.0",
+ "url": "https://files.pythonhosted.org/packages/b9/ef/bfd6dc24841e1ec91214a70788da16a414940361762786904ccdac459444/evo-1.29.0-py3-none-any.whl",
+ "filename": "evo-1.29.0-py3-none-any.whl",
+ "bytes": 142299,
+ "sha256": "453ce1942fd6b43896cadbbb2697c7c131017ff2bc75d5b6db946c7f366e7da9",
+ "kind": "wheel"
+ },
+ {
+ "name": "executing",
+ "version": "2.3.0",
+ "url": "https://files.pythonhosted.org/packages/4d/dd/8bc67e7d5ffc1d88aa5af511189dfb76dc4e1e5b808fab186146ef2663e5/executing-2.3.0-py3-none-any.whl",
+ "sha256": "736e859c9f8701f11fcf516856f26f562e04776387824b43a35a1dfe21c84122",
+ "bytes": 29393,
+ "filename": "executing-2.3.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "fastjsonschema",
+ "version": "2.22.2",
+ "url": "https://files.pythonhosted.org/packages/49/82/2755c7c982086f00d4dab85bc120ec35045a9fc2191893a6ce79afe94443/fastjsonschema-2.22.2-py3-none-any.whl",
+ "sha256": "0fb3915616adac85ccfdd737d26be1089845d2019819505b42d39888458f74d4",
+ "bytes": 27413,
+ "filename": "fastjsonschema-2.22.2-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "ffmpeg-python",
+ "version": "0.2.0",
+ "url": "https://files.pythonhosted.org/packages/d7/0c/56be52741f75bad4dc6555991fabd2e07b432d333da82c11ad701123888a/ffmpeg_python-0.2.0-py3-none-any.whl",
+ "filename": "ffmpeg_python-0.2.0-py3-none-any.whl",
+ "bytes": 25024,
+ "sha256": "ac441a0404e053f8b6a1113a77c0f452f1cfc62f6344a769475ffdc0f56c23c5",
+ "kind": "wheel"
+ },
+ {
+ "name": "filelock",
+ "version": "4.2.4",
+ "url": "https://files.pythonhosted.org/packages/e0/1b/5e74289a1878e666bb4b65fe5805a04cafcac2aa5f519ef1ead67ef91c56/filelock-4.2.4-py3-none-any.whl",
+ "sha256": "301241438c57936ef93f4243a94f2559022268bfcf9b375a9a72eb0f8db8358e",
+ "bytes": 162475,
+ "filename": "filelock-4.2.4-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "filterpy",
+ "version": "1.4.5",
+ "url": "https://files.pythonhosted.org/packages/f6/1d/ac8914360460fafa1990890259b7fa5ef7ba4cd59014e782e4ab3ab144d8/filterpy-1.4.5.zip",
+ "filename": "filterpy-1.4.5.zip",
+ "bytes": 177985,
+ "sha256": "4f2a4d39e4ea601b9ab42b2db08b5918a9538c168cff1c6895ae26646f3d73b1",
+ "kind": "source"
+ },
+ {
+ "name": "Flask",
+ "version": "3.1.3",
+ "url": "https://files.pythonhosted.org/packages/7f/9c/34f6962f9b9e9c71f6e5ed806e0d0ff03c9d1b0b2340088a0cf4bce09b18/flask-3.1.3-py3-none-any.whl",
+ "sha256": "f4bcbefc124291925f1a26446da31a5178f9483862233b23c0c96a20701f670c",
+ "bytes": 103424,
+ "filename": "flask-3.1.3-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "fonttools",
+ "version": "4.68.0",
+ "url": "https://files.pythonhosted.org/packages/46/87/4ba592099172764aa56e66919b0c3ddaf944c775433e806e36e165062095/fonttools-4.68.0-cp311-cp311-win_amd64.whl",
+ "sha256": "35425bba603cf9d72c9f3c173ea6c98632164f3bdfb1ce1a3dcc928979c6ec6d",
+ "bytes": 1681821,
+ "filename": "fonttools-4.68.0-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "freetype-py",
+ "version": "2.5.1",
+ "url": "https://files.pythonhosted.org/packages/93/6e/bd7fbfacca077bc6f34f1a1109800a2c41ab50f4704d3a0507ba41009915/freetype_py-2.5.1-py3-none-win_amd64.whl",
+ "sha256": "0b7f8e0342779f65ca13ef8bc103938366fecade23e6bb37cb671c2b8ad7f124",
+ "bytes": 814608,
+ "filename": "freetype_py-2.5.1-py3-none-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "fsspec",
+ "version": "2026.9.0",
+ "url": "https://files.pythonhosted.org/packages/6c/c0/a98505f18594f1bce828bb159cec0fcf9860562f1a2c85913409fc8f3d9e/fsspec-2026.9.0-py3-none-any.whl",
+ "sha256": "8dd6e646e99ea382bd85f97a45e6b526a442d79423a7dc673f1e2756d05fcb5f",
+ "bytes": 221738,
+ "filename": "fsspec-2026.9.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "ftfy",
+ "version": "6.3.1",
+ "url": "https://files.pythonhosted.org/packages/ab/6e/81d47999aebc1b155f81eca4477a616a70f238a2549848c38983f3c22a82/ftfy-6.3.1-py3-none-any.whl",
+ "sha256": "7c70eb532015cd2f9adb53f101fb6c7945988d023a085d127d1573dc49dd0083",
+ "bytes": 44821,
+ "filename": "ftfy-6.3.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "future",
+ "version": "1.0.0",
+ "url": "https://files.pythonhosted.org/packages/da/71/ae30dadffc90b9006d77af76b393cb9dfbfc9629f339fc1574a1c52e6806/future-1.0.0-py3-none-any.whl",
+ "filename": "future-1.0.0-py3-none-any.whl",
+ "bytes": 491326,
+ "sha256": "929292d34f5872e70396626ef385ec22355a1fae8ad29e1a734c3e43f9fbc216",
+ "kind": "wheel"
+ },
+ {
+ "name": "fvcore",
+ "version": "0.1.5.post20221221",
+ "url": "https://files.pythonhosted.org/packages/a5/93/d056a9c4efc6c79ba7b5159cc66bb436db93d2cc46dca18ed65c59cc8e4e/fvcore-0.1.5.post20221221.tar.gz",
+ "sha256": "f2fb0bb90572ae651c11c78e20493ed19b2240550a7e4bbb2d6de87bdd037860",
+ "bytes": 50217,
+ "filename": "fvcore-0.1.5.post20221221.tar.gz",
+ "kind": "source"
+ },
+ {
+ "name": "gdown",
+ "version": "5.2.0",
+ "url": "https://files.pythonhosted.org/packages/54/70/e07c381e6488a77094f04c85c9caf1c8008cdc30778f7019bc52e5285ef0/gdown-5.2.0-py3-none-any.whl",
+ "filename": "gdown-5.2.0-py3-none-any.whl",
+ "bytes": 18235,
+ "sha256": "33083832d82b1101bdd0e9df3edd0fbc0e1c5f14c9d8c38d2a35bf1683b526d6",
+ "kind": "wheel"
+ },
+ {
+ "name": "gloss-rs",
+ "version": "0.6.0",
+ "url": "https://files.pythonhosted.org/packages/b0/72/9cd4c74f18458a7eff827e609bbb359021eac0f1e8d0fecb478dee469fc6/gloss_rs-0.6.0-cp38-abi3-win_amd64.whl",
+ "filename": "gloss_rs-0.6.0-cp38-abi3-win_amd64.whl",
+ "bytes": 7310190,
+ "sha256": "e78c271a2e7fc310d975e127834fed1fb04caa235a3bd0481598ce376fce0077",
+ "kind": "wheel"
+ },
+ {
+ "name": "googleapis-common-protos",
+ "version": "1.76.0",
+ "url": "https://files.pythonhosted.org/packages/05/6d/78dc67a9e779e594b49bf62604034d3a6aa428a55afc729cafda4b7333e1/googleapis_common_protos-1.76.0-py3-none-any.whl",
+ "sha256": "59e13344a9f3651aa201a03e2bee815a3bf43a4baf1f9ff8a9b62a840ce25fac",
+ "bytes": 307707,
+ "filename": "googleapis_common_protos-1.76.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "h11",
+ "version": "0.16.0",
+ "url": "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl",
+ "sha256": "63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86",
+ "bytes": 37515,
+ "filename": "h11-0.16.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "hf-xet",
+ "version": "1.7.1",
+ "url": "https://files.pythonhosted.org/packages/d4/56/e0f82a9f31772c2db59ca95e85beeb99e6da1a55f47d3fedac1b23ea1bc9/hf_xet-1.7.1-cp38-abi3-win_amd64.whl",
+ "sha256": "d6e2c99e5dc7d6fa301e92e79a4f02cf962620dfc9fef84b687df597845cd72a",
+ "bytes": 3833194,
+ "filename": "hf_xet-1.7.1-cp38-abi3-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "httpcore",
+ "version": "1.0.9",
+ "url": "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl",
+ "sha256": "2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55",
+ "bytes": 78784,
+ "filename": "httpcore-1.0.9-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "httpcore2",
+ "version": "2.16.0",
+ "url": "https://files.pythonhosted.org/packages/af/c2/ce417c397afa5181f0e3c6ff01a4d01639414e1adef08730d97571297151/httpcore2-2.16.0-py3-none-any.whl",
+ "sha256": "5c4358319f2602d984ad93182c9fee5160f22e9da7babdda870a5e7c4e2dc34f",
+ "bytes": 85070,
+ "filename": "httpcore2-2.16.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "httpx",
+ "version": "0.28.1",
+ "url": "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl",
+ "sha256": "d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad",
+ "bytes": 73517,
+ "filename": "httpx-0.28.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "httpx2",
+ "version": "2.16.0",
+ "url": "https://files.pythonhosted.org/packages/7b/3d/2e4bc4fd1ef9770871669adb348d612a6e4786b303a23f9935b81c48dd60/httpx2-2.16.0-py3-none-any.whl",
+ "sha256": "fd2c5d7909e8d86fe92d53020c310ca0e4e431b838c207c5754b9bbf0308d49a",
+ "bytes": 97880,
+ "filename": "httpx2-2.16.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "huggingface_hub",
+ "version": "2.3.0",
+ "url": "https://files.pythonhosted.org/packages/c7/89/5f6ef1162d0323f167b6baab04d1b4bd6a946161a8af6d86f622d9d79aa1/huggingface_hub-2.3.0-py3-none-any.whl",
+ "sha256": "5da369600233568a126eb5578754935b2add9446b42d9e2fc0927d56840ac1a5",
+ "bytes": 855161,
+ "filename": "huggingface_hub-2.3.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "hydra-core",
+ "version": "1.3.8",
+ "url": "https://files.pythonhosted.org/packages/13/69/8e5cf7ad847538fc180fbd06e8442b8bede53ee4852458a16e24231395e9/hydra_core-1.3.8-py3-none-any.whl",
+ "sha256": "d5f184c291691cba835c7f04bc4e36270ad88b1d7e394a3712f5af084c30b394",
+ "bytes": 168949,
+ "filename": "hydra_core-1.3.8-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "idna",
+ "version": "3.20",
+ "url": "https://files.pythonhosted.org/packages/58/a2/bb081bab032533a855d44de1d56f8e8426114ff1ba5d1f07a438a0a654f8/idna-3.20-py3-none-any.whl",
+ "sha256": "ab7ae7122974553370f0bdb919e1a960b2cd1bc1ef0276416d896db81c14582c",
+ "bytes": 69583,
+ "filename": "idna-3.20-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "ImageIO",
+ "version": "2.38.1",
+ "url": "https://files.pythonhosted.org/packages/7d/8a/3b7f62b9df56460959f1b9bef094248d2a4d7f393c5b0d2da8efcdf0e40e/imageio-2.38.1-py3-none-any.whl",
+ "sha256": "36d23eb7423d2fb63f637098758edb3d2df3687f7125e0a5ce8596572022dcf9",
+ "bytes": 328389,
+ "filename": "imageio-2.38.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "importlib_metadata",
+ "version": "10.1.0",
+ "url": "https://files.pythonhosted.org/packages/65/b6/495438ad95e0102aff8f6786b5474202f38cd5d4700d03a72b77977dec10/importlib_metadata-10.1.0-py3-none-any.whl",
+ "sha256": "cf45ce66a929c64e994185a809c04840d0501db17e663810d993d0f4829265c7",
+ "bytes": 32221,
+ "filename": "importlib_metadata-10.1.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "iopath",
+ "version": "0.1.10",
+ "url": "https://files.pythonhosted.org/packages/72/73/b3d451dfc523756cf177d3ebb0af76dc7751b341c60e2a21871be400ae29/iopath-0.1.10.tar.gz",
+ "sha256": "3311c16a4d9137223e20f141655759933e1eda24f8bff166af834af3c645ef01",
+ "bytes": 42226,
+ "filename": "iopath-0.1.10.tar.gz",
+ "kind": "source"
+ },
+ {
+ "name": "ipython",
+ "version": "9.17.1",
+ "url": "https://files.pythonhosted.org/packages/2d/1e/65b59cf518c106aa755e7f7da3099027738687a862ec785060702a481320/ipython-9.17.1-py3-none-any.whl",
+ "sha256": "6d1645743cfd1a07eb695d85aa2b5fa66721f8cbae9431d4049f7084bbf06509",
+ "bytes": 639038,
+ "filename": "ipython-9.17.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "ipython_pygments_lexers",
+ "version": "1.1.1",
+ "url": "https://files.pythonhosted.org/packages/d9/33/1f075bf72b0b747cb3288d011319aaf64083cf2efef8354174e3ed4540e2/ipython_pygments_lexers-1.1.1-py3-none-any.whl",
+ "sha256": "a9462224a505ade19a605f71f8fa63c2048833ce50abc86768a0d81d876dc81c",
+ "bytes": 8074,
+ "filename": "ipython_pygments_lexers-1.1.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "ipywidgets",
+ "version": "8.1.9",
+ "url": "https://files.pythonhosted.org/packages/c3/55/298e9b3b864a198234997e87a1471c1b17d7f3546ace6d18fb5cf1ce24b2/ipywidgets-8.1.9-py3-none-any.whl",
+ "sha256": "f2b8cbcaae10252b809fbe4d7470db75c09b769a32cbf816d20e5ca6d3c5a79d",
+ "bytes": 140101,
+ "filename": "ipywidgets-8.1.9-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "itsdangerous",
+ "version": "2.2.0",
+ "url": "https://files.pythonhosted.org/packages/04/96/92447566d16df59b2a776c0fb82dbc4d9e07cd95062562af01e408583fc4/itsdangerous-2.2.0-py3-none-any.whl",
+ "sha256": "c6242fc49e35958c8b15141343aa660db5fc54d4f13a1db01a3f5891b98700ef",
+ "bytes": 16234,
+ "filename": "itsdangerous-2.2.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "janus",
+ "version": "2.0.0",
+ "url": "https://files.pythonhosted.org/packages/68/34/65604740edcb20e1bda6a890348ed7d282e7dd23aa00401cbe36fd0edbd9/janus-2.0.0-py3-none-any.whl",
+ "sha256": "7e6449d34eab04cd016befbd7d8c0d8acaaaab67cb59e076a69149f9031745f9",
+ "bytes": 12161,
+ "filename": "janus-2.0.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "jedi",
+ "version": "0.20.1",
+ "url": "https://files.pythonhosted.org/packages/be/c7/71eb0d51cdcbb63b857c931aa4e9218b078b5d9f8ecd383b234f28fe7b0f/jedi-0.20.1-py2.py3-none-any.whl",
+ "sha256": "0fb16d86c4a4c73c37ba518c77419975e30fcc620658a8d14fbb5720cdd34142",
+ "bytes": 4885980,
+ "filename": "jedi-0.20.1-py2.py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "Jinja2",
+ "version": "3.1.6",
+ "url": "https://files.pythonhosted.org/packages/62/a1/3d680cbfd5f4b8f15abc1d571870c5fc3e594bb582bc3b64ea099db13e56/jinja2-3.1.6-py3-none-any.whl",
+ "sha256": "85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67",
+ "bytes": 134899,
+ "filename": "jinja2-3.1.6-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "joblib",
+ "version": "1.6.0",
+ "url": "https://files.pythonhosted.org/packages/18/53/84099323c2ec4be98d935f63c033ac4151ee83836ca1050ede3b3aadf155/joblib-1.6.0-py3-none-any.whl",
+ "sha256": "3dbbf9f6e4b592a2357b854608e980fe6390d131d7a82f011a377ef2ebef7aba",
+ "bytes": 306115,
+ "filename": "joblib-1.6.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "jsonschema",
+ "version": "4.26.0",
+ "url": "https://files.pythonhosted.org/packages/69/90/f63fb5873511e014207a475e2bb4e8b2e570d655b00ac19a9a0ca0a385ee/jsonschema-4.26.0-py3-none-any.whl",
+ "sha256": "d489f15263b8d200f8387e64b4c3a75f06629559fb73deb8fdfb525f2dab50ce",
+ "bytes": 90630,
+ "filename": "jsonschema-4.26.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "jsonschema-specifications",
+ "version": "2025.9.1",
+ "url": "https://files.pythonhosted.org/packages/41/45/1a4ed80516f02155c51f51e8cedb3c1902296743db0bbc66608a0db2814f/jsonschema_specifications-2025.9.1-py3-none-any.whl",
+ "sha256": "98802fee3a11ee76ecaca44429fda8a41bff98b00a0f2838151b113f210cc6fe",
+ "bytes": 18437,
+ "filename": "jsonschema_specifications-2025.9.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "jupyter_core",
+ "version": "5.9.1",
+ "url": "https://files.pythonhosted.org/packages/e7/e7/80988e32bf6f73919a113473a604f5a8f09094de312b9d52b79c2df7612b/jupyter_core-5.9.1-py3-none-any.whl",
+ "sha256": "ebf87fdc6073d142e114c72c9e29a9d7ca03fad818c5d300ce2adc1fb0743407",
+ "bytes": 29032,
+ "filename": "jupyter_core-5.9.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "jupyterlab_widgets",
+ "version": "3.0.17",
+ "url": "https://files.pythonhosted.org/packages/33/ef/6d27fc118f58cb24886da413545a7efb0853d405fddbfd8b2d9ac09fbed4/jupyterlab_widgets-3.0.17-py3-none-any.whl",
+ "sha256": "40ac1e9955acf116c4d995d9bfa082d86ad9ec6d91c4f134827cf5e0a5eb75e0",
+ "bytes": 217292,
+ "filename": "jupyterlab_widgets-3.0.17-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "keyboard",
+ "version": "0.13.5",
+ "url": "https://files.pythonhosted.org/packages/55/88/287159903c5b3fc6d47b651c7ab65a54dcf9c9916de546188a7f62870d6d/keyboard-0.13.5-py3-none-any.whl",
+ "filename": "keyboard-0.13.5-py3-none-any.whl",
+ "bytes": 58098,
+ "sha256": "8e9c2422f1217e0bd84489b9ecd361027cc78415828f4fe4f88dd4acd587947b",
+ "kind": "wheel"
+ },
+ {
+ "name": "kiwisolver",
+ "version": "1.5.1",
+ "url": "https://files.pythonhosted.org/packages/bf/9f/6f9e489c188200e6fb3193935501894811e8c97577c8ffe9033589bf3521/kiwisolver-1.5.1-cp311-cp311-win_amd64.whl",
+ "sha256": "1a7587dc335f2c0f5bd577fd0540bd16c66006bdb60f759a1059f025e6c4f071",
+ "bytes": 70744,
+ "filename": "kiwisolver-1.5.1-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "lazy-loader",
+ "version": "0.6",
+ "url": "https://files.pythonhosted.org/packages/23/93/4e45e37f26c820216704b36b8e67cc55c490a7abd287a78a26a2c0e21386/lazy_loader-0.6-py3-none-any.whl",
+ "sha256": "77253be3391b06124a0e16105bd663b6c54470af1a9ca8e1cf026f38d58ed056",
+ "bytes": 8791,
+ "filename": "lazy_loader-0.6-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "lightning-utilities",
+ "version": "0.15.3",
+ "url": "https://files.pythonhosted.org/packages/25/f4/ead6e0e37209b07c9baa3e984ccdb0348ca370b77cea3aaea8ddbb097e00/lightning_utilities-0.15.3-py3-none-any.whl",
+ "sha256": "6c55f1bee70084a1cbeaa41ada96e4b3a0fea5909e844dd335bd80f5a73c5f91",
+ "bytes": 31906,
+ "filename": "lightning_utilities-0.15.3-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "loguru",
+ "version": "0.7.3",
+ "url": "https://files.pythonhosted.org/packages/0c/29/0348de65b8cc732daa3e33e67806420b2ae89bdce2b04af740289c5c6c8c/loguru-0.7.3-py3-none-any.whl",
+ "sha256": "31a33c10c8e1e10422bfd431aeb5d351c7cf7fa671e3c4df004162264b28220c",
+ "bytes": 61595,
+ "filename": "loguru-0.7.3-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "lxml",
+ "version": "6.1.3",
+ "url": "https://files.pythonhosted.org/packages/45/5a/15531a0d307c96282fe8b639b3d74e8bd783e4ab4cb2b0781146ac4161b8/lxml-6.1.3-cp311-cp311-win_amd64.whl",
+ "filename": "lxml-6.1.3-cp311-cp311-win_amd64.whl",
+ "bytes": 4032700,
+ "sha256": "7ae4949f212a53b007dbc355884fda122545c5764a54256c9217e419a62a6559",
+ "kind": "wheel"
+ },
+ {
+ "name": "lz4",
+ "version": "4.4.5",
+ "url": "https://files.pythonhosted.org/packages/18/47/715865a6c7071f417bef9b57c8644f29cb7a55b77742bd5d93a609274e7e/lz4-4.4.5-cp311-cp311-win_amd64.whl",
+ "filename": "lz4-4.4.5-cp311-cp311-win_amd64.whl",
+ "bytes": 99491,
+ "sha256": "8a842ead8ca7c0ee2f396ca5d878c4c40439a527ebad2b996b0444f0074ed004",
+ "kind": "wheel"
+ },
+ {
+ "name": "manifold3d",
+ "version": "3.5.4",
+ "url": "https://files.pythonhosted.org/packages/b7/42/8dc2e031840b8d2a8491df31ae0ea19d95e4da70d33711ff798055180f8f/manifold3d-3.5.4-cp311-cp311-win_amd64.whl",
+ "filename": "manifold3d-3.5.4-cp311-cp311-win_amd64.whl",
+ "bytes": 1037097,
+ "sha256": "34ef0b1b70b6d153eb12a72706e128e9b629c562cd4ab103083afd17ca071fbd",
+ "kind": "wheel"
+ },
+ {
+ "name": "mapbox-earcut",
+ "version": "2.1.0",
+ "url": "https://files.pythonhosted.org/packages/6c/70/0acc354827f848721d77c1efaca0e23bb16ba4b90c2b2ed2961179650217/mapbox_earcut-2.1.0-cp311-cp311-win_amd64.whl",
+ "filename": "mapbox_earcut-2.1.0-cp311-cp311-win_amd64.whl",
+ "bytes": 279457,
+ "sha256": "010531c21c3ebbe9f52b185e023aa9132a496bd57a6e113bafd7ce4b41d05c7b",
+ "kind": "wheel"
+ },
+ {
+ "name": "markdown-it-py",
+ "version": "4.2.0",
+ "url": "https://files.pythonhosted.org/packages/b3/81/4da04ced5a082363ecfa159c010d200ecbd959ae410c10c0264a38cac0f5/markdown_it_py-4.2.0-py3-none-any.whl",
+ "filename": "markdown_it_py-4.2.0-py3-none-any.whl",
+ "bytes": 91687,
+ "sha256": "9f7ebbcd14fe59494226453aed97c1070d83f8d24b6fc3a3bcf9a38092641c4a",
+ "kind": "wheel"
+ },
+ {
+ "name": "MarkupSafe",
+ "version": "3.0.3",
+ "url": "https://files.pythonhosted.org/packages/83/8a/4414c03d3f891739326e1783338e48fb49781cc915b2e0ee052aa490d586/markupsafe-3.0.3-cp311-cp311-win_amd64.whl",
+ "sha256": "de8a88e63464af587c950061a5e6a67d3632e36df62b986892331d4620a35c01",
+ "bytes": 15077,
+ "filename": "markupsafe-3.0.3-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "matplotlib",
+ "version": "3.11.2",
+ "url": "https://files.pythonhosted.org/packages/66/54/91fe3fdfa29100b4668cbf9721577a10acde6e009694618230e4e7a97527/matplotlib-3.11.2-cp311-cp311-win_amd64.whl",
+ "sha256": "a24d5fd36e4f0e742c3851dcd20810e56a95633a342e4bf6cb591c678e8fe61f",
+ "bytes": 9329982,
+ "filename": "matplotlib-3.11.2-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "matplotlib-inline",
+ "version": "0.2.2",
+ "url": "https://files.pythonhosted.org/packages/41/09/5b161152e2d90f7b87f781c2e1267494aef9c32498df793f73ad0a0a494a/matplotlib_inline-0.2.2-py3-none-any.whl",
+ "sha256": "3c821cf1c209f59fb2d2d64abbf5b23b67bcb2210d663f9918dd851c6da1fcf6",
+ "bytes": 9534,
+ "filename": "matplotlib_inline-0.2.2-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "mdurl",
+ "version": "0.1.2",
+ "url": "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl",
+ "filename": "mdurl-0.1.2-py3-none-any.whl",
+ "bytes": 9979,
+ "sha256": "84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8",
+ "kind": "wheel"
+ },
+ {
+ "name": "mmcv-lite",
+ "version": "2.2.0",
+ "url": "https://files.pythonhosted.org/packages/59/bd/5d468c171f201d6169bec848d1116e95736854eec72307299bc68939fe45/mmcv_lite-2.2.0-py2.py3-none-any.whl",
+ "filename": "mmcv_lite-2.2.0-py2.py3-none-any.whl",
+ "bytes": 732333,
+ "sha256": "a24ee8dd3df7556dfced282dbfe8c3f87df6de2d4dcaf1207e83e9a2d58455a6",
+ "kind": "wheel"
+ },
+ {
+ "name": "mmengine",
+ "version": "0.10.4",
+ "url": "https://files.pythonhosted.org/packages/0b/03/e8a1da1e73d6d9ba3ada49780c0c27afcea4607539ccf9a4be75e2b08533/mmengine-0.10.4-py3-none-any.whl",
+ "filename": "mmengine-0.10.4-py3-none-any.whl",
+ "bytes": 451672,
+ "sha256": "18b681ef36b00dc6f5cc1912031e82814dcc39b9f22f82cb63be0af321fcf7b5",
+ "kind": "wheel"
+ },
+ {
+ "name": "mpmath",
+ "version": "1.3.0",
+ "url": "https://files.pythonhosted.org/packages/43/e3/7d92a15f894aa0c9c4b49b8ee9ac9850d6e63b03c9c32c0367a13ae62209/mpmath-1.3.0-py3-none-any.whl",
+ "sha256": "a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c",
+ "bytes": 536198,
+ "filename": "mpmath-1.3.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "msgspec",
+ "version": "0.22.0",
+ "url": "https://files.pythonhosted.org/packages/fa/51/5e9ae5a5ddc254e15435749328161e95598750e5df644bb00fa9e2297122/msgspec-0.22.0-cp311-cp311-win_amd64.whl",
+ "filename": "msgspec-0.22.0-cp311-cp311-win_amd64.whl",
+ "bytes": 190962,
+ "sha256": "024138c51afd335d0b4dce401be33902caafac2b64f8c9f2509a378986175d98",
+ "kind": "wheel"
+ },
+ {
+ "name": "munkres",
+ "version": "3.0.0",
+ "url": "https://files.pythonhosted.org/packages/bb/e5/2a3a68d08099d2bb804ebbc24cd0f513241b39e489882d009e5b91fc52f9/munkres-3.0.0-cp311-cp311-win_amd64.whl",
+ "sha256": "1d62ba1a2deb3682aca87343bb7ef96344d78d572dab75c989bc3b19507774a3",
+ "bytes": 136384,
+ "filename": "munkres-3.0.0-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "narwhals",
+ "version": "2.28.0",
+ "url": "https://files.pythonhosted.org/packages/cf/82/8ef9c7e0f50493307a49c09cfa7f00c5a778b6d1921f7b2dabe1d3a5809e/narwhals-2.28.0-py3-none-any.whl",
+ "sha256": "1f69d6385ec30e2fa6e1fdeb37c562ecabd0f713f6f3e3b58a668c5c9df9567f",
+ "bytes": 490591,
+ "filename": "narwhals-2.28.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "natsort",
+ "version": "8.4.0",
+ "url": "https://files.pythonhosted.org/packages/ef/82/7a9d0550484a62c6da82858ee9419f3dd1ccc9aa1c26a1e43da3ecd20b0d/natsort-8.4.0-py3-none-any.whl",
+ "filename": "natsort-8.4.0-py3-none-any.whl",
+ "bytes": 38268,
+ "sha256": "4732914fb471f56b5cce04d7bae6f164a592c7712e1c85f9ef585e197299521c",
+ "kind": "wheel"
+ },
+ {
+ "name": "nbformat",
+ "version": "5.11.1",
+ "url": "https://files.pythonhosted.org/packages/1a/69/ee613f74085ca7103f79cd08d579c4f3177d1d26e5d3d9528d2d6536a707/nbformat-5.11.1-py3-none-any.whl",
+ "sha256": "cc6698fa75f4fab8755ead786317815f13a6fee3b53311c0abb1a8b51d52f7ec",
+ "bytes": 79849,
+ "filename": "nbformat-5.11.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "nest-asyncio",
+ "version": "1.6.0",
+ "url": "https://files.pythonhosted.org/packages/a0/c4/c2971a3ba4c6103a3d10c4b0f24f461ddc027f0f09763220cf35ca1401b3/nest_asyncio-1.6.0-py3-none-any.whl",
+ "sha256": "87af6efd6b5e897c81050477ef65c62e2b2f35d51703cae01aff2905b1852e1c",
+ "bytes": 5195,
+ "filename": "nest_asyncio-1.6.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "networkx",
+ "version": "3.6.1",
+ "url": "https://files.pythonhosted.org/packages/9e/c9/b2622292ea83fbb4ec318f5b9ab867d0a28ab43c5717bb85b0a5f6b3b0a4/networkx-3.6.1-py3-none-any.whl",
+ "sha256": "d47fbf302e7d9cbbb9e2555a0d267983d2aa476bac30e90dfbe5669bd57f3762",
+ "bytes": 2068504,
+ "filename": "networkx-3.6.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "ninja",
+ "version": "1.13.2",
+ "url": "https://files.pythonhosted.org/packages/3f/dd/3766b5f4d32e8a9b97d195496b0b01fbbe2e1a41669dab0cd6492a6ce199/ninja-1.13.2-py3-none-win_amd64.whl",
+ "sha256": "1293f4078278b70d0ee4b6cc8f3a9e030656c9b2f59909970343c4fe76070118",
+ "bytes": 311798,
+ "filename": "ninja-1.13.2-py3-none-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "nodeenv",
+ "version": "1.11.1",
+ "url": "https://files.pythonhosted.org/packages/40/35/a09e0b1dac4027e35b872e4f123a9f9e7bbc39e6424bdc9776920d3a6491/nodeenv-1.11.1-py2.py3-none-any.whl",
+ "filename": "nodeenv-1.11.1-py2.py3-none-any.whl",
+ "bytes": 34473,
+ "sha256": "bc0fb085d8ed0d67a6471892535f3d9b795eb911b7cd129d3a24967aab7a538f",
+ "kind": "wheel"
+ },
+ {
+ "name": "numexpr",
+ "version": "2.14.2",
+ "url": "https://files.pythonhosted.org/packages/44/5e/00d696bca8bb9cad9c8a775ae5c1559e4a7cc083029f274c14cae5bc52fa/numexpr-2.14.2-cp311-cp311-win_amd64.whl",
+ "filename": "numexpr-2.14.2-cp311-cp311-win_amd64.whl",
+ "bytes": 157406,
+ "sha256": "2f132777d7d425471c458af5617e023402f13f5006301eacf8a1a6e7118ea70c",
+ "kind": "wheel"
+ },
+ {
+ "name": "numpy",
+ "version": "1.26.4",
+ "url": "https://files.pythonhosted.org/packages/3f/6b/5610004206cf7f8e7ad91c5a85a8c71b2f2f8051a0c0c4d5916b76d6cbb2/numpy-1.26.4-cp311-cp311-win_amd64.whl",
+ "sha256": "cd25bcecc4974d09257ffcd1f098ee778f7834c3ad767fe5db785be9a4aa9cb2",
+ "bytes": 15811913,
+ "filename": "numpy-1.26.4-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "nvidia-ml-py",
+ "version": "13.615.71",
+ "url": "https://files.pythonhosted.org/packages/53/a1/1681dfa1c904d4e3e72e51b55a0ff012d50b766843ef832d584abe2113c6/nvidia_ml_py-13.615.71-py3-none-any.whl",
+ "sha256": "959bf4adf6fe1308e4bd739e722236b0d1ec8392e2cefad33ff70c311380b9b6",
+ "bytes": 58132,
+ "filename": "nvidia_ml_py-13.615.71-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "omegaconf",
+ "version": "2.3.1",
+ "url": "https://files.pythonhosted.org/packages/a4/0e/152509871bf30df6fc38569f52a2db9b55dd41aae957adae50a053ac7778/omegaconf-2.3.1-py3-none-any.whl",
+ "sha256": "3d701d14e9a8828f1edd28bb70b725908b34277cdd72cf7d6a83f94dadc6b6a0",
+ "bytes": 79502,
+ "filename": "omegaconf-2.3.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "open_clip_torch",
+ "version": "3.3.0",
+ "url": "https://files.pythonhosted.org/packages/37/b5/41c315ccd94ca332ead3e832e83eee343ab245005c3e43d9d3e75eae34eb/open_clip_torch-3.3.0-py3-none-any.whl",
+ "sha256": "c549ad5ed6bfc119cc11105033c0a2b9d7a2a4afeb40a58a09aab3da1a0043ce",
+ "bytes": 1547268,
+ "filename": "open_clip_torch-3.3.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "open3d",
+ "version": "0.20.0",
+ "url": "https://files.pythonhosted.org/packages/9d/9b/d4138598ab720b1594f9ab6371d52ee0cb413e6b4406d7cb0a7c4994a9b9/open3d-0.20.0-cp311-cp311-win_amd64.whl",
+ "sha256": "bb3633fef10b1024cbf10a98f0457de26498b40f93c91b7029865d53e3e7a114",
+ "bytes": 77478508,
+ "filename": "open3d-0.20.0-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "opencv-python",
+ "version": "4.11.0.86",
+ "url": "https://files.pythonhosted.org/packages/a4/7d/f1c30a92854540bf789e9cd5dde7ef49bbe63f855b85a2e6b3db8135c591/opencv_python-4.11.0.86-cp37-abi3-win_amd64.whl",
+ "sha256": "085ad9b77c18853ea66283e98affefe2de8cc4c1f43eda4c100cf9b2721142ec",
+ "bytes": 39488044,
+ "filename": "opencv_python-4.11.0.86-cp37-abi3-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "opentelemetry-api",
+ "version": "1.45.1",
+ "url": "https://files.pythonhosted.org/packages/1e/41/f7dcf80b81ee8e71c1a2b59f14208bc723edbd89ed027a73b175abf6348e/opentelemetry_api-1.45.1-py3-none-any.whl",
+ "sha256": "b31553efa588ae44bc306f863c785c5333a9ecc091248c6ee68b4b6c87fdedfb",
+ "bytes": 60256,
+ "filename": "opentelemetry_api-1.45.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "opentelemetry-exporter-http-transport",
+ "version": "0.66b1",
+ "url": "https://files.pythonhosted.org/packages/04/69/6af86ff66492b481c6a4c05dcfd68beb47ed8ba046440a26a2aac76b95c7/opentelemetry_exporter_http_transport-0.66b1-py3-none-any.whl",
+ "sha256": "2f95404bdee7f9d2d529c7de56c7bd86d014d774d8fbf137810e0167f8a492bf",
+ "bytes": 12155,
+ "filename": "opentelemetry_exporter_http_transport-0.66b1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "opentelemetry-exporter-otlp-common",
+ "version": "0.66b1",
+ "url": "https://files.pythonhosted.org/packages/fc/39/8c23d67665c762aa51840fa06f86e902e8f6f1693bc8d7e3d98cd6e2f753/opentelemetry_exporter_otlp_common-0.66b1-py3-none-any.whl",
+ "sha256": "00ff8592c3a7cb729ff3fdc7ffa12372c243bdf2163e80c180994d0c7bd83ee9",
+ "bytes": 12385,
+ "filename": "opentelemetry_exporter_otlp_common-0.66b1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "opentelemetry-exporter-otlp-proto-common",
+ "version": "1.45.1",
+ "url": "https://files.pythonhosted.org/packages/84/aa/92f225d353904e7f70b8b3e3c1b02db0cf56f744c2e83c581dc372e78873/opentelemetry_exporter_otlp_proto_common-1.45.1-py3-none-any.whl",
+ "sha256": "2f446183ae7047b036226f1d846c41a834b0e8755ad13b51a51dd38952eb466c",
+ "bytes": 15393,
+ "filename": "opentelemetry_exporter_otlp_proto_common-1.45.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "opentelemetry-exporter-otlp-proto-http",
+ "version": "1.45.1",
+ "url": "https://files.pythonhosted.org/packages/aa/1f/517eaa0187ba106a9da97160ce2add3a371812681dc440930b267f714e42/opentelemetry_exporter_otlp_proto_http-1.45.1-py3-none-any.whl",
+ "sha256": "24a97cf3753c7fb52fad44a696e452ff371686339e2acf3309e2eda3d0230700",
+ "bytes": 22180,
+ "filename": "opentelemetry_exporter_otlp_proto_http-1.45.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "opentelemetry-proto",
+ "version": "1.45.1",
+ "url": "https://files.pythonhosted.org/packages/ab/9a/42ec8180a769516ae757e893b69736826efceac7332553915b4528a91c6d/opentelemetry_proto-1.45.1-py3-none-any.whl",
+ "sha256": "f38e2a8413053c180cd3d2637fbb279673ec2f6a6e09c995aafa2f452c52b46e",
+ "bytes": 72488,
+ "filename": "opentelemetry_proto-1.45.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "opentelemetry-sdk",
+ "version": "1.45.1",
+ "url": "https://files.pythonhosted.org/packages/95/3c/87c42b4bd6dd297536f04cd9383d212ac557ecd49f2cbdcd46da1c9ef5c8/opentelemetry_sdk-1.45.1-py3-none-any.whl",
+ "sha256": "c604c11dc429810812348989115fa44bd558772a3d7442afc43d024f2c250ca4",
+ "bytes": 140063,
+ "filename": "opentelemetry_sdk-1.45.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "opentelemetry-semantic-conventions",
+ "version": "0.66b1",
+ "url": "https://files.pythonhosted.org/packages/bc/14/67f8aa798857f8cf686f515bf93d9bb877ce952ddc8efae0fa25b45ce0d6/opentelemetry_semantic_conventions-0.66b1-py3-none-any.whl",
+ "sha256": "d4cddeb4315490b35213f55e2bdc9ac54bb1e4d318927475bed62b35545e581b",
+ "bytes": 206279,
+ "filename": "opentelemetry_semantic_conventions-0.66b1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "packaging",
+ "version": "26.3",
+ "url": "https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-py3-none-any.whl",
+ "sha256": "d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c",
+ "bytes": 129956,
+ "filename": "packaging-26.3-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "pandas",
+ "version": "3.0.6",
+ "url": "https://files.pythonhosted.org/packages/d3/dc/d2df02854aec5d47659acfb2be352eecc691845b2f86e99c84f1010a8671/pandas-3.0.6-cp311-cp311-win_amd64.whl",
+ "sha256": "2e5fa32ff162dfdbc280157d664f44d23049ae414725af9676df339c501d82cd",
+ "bytes": 9859246,
+ "filename": "pandas-3.0.6-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "parso",
+ "version": "0.8.7",
+ "url": "https://files.pythonhosted.org/packages/99/5d/8268b644392ee874ee82a635cd0df1773de230bde356c38de28e298392cc/parso-0.8.7-py2.py3-none-any.whl",
+ "sha256": "a8926eb2a1b915486941fdbd31e86a4baf88fe8c210f25f2f35ecec5b574ca1c",
+ "bytes": 107025,
+ "filename": "parso-0.8.7-py2.py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "pillow",
+ "version": "13.0.0",
+ "url": "https://files.pythonhosted.org/packages/7d/f6/6e2d96413e4c9dbec12ea584d9e646d602877d4cce3ea669099f959deac6/pillow-13.0.0-cp311-cp311-win_amd64.whl",
+ "sha256": "d7710eb676e9bb68965cb045be0d333b4c0d7f9dfbaa7fbf121385b1588683d3",
+ "bytes": 7278471,
+ "filename": "pillow-13.0.0-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "pip",
+ "version": "24.0",
+ "url": "https://files.pythonhosted.org/packages/8a/6a/19e9fe04fca059ccf770861c7d5721ab4c2aebc539889e97c7977528a53b/pip-24.0-py3-none-any.whl",
+ "filename": "pip-24.0-py3-none-any.whl",
+ "bytes": 2110226,
+ "sha256": "ba0d021a166865d2265246961bec0152ff124de910c5cc39f1156ce3fa7c69dc",
+ "kind": "wheel"
+ },
+ {
+ "name": "platformdirs",
+ "version": "4.13.7",
+ "url": "https://files.pythonhosted.org/packages/46/ff/8ed4a836cbf7de39708a2d305d6b67575990908d072bc3565dd8ad71748e/platformdirs-4.13.7-py3-none-any.whl",
+ "sha256": "47664602fbecad0a6efa561fb690d20dbc26875fe8aedf65ba362935df619bbb",
+ "bytes": 33111,
+ "filename": "platformdirs-4.13.7-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "plotly",
+ "version": "7.1.0",
+ "url": "https://files.pythonhosted.org/packages/e5/7d/905a3a3d51087515719058c94cfbda2ff0fc14417c20d557ae3e82d8b250/plotly-7.1.0-py3-none-any.whl",
+ "sha256": "dbb7fa18afce40d0a8e80d1bf162eceb3faa0ce5a77fe741ad09a74cf78f53f3",
+ "bytes": 9692368,
+ "filename": "plotly-7.1.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "plyfile",
+ "version": "1.0.3",
+ "url": "https://files.pythonhosted.org/packages/8b/ab/8be662b4070c14789f7c18f5f92c8a862a05a59755b88c546651bfa1b38b/plyfile-1.0.3-py3-none-any.whl",
+ "filename": "plyfile-1.0.3-py3-none-any.whl",
+ "bytes": 23562,
+ "sha256": "66255dca882553f1fcd0c01fd8444bb4c6cf3965c7659106bf7c6c1ac6793a08",
+ "kind": "wheel"
+ },
+ {
+ "name": "polars",
+ "version": "2.1.0",
+ "url": "https://files.pythonhosted.org/packages/d5/d4/e696a46c74ec8cac6434764deaf72f7edcc2e91c2145a9b3f61900a7aa7a/polars-2.1.0-py3-none-any.whl",
+ "sha256": "63c50ce3533f5a03d17c3a2a24f1d0e0c7eda98fbde4268a3cba900d34060e67",
+ "bytes": 911474,
+ "filename": "polars-2.1.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "polars-runtime-32",
+ "version": "2.1.0",
+ "url": "https://files.pythonhosted.org/packages/4d/4e/2a419d0def2908255dd1b7318c48430319859dc92ca156e2f81ff7bcd78b/polars_runtime_32-2.1.0-cp311-abi3-win_amd64.whl",
+ "sha256": "f2fe32f48af2395cd6ec52a433a03970a69aab1dbb66a613729fd549ce92c904",
+ "bytes": 53926265,
+ "filename": "polars_runtime_32-2.1.0-cp311-abi3-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "portalocker",
+ "version": "4.4.2",
+ "url": "https://files.pythonhosted.org/packages/e8/43/bca094221a0f9f592fe1e982d090a92075aa302ecaa92c94cc6268a39b2c/portalocker-4.4.2-py3-none-any.whl",
+ "sha256": "e661b91af34fc1806740f8e0e42990fe55cd85cbae55675ac48a400a9656a51b",
+ "bytes": 129702,
+ "filename": "portalocker-4.4.2-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "prompt_toolkit",
+ "version": "3.0.53",
+ "url": "https://files.pythonhosted.org/packages/54/6f/84908cad2d6aa5144abcf7b42709fe4fdb459bc640ec7ac5786e7693dabc/prompt_toolkit-3.0.53-py3-none-any.whl",
+ "sha256": "01c0891d7f9237d5e339f7d3e42cdae80b7534abb1c7c0e3352efba6231492f2",
+ "bytes": 392288,
+ "filename": "prompt_toolkit-3.0.53-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "protobuf",
+ "version": "7.36.2",
+ "url": "https://files.pythonhosted.org/packages/8a/55/b77bda4e5e5f5971fb51b07663694690e9afdb9402136c16a522bd621cad/protobuf-7.36.2-cp310-abi3-win_amd64.whl",
+ "sha256": "a300819d441e078a5608c0d3c709796bb548136058fda017ae51d425b44fd353",
+ "bytes": 456514,
+ "filename": "protobuf-7.36.2-cp310-abi3-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "psutil",
+ "version": "7.2.2",
+ "url": "https://files.pythonhosted.org/packages/b4/90/e2159492b5426be0c1fef7acba807a03511f97c5f86b3caeda6ad92351a7/psutil-7.2.2-cp37-abi3-win_amd64.whl",
+ "sha256": "eb7e81434c8d223ec4a219b5fc1c47d0417b12be7ea866e24fb5ad6e84b3d988",
+ "bytes": 137737,
+ "filename": "psutil-7.2.2-cp37-abi3-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "pure_eval",
+ "version": "0.2.4",
+ "url": "https://files.pythonhosted.org/packages/6d/18/83376915176eb058cb86470eb7396388a13350b09a8f233a79303bbcbc5b/pure_eval-0.2.4-py3-none-any.whl",
+ "sha256": "96cae060a313cfaad51bb761278bfb0e62dc0248d9315a81173752dc546cd37a",
+ "bytes": 11893,
+ "filename": "pure_eval-0.2.4-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "pycocotools",
+ "version": "2.0.11",
+ "url": "https://files.pythonhosted.org/packages/a2/23/d17f6111c2a6ae8631d4fa90202bea05844da715d61431fbc34d276462d5/pycocotools-2.0.11-cp311-cp311-win_amd64.whl",
+ "sha256": "8e159232adae3aef6b4e2d37b008bff107b26e9ed3b48e70ea6482302834bd34",
+ "bytes": 80519,
+ "filename": "pycocotools-2.0.11-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "pycollada",
+ "version": "0.9.3",
+ "url": "https://files.pythonhosted.org/packages/07/86/f1f61b7a0701f9d1299e5293d083318019f91021a4d449f94d59dbe024e4/pycollada-0.9.3-py3-none-any.whl",
+ "filename": "pycollada-0.9.3-py3-none-any.whl",
+ "bytes": 129206,
+ "sha256": "636e6496f60987586db82455ea7bbd9ade775e8181c6590c83b698b6cd53a9f5",
+ "kind": "wheel"
+ },
+ {
+ "name": "pydantic",
+ "version": "2.14.1",
+ "url": "https://files.pythonhosted.org/packages/35/ea/a56b9fe5066f3537b7882f77e9c5dfb26d8c2eefdaed9b5fc73d57b4dc22/pydantic-2.14.1-py3-none-any.whl",
+ "sha256": "9195d967ec791692a04438115466764fb8b9a27b31f14a760437694f40d6b454",
+ "bytes": 488106,
+ "filename": "pydantic-2.14.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "pydantic_core",
+ "version": "2.50.1",
+ "url": "https://files.pythonhosted.org/packages/24/65/3e875e7991eaecd4d70686293ff0d8a99aa8f93dc295e6a21c3d702912fb/pydantic_core-2.50.1-cp311-cp311-win_amd64.whl",
+ "sha256": "0048b6dddc8ef4b64fccaad878bd143b0c3882ea9936279dc11d613f6b7dd1bc",
+ "bytes": 2176332,
+ "filename": "pydantic_core-2.50.1-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "pyequilib",
+ "version": "0.3.0",
+ "url": "https://files.pythonhosted.org/packages/eb/92/791ddd795e0110d6275a60c047084bc7f661ff5ebbbdf92c269acf0d8d8f/pyequilib-0.3.0-py3-none-any.whl",
+ "filename": "pyequilib-0.3.0-py3-none-any.whl",
+ "bytes": 63244,
+ "sha256": "1838a38120d2f558d17fb96c5cf8e031025c7ee9b37407513a9e87ecbd549c11",
+ "kind": "wheel"
+ },
+ {
+ "name": "pyglet",
+ "version": "2.1.19",
+ "url": "https://files.pythonhosted.org/packages/75/f7/e5c199eb9c5cb3aae817f9102ba6c64f0c82fd4eb69a5d13dc0b1bc98ec0/pyglet-2.1.19-py3-none-any.whl",
+ "sha256": "5ba6e8cb0b5ac56a284e43ab411e2bbd504191c32a765abdbd6a6c4b7f1ca317",
+ "bytes": 1039437,
+ "filename": "pyglet-2.1.19-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "Pygments",
+ "version": "2.21.0",
+ "url": "https://files.pythonhosted.org/packages/71/46/17f022dd3e953bf20a04a028a21ec746d942f8d2af30fa0f124fa0e6a684/pygments-2.21.0-py3-none-any.whl",
+ "sha256": "2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9",
+ "bytes": 1250147,
+ "filename": "pygments-2.21.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "PyOpenGL",
+ "version": "3.1.0",
+ "url": "https://files.pythonhosted.org/packages/9c/1d/4544708aaa89f26c97cc09450bb333a23724a320923e74d73e028b3560f9/PyOpenGL-3.1.0.tar.gz",
+ "sha256": "9b47c5c3a094fa518ca88aeed35ae75834d53e4285512c61879f67a48c94ddaf",
+ "bytes": 1172688,
+ "filename": "PyOpenGL-3.1.0.tar.gz",
+ "kind": "source"
+ },
+ {
+ "name": "pyparsing",
+ "version": "3.3.3",
+ "url": "https://files.pythonhosted.org/packages/38/bb/d215ee7c73b61497b28a5503f9f53523f294fcc936762b7caf90e0c1c2b5/pyparsing-3.3.3-py3-none-any.whl",
+ "sha256": "ece8c00a69cf01b45d0b1dedabb469c90d8caf996d4fda40f147627a122849a4",
+ "bytes": 126420,
+ "filename": "pyparsing-3.3.3-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "pyrender",
+ "version": "0.1.45",
+ "url": "https://files.pythonhosted.org/packages/28/88/174c28b9d3d03cf6d8edb6f637458f30f1cf1a2bd7a617cbd9dadb1740f6/pyrender-0.1.45-py3-none-any.whl",
+ "sha256": "5cf751d1f21fba4640e830cef3a0b5a95ed0f05677bf92c6b8330056b4023aeb",
+ "bytes": 1214061,
+ "filename": "pyrender-0.1.45-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "pysocks",
+ "version": "1.7.1",
+ "url": "https://files.pythonhosted.org/packages/8d/59/b4572118e098ac8e46e399a1dd0f2d85403ce8bbaad9ec79373ed6badaf9/PySocks-1.7.1-py3-none-any.whl",
+ "filename": "PySocks-1.7.1-py3-none-any.whl",
+ "bytes": 16725,
+ "sha256": "2725bd0a9925919b9b51739eea5f9e2bae91e83288108a9ad338b2e3a4435ee5",
+ "kind": "wheel"
+ },
+ {
+ "name": "python-dateutil",
+ "version": "3.0.0",
+ "url": "https://files.pythonhosted.org/packages/5a/17/cebee01d1c0c1441174cf0456ddc91b280d79acb65340c05e41d77866ee8/python_dateutil-3.0.0-py2.py3-none-any.whl",
+ "sha256": "3c79630202e4152c6add678446984236efe4f57e84d8e892aab0637bab82e9fd",
+ "bytes": 94659,
+ "filename": "python_dateutil-3.0.0-py2.py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "pytorch-lightning",
+ "version": "2.0.0",
+ "url": "https://files.pythonhosted.org/packages/4c/6e/8a0b395b4058bd7e24a8f6a572255b815723d67ed65a121da25346f3148d/pytorch_lightning-2.0.0-py3-none-any.whl",
+ "sha256": "eda04e51c3ca030f92f9eb30cbb10583575b4144a155cfd6b7d17e1bb9a08ffe",
+ "bytes": 715626,
+ "filename": "pytorch_lightning-2.0.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "pytorch-minimize",
+ "version": "0.0.2",
+ "url": "https://files.pythonhosted.org/packages/a0/61/752f76c30fb1e1b31f930896a7eb0ecaa6415465ad1055b33ef02a865215/pytorch_minimize-0.0.2-py3-none-any.whl",
+ "filename": "pytorch_minimize-0.0.2-py3-none-any.whl",
+ "bytes": 59610,
+ "sha256": "49fe138be0be76764ec4f35c6ec8c63e7252642dde0523e517e140f55fc1fc48",
+ "kind": "wheel"
+ },
+ {
+ "name": "PyYAML",
+ "version": "6.0.3",
+ "url": "https://files.pythonhosted.org/packages/da/e3/ea007450a105ae919a72393cb06f122f288ef60bba2dc64b26e2646fa315/pyyaml-6.0.3-cp311-cp311-win_amd64.whl",
+ "sha256": "9f3bfb4965eb874431221a3ff3fdcddc7e74e3b07799e0e84ca4a0f867d449bf",
+ "bytes": 158763,
+ "filename": "pyyaml-6.0.3-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "referencing",
+ "version": "0.37.0",
+ "url": "https://files.pythonhosted.org/packages/2c/58/ca301544e1fa93ed4f80d724bf5b194f6e4b945841c5bfd555878eea9fcb/referencing-0.37.0-py3-none-any.whl",
+ "sha256": "381329a9f99628c9069361716891d34ad94af76e461dcb0335825aecc7692231",
+ "bytes": 26766,
+ "filename": "referencing-0.37.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "regex",
+ "version": "2026.9.29",
+ "url": "https://files.pythonhosted.org/packages/4d/4a/aab232183c70fdcf77bcf0c51819da02ec522e393e6a0bf00bcf2142e21f/regex-2026.9.29-cp311-cp311-win_amd64.whl",
+ "sha256": "1043aedf5917caa861bcb25a9c11460049656bdf0017a90a309fa8f255467725",
+ "bytes": 280641,
+ "filename": "regex-2026.9.29-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "requests",
+ "version": "2.34.2",
+ "url": "https://files.pythonhosted.org/packages/a0/f4/c67b0b3f1b9245e8d266f0f112c500d50e5b4e83cb6f3b71b6528104182a/requests-2.34.2-py3-none-any.whl",
+ "sha256": "2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0",
+ "bytes": 73075,
+ "filename": "requests-2.34.2-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "retrying",
+ "version": "1.4.2",
+ "url": "https://files.pythonhosted.org/packages/67/f3/6cd296376653270ac1b423bb30bd70942d9916b6978c6f40472d6ac038e7/retrying-1.4.2-py3-none-any.whl",
+ "sha256": "bbc004aeb542a74f3569aeddf42a2516efefcdaff90df0eb38fbfbf19f179f59",
+ "bytes": 10859,
+ "filename": "retrying-1.4.2-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "rich",
+ "version": "15.0.0",
+ "url": "https://files.pythonhosted.org/packages/82/3b/64d4899d73f91ba49a8c18a8ff3f0ea8f1c1d75481760df8c68ef5235bf5/rich-15.0.0-py3-none-any.whl",
+ "filename": "rich-15.0.0-py3-none-any.whl",
+ "bytes": 310654,
+ "sha256": "33bd4ef74232fb73fe9279a257718407f169c09b78a87ad3d296f548e27de0bb",
+ "kind": "wheel"
+ },
+ {
+ "name": "rosbags",
+ "version": "0.11.9",
+ "url": "https://files.pythonhosted.org/packages/10/9b/81c8c39d95acc791a13de90434478d2952b83ad2a713cc0f92d492570ca2/rosbags-0.11.9-py3-none-any.whl",
+ "filename": "rosbags-0.11.9-py3-none-any.whl",
+ "bytes": 151127,
+ "sha256": "010c5a48b326e4dad6a79183db243c7b59188121d37b629d8c166ecaed3fc890",
+ "kind": "wheel"
+ },
+ {
+ "name": "rpds-py",
+ "version": "2026.9.1",
+ "url": "https://files.pythonhosted.org/packages/df/c9/384a9b62f8cd89c8e3e609b8c9052c140e8c01d807261e0517c904b8bf29/rpds_py-2026.9.1-cp311-cp311-win_amd64.whl",
+ "sha256": "ce4d4f52e2a4324396caddbd45a97d8d7be5f42edd25d2355282a9c34f9b2f7f",
+ "bytes": 226045,
+ "filename": "rpds_py-2026.9.1-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "rtree",
+ "version": "1.4.1",
+ "url": "https://files.pythonhosted.org/packages/74/25/5282c8270bfcd620d3e73beb35b40ac4ab00f0a898d98ebeb41ef0989ec8/rtree-1.4.1-py3-none-win_amd64.whl",
+ "filename": "rtree-1.4.1-py3-none-win_amd64.whl",
+ "bytes": 389358,
+ "sha256": "efe125f416fd27150197ab8521158662943a40f87acab8028a1aac4ad667a489",
+ "kind": "wheel"
+ },
+ {
+ "name": "ruamel-yaml",
+ "version": "0.19.1",
+ "url": "https://files.pythonhosted.org/packages/b8/0c/51f6841f1d84f404f92463fc2b1ba0da357ca1e3db6b7fbda26956c3b82a/ruamel_yaml-0.19.1-py3-none-any.whl",
+ "filename": "ruamel_yaml-0.19.1-py3-none-any.whl",
+ "bytes": 118102,
+ "sha256": "27592957fedf6e0b62f281e96effd28043345e0e66001f97683aa9a40c667c93",
+ "kind": "wheel"
+ },
+ {
+ "name": "safetensors",
+ "version": "0.8.0",
+ "url": "https://files.pythonhosted.org/packages/1b/6d/3fba214c1e5e0f69991677ec3bc17023f0421776975e1de0c682dca475e2/safetensors-0.8.0-cp310-abi3-win_amd64.whl",
+ "sha256": "096ec1a98435df7beb08853bb5aa9081a84f23d0adc67ed1a0a10550f608373f",
+ "bytes": 355540,
+ "filename": "safetensors-0.8.0-cp310-abi3-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "scikit-image",
+ "version": "0.26.0",
+ "url": "https://files.pythonhosted.org/packages/d3/c6/2eeacf173da041a9e388975f54e5c49df750757fcfc3ee293cdbbae1ea0a/scikit_image-0.26.0-cp311-cp311-win_amd64.whl",
+ "sha256": "9490360c8d3f9a7e85c8de87daf7c0c66507960cf4947bb9610d1751928721c7",
+ "bytes": 11878486,
+ "filename": "scikit_image-0.26.0-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "scikit-learn",
+ "version": "1.9.1",
+ "url": "https://files.pythonhosted.org/packages/29/8a/8d1e888fe3d0dd4e2a1f3356dad703eed569aaf673e222b6f647005ad30f/scikit_learn-1.9.1-cp311-cp311-win_amd64.whl",
+ "sha256": "220fa18152852a5ce29c49e1eaba9d44ec44631cd2e5cf65f5a40eafa5ab3412",
+ "bytes": 8329877,
+ "filename": "scikit_learn-1.9.1-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "scipy",
+ "version": "1.17.1",
+ "url": "https://files.pythonhosted.org/packages/95/da/0d1df507cf574b3f224ccc3d45244c9a1d732c81dcb26b1e8a766ae271a8/scipy-1.17.1-cp311-cp311-win_amd64.whl",
+ "sha256": "d30e57c72013c2a4fe441c2fcb8e77b14e152ad48b5464858e07e2ad9fbfceff",
+ "bytes": 36607512,
+ "filename": "scipy-1.17.1-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "seaborn",
+ "version": "0.13.2",
+ "url": "https://files.pythonhosted.org/packages/83/11/00d3c3dfc25ad54e731d91449895a79e4bf2384dc3ac01809010ba88f6d5/seaborn-0.13.2-py3-none-any.whl",
+ "sha256": "636f8336facf092165e27924f223d3c62ca560b1f2bb5dff7ab7fad265361987",
+ "bytes": 294914,
+ "filename": "seaborn-0.13.2-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "segment-anything",
+ "version": "1.0",
+ "url": "https://files.pythonhosted.org/packages/75/77/8e0c16abf151a1dd076b562febc0da2ecf1132b0b41826087af96f101f42/segment_anything-1.0-py3-none-any.whl",
+ "filename": "segment_anything-1.0-py3-none-any.whl",
+ "bytes": 36560,
+ "sha256": "86f67d417a915823c3302098effe9008b688945772517310956bb49de0e7f02e",
+ "kind": "wheel"
+ },
+ {
+ "name": "semver",
+ "version": "3.1.0",
+ "url": "https://files.pythonhosted.org/packages/be/02/bce7a1d70e9d0f6ea8623c16386138c251b5855af6cd3a11433d3fba4e66/semver-3.1.0-py3-none-any.whl",
+ "filename": "semver-3.1.0-py3-none-any.whl",
+ "bytes": 18783,
+ "sha256": "6e4998f8b4762acdfea85f9bfd5b4032e0bb50038dc04bf82011b42d5d1145c5",
+ "kind": "wheel"
+ },
+ {
+ "name": "setuptools",
+ "version": "79.0.1",
+ "url": "https://files.pythonhosted.org/packages/0d/6d/b4752b044bf94cb802d88a888dc7d288baaf77d7910b7dedda74b5ceea0c/setuptools-79.0.1-py3-none-any.whl",
+ "filename": "setuptools-79.0.1-py3-none-any.whl",
+ "bytes": 1256281,
+ "sha256": "e147c0549f27767ba362f9da434eab9c5dc0045d5304feb602a0af001089fc51",
+ "kind": "wheel"
+ },
+ {
+ "name": "shapely",
+ "version": "2.2.0",
+ "url": "https://files.pythonhosted.org/packages/1f/bc/1b4246004806869c1d420c0a53e97244c9b538a7175e10f5e30012bbeab7/shapely-2.2.0-cp311-cp311-win_amd64.whl",
+ "filename": "shapely-2.2.0-cp311-cp311-win_amd64.whl",
+ "bytes": 1795293,
+ "sha256": "806d399418b23eee7241736d572ad1e0b784782f9241d7c8e2cfceb00787831d",
+ "kind": "wheel"
+ },
+ {
+ "name": "six",
+ "version": "1.17.0",
+ "url": "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl",
+ "sha256": "4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274",
+ "bytes": 11050,
+ "filename": "six-1.17.0-py2.py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "smpl-rs",
+ "version": "0.6.1",
+ "url": "https://files.pythonhosted.org/packages/26/05/6b6791be40ca65e2083b283c021141f72d787ebec25847980ead66e198a0/smpl_rs-0.6.1-cp38-abi3-win_amd64.whl",
+ "filename": "smpl_rs-0.6.1-cp38-abi3-win_amd64.whl",
+ "bytes": 6239142,
+ "sha256": "00ab82461c22fb1742ed98bce63dd00225f5a45edcb9c5374b6c373ccc6e1071",
+ "kind": "wheel"
+ },
+ {
+ "name": "smplcodec",
+ "version": "2.3.0",
+ "url": "https://files.pythonhosted.org/packages/60/54/5a8530dc84911e91a3edb41effeecac8e67d4d646985ad8255f2646ab420/smplcodec-2.3.0-py3-none-any.whl",
+ "filename": "smplcodec-2.3.0-py3-none-any.whl",
+ "bytes": 11389,
+ "sha256": "54d6e310c8c8ed5b032dd021423374b1c3de0daf123d7acc1aa236e3b922c13e",
+ "kind": "wheel"
+ },
+ {
+ "name": "smplx",
+ "version": "0.1.28",
+ "url": "https://files.pythonhosted.org/packages/c9/33/bd37416aec828e7465652d9e2525fe52de0a29a581f1519cc51a74485091/smplx-0.1.28-py3-none-any.whl",
+ "sha256": "e8ff3d278a015c097dc86d44a38475da4ac170042943c84c08eee433629406a7",
+ "bytes": 29903,
+ "filename": "smplx-0.1.28-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "sniffio",
+ "version": "1.3.1",
+ "url": "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl",
+ "sha256": "2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2",
+ "bytes": 10235,
+ "filename": "sniffio-1.3.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "soupsieve",
+ "version": "3.0.4",
+ "url": "https://files.pythonhosted.org/packages/07/66/473f7ca0be0b06e38ee8c85ee2db184e3981bd769fac2e7c19c8a8865211/soupsieve-3.0.4-py3-none-any.whl",
+ "filename": "soupsieve-3.0.4-py3-none-any.whl",
+ "bytes": 42458,
+ "sha256": "8412826614f9c632227067d0985aeb9f584bd15efc852955430e097a9fe7afbf",
+ "kind": "wheel"
+ },
+ {
+ "name": "stack-data",
+ "version": "0.6.3",
+ "url": "https://files.pythonhosted.org/packages/f1/7b/ce1eafaf1a76852e2ec9b22edecf1daa58175c090266e9f6c64afcd81d91/stack_data-0.6.3-py3-none-any.whl",
+ "sha256": "d5558e0c25a4cb0853cddad3d77da9891a08cb85dd9f9f91b9f8cd66e511e695",
+ "bytes": 24521,
+ "filename": "stack_data-0.6.3-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "supervision",
+ "version": "0.25.1",
+ "url": "https://files.pythonhosted.org/packages/c1/24/d3bcad7ece751166ed308c6deb7e7d02a62a7f5a6e01e61ff2787c538fb0/supervision-0.25.1-py3-none-any.whl",
+ "filename": "supervision-0.25.1-py3-none-any.whl",
+ "bytes": 181480,
+ "sha256": "ebc015c22983bc64563beda75f5f529e465e4020b318da07948ce03148307a72",
+ "kind": "wheel"
+ },
+ {
+ "name": "svg-path",
+ "version": "7.1",
+ "url": "https://files.pythonhosted.org/packages/f6/a1/219769f90ba167b87b5bc4566bafddd2dba05ce55aa82430fe12aaa2b782/svg_path-7.1-py2.py3-none-any.whl",
+ "filename": "svg_path-7.1-py2.py3-none-any.whl",
+ "bytes": 18633,
+ "sha256": "2c4afb1457da48ff3b3ef802aacf50fd0f23f99e82b77c6f60abc0f1ddb9c312",
+ "kind": "wheel"
+ },
+ {
+ "name": "sympy",
+ "version": "1.14.0",
+ "url": "https://files.pythonhosted.org/packages/a2/09/77d55d46fd61b4a135c444fc97158ef34a095e5681d0a6c10b75bf356191/sympy-1.14.0-py3-none-any.whl",
+ "sha256": "e091cc3e99d2141a0ba2847328f5479b05d94a6635cb96148ccb3f34671bd8f5",
+ "bytes": 6299353,
+ "filename": "sympy-1.14.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "tabulate",
+ "version": "0.10.0",
+ "url": "https://files.pythonhosted.org/packages/99/55/db07de81b5c630da5cbf5c7df646580ca26dfaefa593667fc6f2fe016d2e/tabulate-0.10.0-py3-none-any.whl",
+ "sha256": "f0b0622e567335c8fabaaa659f1b33bcb6ddfe2e496071b743aa113f8774f2d3",
+ "bytes": 39814,
+ "filename": "tabulate-0.10.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "termcolor",
+ "version": "3.3.0",
+ "url": "https://files.pythonhosted.org/packages/33/d1/8bb87d21e9aeb323cc03034f5eaf2c8f69841e40e4853c2627edf8111ed3/termcolor-3.3.0-py3-none-any.whl",
+ "sha256": "cf642efadaf0a8ebbbf4bc7a31cec2f9b5f21a9f726f4ccbb08192c9c26f43a5",
+ "bytes": 7734,
+ "filename": "termcolor-3.3.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "threadpoolctl",
+ "version": "3.7.0",
+ "url": "https://files.pythonhosted.org/packages/43/3f/f88a53f60a472b46f4023f56d204dd7de33d34c5d2acbfa0d70a674e639e/threadpoolctl-3.7.0-py3-none-any.whl",
+ "sha256": "cd8b60b5641b45c67bbf73c64c843235fc2d8a480c87389f52f5dbee893b86be",
+ "bytes": 26362,
+ "filename": "threadpoolctl-3.7.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "tifffile",
+ "version": "2026.3.3",
+ "url": "https://files.pythonhosted.org/packages/1a/e4/e804505f87627cd8cdae9c010c47c4485fd8c1ce31a7dd0ab7fcc4707377/tifffile-2026.3.3-py3-none-any.whl",
+ "sha256": "e8be15c94273113d31ecb7aa3a39822189dd11c4967e3cc88c178f1ad2fd1170",
+ "bytes": 243960,
+ "filename": "tifffile-2026.3.3-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "timm",
+ "version": "0.9.0",
+ "url": "https://files.pythonhosted.org/packages/38/b5/068b486caa27fa2d883dfc499dadd38e0065a33695182eda552f4d3c53b2/timm-0.9.0-py3-none-any.whl",
+ "filename": "timm-0.9.0-py3-none-any.whl",
+ "bytes": 2173373,
+ "sha256": "1aeb4e3bbb1bfaa775b3f49e80bfaebfe45efb0b4733d0c57653a121a15d48a8",
+ "kind": "wheel"
+ },
+ {
+ "name": "tomli",
+ "version": "2.5.0",
+ "url": "https://files.pythonhosted.org/packages/1e/74/220106da34502304b6751a2a9b8a9fbca6c3fd47e737a2e2e3da7c61c9db/tomli-2.5.0-cp311-cp311-win_amd64.whl",
+ "filename": "tomli-2.5.0-cp311-cp311-win_amd64.whl",
+ "bytes": 112742,
+ "sha256": "c804ae44fe7b4bab5da295e4f980a1ff04670bca9d23fe0a4e887e08ebd741a8",
+ "kind": "wheel"
+ },
+ {
+ "name": "torch",
+ "version": "2.7.1+cu128",
+ "url": "https://download-r2.pytorch.org/whl/cu128/torch-2.7.1%2Bcu128-cp311-cp311-win_amd64.whl",
+ "sha256": "138c66dcd0ed2f07aafba3ed8b7958e2bed893694990e0b4b55b6b2b4a336aa6",
+ "bytes": 3273066072,
+ "filename": "torch-2.7.1+cu128-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "torchmetrics",
+ "version": "1.9.0",
+ "url": "https://files.pythonhosted.org/packages/c3/a2/c7f6ebf546f8f644edf0f999aa98ece106986a77a7b922316bf6414ff825/torchmetrics-1.9.0-py3-none-any.whl",
+ "sha256": "bfdcbff3dd1d96b3374bb2496eb39f23c4b28b8a845b6a18c313688e0d2d9ca1",
+ "bytes": 983384,
+ "filename": "torchmetrics-1.9.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "torchvision",
+ "version": "0.22.1+cu128",
+ "url": "https://download-r2.pytorch.org/whl/cu128/torchvision-0.22.1%2Bcu128-cp311-cp311-win_amd64.whl",
+ "sha256": "85ecd729c947151eccea502853be6efc2c0029dc26e6e5148e04684aed008390",
+ "bytes": 7638405,
+ "filename": "torchvision-0.22.1+cu128-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "tqdm",
+ "version": "4.70.1",
+ "url": "https://files.pythonhosted.org/packages/a7/03/921a3d3c75785aca9ebfbfcabfbc3a1be12e2ab5265deb026d55a5a3f83e/tqdm-4.70.1-py3-none-any.whl",
+ "sha256": "c293e525e6fef9c20e8728fd4612df02a0aa31bb5fe91ecd93e123b1b7bffa73",
+ "bytes": 80199,
+ "filename": "tqdm-4.70.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "traitlets",
+ "version": "5.16.1",
+ "url": "https://files.pythonhosted.org/packages/ad/66/0d785f0bc5e4315a96c989bb476d0fc07ea4f85132550c7b156ca2035d52/traitlets-5.16.1-py3-none-any.whl",
+ "sha256": "f775618166caa0396c8e337099240f2bd3e5e917d203b2e6fbe21a58d3cb1f6b",
+ "bytes": 86211,
+ "filename": "traitlets-5.16.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "trimesh",
+ "version": "5.2.0",
+ "url": "https://files.pythonhosted.org/packages/51/14/78624d9c89bab76c2a2e1e839c7641fa686828c2c1c8fb64aedf3b371a5d/trimesh-5.2.0-py3-none-any.whl",
+ "sha256": "04db2c7ec62afdd7763fb04c82bb5f257ddd984993a19ee83697f475fc58fd29",
+ "bytes": 751459,
+ "filename": "trimesh-5.2.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "truststore",
+ "version": "0.10.5",
+ "url": "https://files.pythonhosted.org/packages/51/e9/3a7820be2bb0fe53b6bc9c3be26d3d1158004e4c3ab953aa6840b955b1e9/truststore-0.10.5-py3-none-any.whl",
+ "sha256": "9aaaedaefaf06d8b206278cf8b5012bc897f485a874503501e12d776df78951c",
+ "bytes": 19017,
+ "filename": "truststore-0.10.5-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "typeguard",
+ "version": "4.6.0",
+ "url": "https://files.pythonhosted.org/packages/8f/eb/461d5f167b6f5c7d97696f397c82f82e3480e003fce3f0a1cd1dd26e2eb2/typeguard-4.6.0-py3-none-any.whl",
+ "filename": "typeguard-4.6.0-py3-none-any.whl",
+ "bytes": 36884,
+ "sha256": "79878165bb86f2cf5d41d159a0ff1792a796cf496882d2fe1b1c6c7049b9cdd7",
+ "kind": "wheel"
+ },
+ {
+ "name": "typing_extensions",
+ "version": "4.16.0",
+ "url": "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl",
+ "sha256": "481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8",
+ "bytes": 45571,
+ "filename": "typing_extensions-4.16.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "typing-inspection",
+ "version": "0.4.4",
+ "url": "https://files.pythonhosted.org/packages/67/81/4add07e5172b7ac40d8ed5ff580409a7801a4fe26d529bdd915401dabfbe/typing_inspection-0.4.4-py3-none-any.whl",
+ "sha256": "65b8397ba37ccbce054456aaccddfc91e6e3083c92824df348d96ca832f3f147",
+ "bytes": 14750,
+ "filename": "typing_inspection-0.4.4-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "tyro",
+ "version": "1.0.16",
+ "url": "https://files.pythonhosted.org/packages/23/d9/ea12ca0392c9eaeff7421efcc665f350dbc2ef30a113ee13c7afea21cf37/tyro-1.0.16-py3-none-any.whl",
+ "filename": "tyro-1.0.16-py3-none-any.whl",
+ "bytes": 216925,
+ "sha256": "2f9087196113699647190459a12b6b4f2784dd0703c50ab1f7bf0f85a3a794ea",
+ "kind": "wheel"
+ },
+ {
+ "name": "tzdata",
+ "version": "2026.6",
+ "url": "https://files.pythonhosted.org/packages/0a/66/9a06c2227fedfd4919f0eaaa8b94377d9730882a7e4f95823c9a331ab5e1/tzdata-2026.6-py2.py3-none-any.whl",
+ "sha256": "0a10eec6e13ef16b627fabed9a5f2ba61a62b1c67f327305f4e7e412a70b4aec",
+ "bytes": 348210,
+ "filename": "tzdata-2026.6-py2.py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "ultralytics",
+ "version": "8.4.191",
+ "url": "https://files.pythonhosted.org/packages/40/d3/efd56d1d2d6f41a9b4c7c0a496da1839f42542b1e0b9ebfeb91e440209fd/ultralytics-8.4.191-py3-none-any.whl",
+ "sha256": "261888048192da1f86ac59a2a2768eb64f30ca16f6c04c825079dfd35495890a",
+ "bytes": 1434031,
+ "filename": "ultralytics-8.4.191-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "ultralytics-platform",
+ "version": "0.1.101",
+ "url": "https://files.pythonhosted.org/packages/2d/6e/cd477b1c5ce173bf1fd62ea870891c5868b08245179dd0006de688d01f79/ultralytics_platform-0.1.101-py3-none-any.whl",
+ "sha256": "a185b75895c2784856077df67fcc718a858b820642552c22ccb186e4925f697c",
+ "bytes": 99059,
+ "filename": "ultralytics_platform-0.1.101-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "ultralytics-thop",
+ "version": "2.2.3",
+ "url": "https://files.pythonhosted.org/packages/0e/9f/5246244e2674210549e8b6247bf28a6b586878c2e744d2c82b4d4f872bf7/ultralytics_thop-2.2.3-py3-none-any.whl",
+ "sha256": "d56c860b9422b6abfd7e9d7afdd8af3b1242a854c17305bd60ad05cbc7f4b5b6",
+ "bytes": 32807,
+ "filename": "ultralytics_thop-2.2.3-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "urllib3",
+ "version": "2.8.0",
+ "url": "https://files.pythonhosted.org/packages/92/9d/c4e665119135114480843e7ab388fa94d8480650450e6f8e26b70d323a4c/urllib3-2.8.0-py3-none-any.whl",
+ "sha256": "0cf3cae568d36aa9576b28dfb35f11328f1cb974ca7647d9475ebb86c75ac6e3",
+ "bytes": 135717,
+ "filename": "urllib3-2.8.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "vhacdx",
+ "version": "0.1.1",
+ "url": "https://files.pythonhosted.org/packages/2f/36/11dff4d38f21aa72e584096af885b3c82d38e5334887a4a4ba656d18fe53/vhacdx-0.1.1-cp311-cp311-win_amd64.whl",
+ "filename": "vhacdx-0.1.1-cp311-cp311-win_amd64.whl",
+ "bytes": 393978,
+ "sha256": "888241e61831de89231225658e6dc32e3c422319c36d76f0f2719b0cd7d4e3a5",
+ "kind": "wheel"
+ },
+ {
+ "name": "viser",
+ "version": "0.2.23",
+ "url": "https://files.pythonhosted.org/packages/59/0f/1bc122f37a7483b3bfce9097327632203f74648ad94f200e2b0226a7ae8e/viser-0.2.23-py3-none-any.whl",
+ "filename": "viser-0.2.23-py3-none-any.whl",
+ "bytes": 28887713,
+ "sha256": "36e3e60ef61024fec4404857897c1b301695b29350a17451c2ca769e6b26de00",
+ "kind": "wheel"
+ },
+ {
+ "name": "wandb",
+ "version": "0.31.0",
+ "url": "https://files.pythonhosted.org/packages/90/7a/aaee2e55d1aa6f855d01e702263e2e0ef733da45583ecd9836d68ea3d67d/wandb-0.31.0-py3-none-win_amd64.whl",
+ "sha256": "488f8ef63cae217ba220e6d8c163ee8c5b98320ee1866ce774c4da0847235f02",
+ "bytes": 19596112,
+ "filename": "wandb-0.31.0-py3-none-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "wcwidth",
+ "version": "0.9.4",
+ "url": "https://files.pythonhosted.org/packages/d6/f1/c123f902bc2ff9e9c2ab66241b8872204df87cbb18ecdf035e120860fedc/wcwidth-0.9.4-cp310-abi3-win_amd64.whl",
+ "sha256": "f28d77153303450ee13ebbe888297e75cf532c754555b6cabafc9bdda16c421c",
+ "bytes": 597780,
+ "filename": "wcwidth-0.9.4-cp310-abi3-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "websockets",
+ "version": "17.3",
+ "url": "https://files.pythonhosted.org/packages/28/11/7469f3f28513ec0d43f10b1c88bf970b0b6f0aa8190c42731954297e824c/websockets-17.3-cp311-cp311-win_amd64.whl",
+ "filename": "websockets-17.3-cp311-cp311-win_amd64.whl",
+ "bytes": 219017,
+ "sha256": "d338813a440bf6d2f0df55140d3f3080284410b1ebfe9df50e3847bcdb1a17bb",
+ "kind": "wheel"
+ },
+ {
+ "name": "Werkzeug",
+ "version": "3.1.9",
+ "url": "https://files.pythonhosted.org/packages/a1/38/df03f564f43cec2684823f3cccae1a652ee7face1cbaa76fb223096e64d7/werkzeug-3.1.9-py3-none-any.whl",
+ "sha256": "6392e50c78460ba618e5b21f08a71f59c99ce99cdc6cf6e3dd7e6ccca8754fab",
+ "bytes": 228700,
+ "filename": "werkzeug-3.1.9-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "wheel",
+ "version": "0.48.0",
+ "url": "https://files.pythonhosted.org/packages/2e/29/69cfbb602cd91690c55d38ba9fe53e6a7e76a6fa647bf38f19c138d25449/wheel-0.48.0-py3-none-any.whl",
+ "sha256": "3217dcc807155e45db462d7ef2431f5ddda0d7273b700d05a67b271ceb1287ab",
+ "bytes": 33320,
+ "filename": "wheel-0.48.0-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "widgetsnbextension",
+ "version": "4.0.16",
+ "url": "https://files.pythonhosted.org/packages/34/95/40e17e20046b7bc820d29d09ae84ec157ec8dd6e6f6cd722626292c31b2e/widgetsnbextension-4.0.16-py3-none-any.whl",
+ "sha256": "a31a8774885b96fe825462f5d6496166f0c7cae111195b6465c801d230eb5a4e",
+ "bytes": 2225148,
+ "filename": "widgetsnbextension-4.0.16-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "win32_setctime",
+ "version": "1.2.1",
+ "url": "https://files.pythonhosted.org/packages/bd/df/5593480bc1e932eeae28e4fa182ab68174edd0d77409ced3b6491d02d1d5/win32_setctime-1.2.1-py3-none-any.whl",
+ "sha256": "a9edc685b35414bec69392c866ed82456ad125ac4a6a4b703ec1d8b462d4f477",
+ "bytes": 4215,
+ "filename": "win32_setctime-1.2.1-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "xformers",
+ "version": "0.0.31.post1",
+ "url": "https://download.pytorch.org/whl/cu128/xformers-0.0.31.post1-cp39-abi3-win_amd64.whl",
+ "filename": "xformers-0.0.31.post1-cp39-abi3-win_amd64.whl",
+ "bytes": 100216866,
+ "sha256": "cbe0db2fcb8ec68f7bac0f13ee71450452506857e375be34001b339947369e33",
+ "kind": "wheel"
+ },
+ {
+ "name": "xxhash",
+ "version": "4.0.2",
+ "url": "https://files.pythonhosted.org/packages/eb/20/6c0271610bec93dc62a24c15f023f81d1781bb1ee9df15daf8b649116d92/xxhash-4.0.2-cp311-cp311-win_amd64.whl",
+ "sha256": "c60fa1038814c3c682a8e3b68aeca598e7b90eb4a65d4a48b7e0e6fbae825507",
+ "bytes": 36982,
+ "filename": "xxhash-4.0.2-cp311-cp311-win_amd64.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "yacs",
+ "version": "0.1.8",
+ "url": "https://files.pythonhosted.org/packages/38/4f/fe9a4d472aa867878ce3bb7efb16654c5d63672b86dc0e6e953a67018433/yacs-0.1.8-py3-none-any.whl",
+ "sha256": "99f893e30497a4b66842821bac316386f7bd5c4f47ad35c9073ef089aa33af32",
+ "bytes": 14747,
+ "filename": "yacs-0.1.8-py3-none-any.whl",
+ "kind": "wheel"
+ },
+ {
+ "name": "yapf",
+ "version": "0.43.0",
+ "url": "https://files.pythonhosted.org/packages/37/81/6acd6601f61e31cfb8729d3da6d5df966f80f374b78eff83760714487338/yapf-0.43.0-py3-none-any.whl",
+ "filename": "yapf-0.43.0-py3-none-any.whl",
+ "bytes": 256158,
+ "sha256": "224faffbc39c428cb095818cf6ef5511fdab6f7430a10783fdfb292ccf2852ca",
+ "kind": "wheel"
+ },
+ {
+ "name": "yourdfpy",
+ "version": "0.0.60",
+ "url": "https://files.pythonhosted.org/packages/c8/60/4ea0d6df0b497d51bf2ef87eaab0eb26f8bc3b3313c012da5df3383cced9/yourdfpy-0.0.60-py3-none-any.whl",
+ "filename": "yourdfpy-0.0.60-py3-none-any.whl",
+ "bytes": 22194,
+ "sha256": "8a187a8b18c98db87c76e9a950581b3c875b761e00df83942526c17ea693166c",
+ "kind": "wheel"
+ },
+ {
+ "name": "zipp",
+ "version": "4.1.2",
+ "url": "https://files.pythonhosted.org/packages/b8/44/7bd2007260da11cccca29ba2d4c345f1287aa663db38ee7cefeabf6386a5/zipp-4.1.2-py3-none-any.whl",
+ "sha256": "b30cb6cd253122169c47de245ca24a86bac2a5d3802ba15bf7ba6414eb9e144d",
+ "bytes": 10581,
+ "filename": "zipp-4.1.2-py3-none-any.whl",
+ "kind": "wheel"
+ }
+ ],
+ "sources": {
+ "sam2": {
+ "url": "https://codeload.github.com/facebookresearch/sam2/zip/2b90b9f5ceec907a1c18123530e92e794ad901a4",
+ "sha256": "fe93082a71a885a427894b1eab76341768781b6b58a298a0717e03862097d137",
+ "bytes": 55952852,
+ "commit": "2b90b9f5ceec907a1c18123530e92e794ad901a4",
+ "archive_root": "sam2-2b90b9f5ceec907a1c18123530e92e794ad901a4"
+ },
+ "prompthmr": {
+ "url": "https://codeload.github.com/yufu-wang/PromptHMR/zip/3b566b7dbb28ce506c7ea972c18693f4c705ce8c",
+ "bytes": 3960317,
+ "sha256": "354766b97924f38cdd66f231482fe765aef2088b0a49c7ee82b3ccbaf2af1a2c",
+ "commit": "3b566b7dbb28ce506c7ea972c18693f4c705ce8c",
+ "archive_root": "PromptHMR-3b566b7dbb28ce506c7ea972c18693f4c705ce8c"
+ },
+ "detectron2": {
+ "url": "https://codeload.github.com/facebookresearch/detectron2/zip/247691a1c292654867deb35cabb27f18d75a1363",
+ "bytes": 1508432,
+ "sha256": "03c18cc63041eeefc3662e1c003de11eb570d05a2b1126af9591fc256a348638",
+ "commit": "247691a1c292654867deb35cabb27f18d75a1363",
+ "archive_root": "detectron2-247691a1c292654867deb35cabb27f18d75a1363"
+ },
+ "chumpy": {
+ "url": "https://codeload.github.com/Arthur151/chumpy/zip/ec5a20f3adc1a105c7a907cfed9a33d7dccbe95f",
+ "bytes": 66679,
+ "sha256": "5026e1bd0b93f75eb908d032351688d8b6fc2514745d9257f7037fa9b0cf4edd",
+ "commit": "ec5a20f3adc1a105c7a907cfed9a33d7dccbe95f",
+ "archive_root": "chumpy-ec5a20f3adc1a105c7a907cfed9a33d7dccbe95f"
+ }
+ }
+}
diff --git a/installer/prompthmr_adapters.py b/installer/prompthmr_adapters.py
new file mode 100644
index 0000000..2728ac4
--- /dev/null
+++ b/installer/prompthmr_adapters.py
@@ -0,0 +1,38 @@
+"""Small Windows adaptations applied to user-downloaded PromptHMR source.
+
+Restricted upstream sources are not bundled with RGB MoCap. The replacements
+match the pinned release and fail closed if it changes.
+"""
+from .mamma_adapters import replace
+
+
+def adapt_engine(root):
+ replace(root/'pipeline/camera/__init__.py',
+ 'from .masked_droid_slam import run_metric_slam, calibrate_intrinsics, run_slam',
+ '\n'.join('def '+name+'(*args, **kwargs):\n raise RuntimeError("Moving-camera PromptHMR is not supported by this Windows adapter.")\n' for name in ('run_metric_slam','calibrate_intrinsics','run_slam')))
+ replace(root/'pipeline/detector/sam2_video_predictor.py', ', load_video_frames_from_np', '')
+ replace(root/'pipeline/tools.py', 'num_workers=4 if os.cpu_count() > 4 else os.cpu_count()', 'num_workers=0')
+ replace(root/'pipeline/tools.py', "model_cfg = '/' + os.path.abspath(model_cfg)", "model_cfg = os.path.abspath(model_cfg).replace('\\\\', '/')")
+ replace(root/'pipeline/detector/sam2_video_predictor.py', 'cfg = compose(config_name=config_file, overrides=hydra_overrides)',
+ "cfg = OmegaConf.merge(OmegaConf.load(config_file), OmegaConf.from_dotlist([x.lstrip('+') for x in hydra_overrides]))")
+ replace(root/'prompt_hmr/models/components/clip_encoder.py', "pretrained='metaclip_fullcc'", 'pretrained=None')
+ replace(root/'pipeline/phmr_vid.py', 'batch_size=16', 'batch_size=1')
+ replace(root/'pipeline/spec/cam_calib.py', 'torch.load(CKPT)', 'torch.load(CKPT, weights_only=False)')
+ replace(root/'pipeline/gvhmr/hmr4d/model/gvhmr/gvhmr_pl_demo.py', 'torch.load(ckpt_path, "cpu")', 'torch.load(ckpt_path, "cpu", weights_only=False)')
+ replace(root/'prompt_hmr/models/components/twoway_transformer.py', 'from xformers.ops import memory_efficient_attention',
+ '''def memory_efficient_attention(q, k, v, attn_bias=None):
+ if attn_bias is not None:
+ raise ValueError('Unsupported attention bias')
+ return torch.nn.functional.scaled_dot_product_attention(q.transpose(1,2), k.transpose(1,2), v.transpose(1,2), dropout_p=0.).transpose(1,2)
+''')
+
+
+def install_python_source(source, target, name):
+ """These selected Detectron2 operators use the pinned torchvision kernels."""
+ import shutil
+ if name=='detectron2':
+ shutil.copytree(source/'detectron2',target/'detectron2')
+ # Preserve the provider license beside the package.
+ shutil.copy2(source/'LICENSE',target/'detectron2/LICENSE')
+ else:
+ raise ValueError('Unknown Python source package')
diff --git a/installer/runtime-lock.json b/installer/runtime-lock.json
index fff5ca3..511bfc8 100644
--- a/installer/runtime-lock.json
+++ b/installer/runtime-lock.json
@@ -2244,6 +2244,6 @@
"uv_sha256": "4075a09490327d2bedfacc807fa48252fb93647c5bd7ef28f00e579160ea3fb5",
"all_runtimes": true,
"models_included": false,
- "registry_sha256": "a210a4bee2802b0d7ce539fa53995062245b1d35bbbbf14f112e099e5412d36e",
+ "registry_sha256": "5e56f969d2509a4200a02911d1d801bf5b43fc50cbb03f6b903879a90533ff20",
"id": "c156b3130b170cdf1bcbb27f2d928e35d0952ca81f7208dc0c734f09fc346290"
}
diff --git a/installer/verify_prompthmr.py b/installer/verify_prompthmr.py
new file mode 100644
index 0000000..2b3e36c
--- /dev/null
+++ b/installer/verify_prompthmr.py
@@ -0,0 +1,43 @@
+"""Check exact packages and actual SAM2/torchvision CUDA operations."""
+from pathlib import Path
+import argparse,base64,hashlib,importlib.metadata as metadata,json,sys
+
+
+def verify(lock):
+ if sys.version.split()[0]!=lock['python']:raise RuntimeError('PromptHMR Python version mismatch.')
+ for row in lock['packages']:
+ if metadata.version(row['name'])!=row['version']:raise RuntimeError('PromptHMR dependency mismatch: '+row['name'])
+ import torch,numpy,scipy,smplx,timm,torchvision,sam2,mmcv,mmengine,joblib,chumpy,xformers
+ import os
+ folder=Path(sys.executable).parent/'engine'
+ sys.path.insert(0,str(folder));os.chdir(folder)
+ from pipeline import Pipeline
+ from detectron2.config import get_cfg
+ from detectron2.modeling import build_model
+ from sam2.utils.misc import get_connected_components
+ if not torch.cuda.is_available():raise RuntimeError('PromptHMR requires a compatible NVIDIA CUDA GPU.')
+ torch.set_num_threads(4)
+ mask=torch.zeros((1,1,8,8),device='cuda',dtype=torch.uint8);mask[:,:,2:4,2:4]=1
+ labels,areas=get_connected_components(mask)
+ if int(areas[0,0,2,2])!=4:raise RuntimeError('SAM2 CUDA verification failed.')
+ boxes=torch.tensor([[0.,0.,2.,2.],[.1,.1,2.,2.]],device='cuda');score=torch.tensor([.9,.8],device='cuda')
+ if torchvision.ops.nms(boxes,score,.5).tolist()!=[0]:raise RuntimeError('Torchvision CUDA NMS verification failed.')
+ q=torch.rand(1,2,32,16,device='cuda');a=torch.nn.functional.scaled_dot_product_attention(q,q,q)
+ if not torch.isfinite(a).all():raise RuntimeError('Native attention verification failed.')
+ count=0
+ for name in [r['name'] for r in lock['packages']]+['SAM-2','chumpy']:
+ dist=metadata.distribution(name)
+ for entry in dist.files or []:
+ if not entry.hash or entry.hash.mode!='sha256' or Path(entry).suffix.lower() in ('.pyc','.lib','.exp','.pdb','.obj','.o','.a','.ilk'):continue
+ p=Path(dist.locate_file(entry));h=hashlib.sha256()
+ with p.open('rb') as stream:
+ for block in iter(lambda:stream.read(2**20),b''):h.update(block)
+ if base64.urlsafe_b64encode(h.digest()).decode().rstrip('=')!=entry.hash.value:raise RuntimeError('Installed file verification failed: '+str(entry))
+ count+=1
+ return dict(python=sys.version.split()[0],packages=len(lock['packages'])+3,verified_files=count,
+ compute_capability=list(torch.cuda.get_device_capability()),cuda=torch.version.cuda,sam2_components=True,torchvision_nms=True,native_attention=True)
+
+
+if __name__=='__main__':
+ p=argparse.ArgumentParser();p.add_argument('--lock',type=Path,required=True);p.add_argument('--output',type=Path,required=True);args=p.parse_args()
+ report=verify(json.loads(args.lock.read_text()));args.output.write_text(json.dumps(report,indent=2),encoding='utf8');print(json.dumps(report),flush=True)
diff --git a/mocap/engines.py b/mocap/engines.py
index 4c0be15..42a37fa 100644
--- a/mocap/engines.py
+++ b/mocap/engines.py
@@ -34,7 +34,7 @@ def activate(name: str) -> Path:
def link_models(root: Path) -> None:
"""Hard links keep upstream relative paths working without copying GB files."""
for key,model in BY_KEY.items():
- if key == 'person_reid':
+ if key == 'person_reid' or key.startswith('phmr_'):
continue # Discovery-only weights are never used by motion backends.
source = model.path
if not source.exists():
diff --git a/mocap/export.py b/mocap/export.py
index 9792a0d..6cdbd64 100644
--- a/mocap/export.py
+++ b/mocap/export.py
@@ -111,6 +111,7 @@ def export_project(project: Path, result="auto"):
exmr=state.get('pipeline',{}).get('model')=='exmr'
if exmr:label='ExMR original'
if mamma:label='MAMMA original'
+ if state.get('pipeline',{}).get('model')=='prompthmr':label='PromptHMR original'
from .motion_tools import has_handflow
if has_handflow(result):label+=' + HandFlow'
atomic_json(project / "export.json", {"format": "BVH", "frames": len(selected["body_pose"]), "fps": fps,
diff --git a/mocap/gui.py b/mocap/gui.py
index 6f130d0..8ee15d3 100644
--- a/mocap/gui.py
+++ b/mocap/gui.py
@@ -39,6 +39,7 @@ from .people_ui import PeopleWorkspace
from .project_save_ui import ProjectSaving
from .project_workspace_ui import ModelWorkspace
STAGES.update(mamma_prepare='Prepare Multi-view Videos',mamma_masks='MAMMA Person Masks',mamma_landmarks='MAMMA Surface Landmarks',mamma_camera='MAMMA Cameras',mamma_fit='MAMMA 3D Fit',mamma_publish='MAMMA Motion Correction and Preview')
+STAGES.update(prompthmr_prepare='Prepare PromptHMR Video',prompthmr_track='PromptHMR People and Masks',prompthmr_pose='PromptHMR Camera, Keypoints and Motion',prompthmr_world='PromptHMR Shared World and Post-optimization',prompthmr_publish='PromptHMR Motion Correction and Preview')
STAGES['save_project']='Save Project As'
STAGES.update(people='Find People',person='Prepare Person Motion')
STAGES.update(flow_camera='Estimate Scene Camera / VGGT-Omega', flow_features='Extract Body and Hand Features / SAM', flowhmr='Reconstruct Motion / FlowHMR', flow_export='Prepare FlowHMR Preview and FBX', import_model='Import Model')
@@ -126,7 +127,7 @@ class ModelsDialog(QDialog):
self.window = window
self.tool = MOTION_TOOLS[tool_key or window.model_choice.currentData()]
from .models import STAGE_REQUIREMENTS
- keys = ({key for key in STAGE_REQUIREMENTS['mamma_assets']} if self.tool.key=='mamma' else
+ keys = ({key for key in STAGE_REQUIREMENTS[self.tool.key+'_assets']} if self.tool.key in ('mamma','prompthmr') else
{key for stage in (*self.tool.stages(refine=True, footmr=True, handflow=True),'people') for key in STAGE_REQUIREMENTS.get(stage, ())})
# Keep public automatic downloads together, followed by manual-only files.
# Stable sorting preserves the existing component order within each group.
@@ -141,6 +142,9 @@ class ModelsDialog(QDialog):
if self.tool.key=='mamma':
from .mamma_manager import runtime_panel
layout.addWidget(runtime_panel(self))
+ elif self.tool.key=='prompthmr':
+ from .prompthmr_manager import runtime_panel
+ layout.addWidget(runtime_panel(self))
self.table = QTableWidget(len(self.models), 3)
self.table.setHorizontalHeaderLabels(["Model", "Status", "Action"])
self.table.horizontalHeader().setStretchLastSection(True)
@@ -330,8 +334,9 @@ class ModelsDialog(QDialog):
from .character_ui import CharacterWorkspace
from .mamma_ui import MammaWorkspace
+from .prompthmr_ui import PromptHMRWorkspace
-class MainWindow(MammaWorkspace,CharacterWorkspace,ModelWorkspace,ProjectSaving,PeopleWorkspace,QMainWindow):
+class MainWindow(PromptHMRWorkspace,MammaWorkspace,CharacterWorkspace,ModelWorkspace,ProjectSaving,PeopleWorkspace,QMainWindow):
def __init__(self, video: Path | None = None):
super().__init__()
self.setWindowTitle("RGB MoCap | Motion Workspace")
@@ -476,6 +481,7 @@ class MainWindow(MammaWorkspace,CharacterWorkspace,ModelWorkspace,ProjectSaving,
self.analyze_button.setVisible(tool.key=='gvhmr')
self.sync_correction_floor_preview()
self.sync_mamma_controls()
+ self.sync_prompthmr_controls()
def sync_correction_floor_preview(self):
self.motion_view.correction_floor_applicable=self.correction_mode.currentData()=='flat'
@@ -718,6 +724,11 @@ class MainWindow(MammaWorkspace,CharacterWorkspace,ModelWorkspace,ProjectSaving,
self.status.setText(str(error))
return False
manifest = json.loads((project / "project.json").read_text(encoding="utf-8"))
+ if manifest.get('pipeline',{}).get('model')=='prompthmr':
+ group=(project/manifest.get('people_root','.')).resolve()
+ if (group/'prompthmr_pending.json').exists():
+ self.status.setText('PromptHMR publication is incomplete. Reconstruct again; previous projects were preserved.');return False
+ self.restore_prompthmr_options(manifest.get('prompthmr_options',{}))
if manifest.get('pipeline',{}).get('model')=='mamma':
group=(project/manifest.get('people_root','.')).resolve()
if (group/'mamma_pending.json').exists():
@@ -969,6 +980,7 @@ class MainWindow(MammaWorkspace,CharacterWorkspace,ModelWorkspace,ProjectSaving,
def run_full(self):
tool = MOTION_TOOLS[self.model_choice.currentData()]
if tool.key=='mamma':return self.run_mamma()
+ if tool.key=='prompthmr':return self.run_prompthmr()
if tool.key=='exmr' and self.people_root is not None:
from .storage import atomic_json
path=self.people_root/'project.json';state=json.loads(path.read_text(encoding='utf-8'))
@@ -1256,7 +1268,7 @@ class MainWindow(MammaWorkspace,CharacterWorkspace,ModelWorkspace,ProjectSaving,
'flow_camera', 'flow_features', 'flowhmr',
'exmr_preprocess', 'exmr_features', 'exmr'}:
self._batch_has_motion = True
- if stage.startswith('mamma_') or stage in ('flow_batch','exmr_batch','gvhmr_batch'):self._batch_has_motion=True
+ if stage.startswith(('mamma_','prompthmr_')) or stage in ('flow_batch','exmr_batch','gvhmr_batch'):self._batch_has_motion=True
self.current_stage = stage
self._batch_inner_stage=stage
if arguments is None:
@@ -1364,7 +1376,7 @@ class MainWindow(MammaWorkspace,CharacterWorkspace,ModelWorkspace,ProjectSaving,
self.task_state.update(dict(current=0,total=0,phase=f"batch:{event['phase']}:{event['index']}",message='Loading actor data'),time.monotonic())
self.status.setText(self._task_actor+' · '+STAGES.get(event['stage'],event['stage']))
self.update_task_progress()
- elif kind=='mamma_ready':
+ elif kind in ('mamma_ready','prompthmr_ready'):
self.workspace_root=Path(event['root'])
self.load_project(Path(event['project']))
self.set_active_result(event['result'])
diff --git a/mocap/model_guide.py b/mocap/model_guide.py
index 9a283b2..5b50716 100644
--- a/mocap/model_guide.py
+++ b/mocap/model_guide.py
@@ -13,14 +13,17 @@ BENCHMARKS = {
'flowhmr': ('7s<br>1 video', '2m 49s', '14.89', '22.19'),
'exmr': ('7s<br>1 video', '1m 08s', '11.32', '19.31'),
'mamma': ('13.8s<br>3 videos<br>2 people', '11m 52s', '6.47', '9.11'),
+ 'prompthmr': ('14.1s<br>1 video<br>2 people', '3m 56s', '4.61', '8.74'),
}
PROJECT_URLS = {
+ 'prompthmr': 'https://github.com/yufu-wang/PromptHMR',
'mamma': 'https://mamma.is.tue.mpg.de/',
'gvhmr': 'https://github.com/zju3dv/GVHMR',
'flowhmr': 'https://github.com/flowhmr/flowhmr',
'exmr': 'https://github.com/twehrbein/ExMR',
}
DESCRIPTIONS = {
+ 'prompthmr': 'Single-video reconstruction of people together in one inferred scene. Relative placement during interactions was better in some of our two-person tests, but contacts, depth and intersections can still be wrong. Fixed cameras only in this Windows integration. People defaults to 2; 0 detects automatically, up to 8. Find person is not needed. Interaction Prompt defaults on; off follows the official default video path. Body motion uses SMPL-X; animated fingers are not generated. Supports the usual optional foot/hand contact correction, retargeting and FBX export. Requires Setup_PromptHMR.cmd and separate weights. Non-commercial scientific research license. See docs/models/PROMPTHMR.md.',
'mamma': 'Multi-view reconstruction of one or several people from two or more synchronized fixed-camera videos of the same performance. No fixed camera-count maximum; practical capacity depends on available RAM and VRAM. Detects people automatically; Find person is not needed. Uses SAM 2.1 masks, FP32 landmarks and VGGT cameras, or your compatible camera calibration. Body and finger motion, original results and contact-corrected results are preserved. Best suited to views that complement each other; occlusion and bad masks can cause errors. Slower than single-video methods. Requires the separate Setup_MAMMA.cmd runtime and registered restricted-use models. See Model Manager > Runtime Setup and docs/MAMMA.md.',
'gvhmr': 'Lowest overall motion quality in our tests, but sometimes better for unusual poses such as backflips. '
'No native finger tracking. Optional HandFlow adds finger motion; FootMR refines ankles, and HTD refines body motion. These add processing time.',
@@ -55,10 +58,15 @@ tracking, app correction and preview/export.</p>
<p>MAMMA used a different clip: three synchronized videos resized within 1920×1080,
two people and 413 frames at 30 fps. Its time includes preparation, correction and preview;
memory covers masks, landmarks, VGGT and 3D fitting. This is not a direct speed comparison.</p>
-<p>VRAM is peak PyTorch allocated memory, not total GPU usage. Single-video RAM is peak
-private memory; MAMMA RAM is peak worker working set. These historical measurements predate
-the latest Low Memory changes and are not minimum requirements. Results vary by input and PC.</p>
-<p>All four support Motion Correction for foot and hand contacts. Contact correction reduces sliding;
+<p>PromptHMR used 422 frames at 30 fps, one fixed-camera video and two people, with
+Interaction Prompt and app correction on. Time includes tracking, native inference,
+post-optimization, correction and preview/bone preparation; writing public FBX files is excluded.
+Its peak reserved CUDA memory was 7.83 GiB. It used a different clip from the older three-model test.</p>
+<p>VRAM is peak PyTorch allocated memory, not total GPU usage. ExMR/FlowHMR/GVHMR RAM is
+peak private memory; MAMMA/PromptHMR RAM is peak worker working set. The older four-model
+measurements predate the latest Low Memory changes. These are not minimum requirements.
+Results vary by input and PC.</p>
+<p>All supported models offer Motion Correction for foot and hand contacts. Contact correction reduces sliding;
it is separate from tracking fingers or refining ankle angles.</p></body></html>"""
diff --git a/mocap/models.py b/mocap/models.py
index 5c93884..0d41e8d 100644
--- a/mocap/models.py
+++ b/mocap/models.py
@@ -45,7 +45,7 @@ MODELS_LIST = [
download_url="https://huggingface.co/JunkyByte/easy_ViTPose/resolve/main/torch/wholebody/vitpose-h-wholebody.pth",
expected_sha256="dbed01fd5bb221610bf26434ec63426025f76eaca46f6177db71c9771a43316c"),
Model("smplx", "Body Model / SMPL-X Neutral", "body_models/smplx/SMPLX_NEUTRAL.npz", "https://smpl-x.is.tue.mpg.de/", minimum_bytes=1_000_000),
- Model("smpl", "Optional Body Model / SMPL Neutral", "body_models/smpl/SMPL_NEUTRAL.pkl", "https://smpl.is.tue.mpg.de/", minimum_bytes=1_000_000),
+ Model("smpl", "Body Model / SMPL Neutral", "body_models/smpl/SMPL_NEUTRAL.pkl", "https://smpl.is.tue.mpg.de/", minimum_bytes=1_000_000),
]
# Frozen upstream revisions match the separately validated Windows inference.
FLOW_REV = '1eb105e554e0cfc1846ea5feac8c2d516a36d319'
@@ -93,7 +93,10 @@ MODELS_LIST.extend([
])
from .mamma_models import ASSETS as MAMMA_ASSETS, KEYS as MAMMA_KEYS, INSTRUCTIONS as MAMMA_INSTRUCTIONS
MODELS_LIST.extend(Model(**entry) for entry in MAMMA_ASSETS)
+from .prompthmr_models import ASSETS as PHMR_ASSETS,KEYS as PHMR_KEYS,INSTRUCTIONS as PHMR_INSTRUCTIONS
+MODELS_LIST.extend(Model(**entry) for entry in PHMR_ASSETS)
BY_KEY = {model.key: model for model in MODELS_LIST}
+if len(BY_KEY)!=len(MODELS_LIST):raise ValueError('Duplicate model identifiers in the model registry.')
MANUAL_INSTRUCTIONS = {
'mano_right': '1. Open the Recommended download link below, or click Open Download Page. This opens the official download server for the exact archive. Sign in and accept the provider terms; register on the official MANO website if needed.\n2. Download mano_v1_2.zip. If browsing the MANO website instead, this is Models & Code > Models & Code.\n3. Extract the ZIP and open mano_v1_2/models.\n4. Return to Hand Model / MANO Right, click Import and select MANO_RIGHT.pkl. Keep this PKL file intact.\nHandFlow uses a right-hand canonical model for both hands, reflecting the left result back. The separate SMPL-H downloads cannot replace this hand model.',
'smplx': '1. Open the SMPL-X download page below. Register or sign in and accept the provider terms.\n2. In the "SMPL-X Model" section, choose "Download SMPL-X v1.1 (NPZ+PKL, 830 MB)". Choose the standard v1.1 download listed above.\n3. Download models_smplx_v1_1.zip and extract the outer ZIP archive.\n4. Inside the extracted folder, open models, then smplx. Choose SMPLX_NEUTRAL.npz. Leave this NPZ file intact.\n5. Return to the Body Model / SMPL-X Neutral row and click Import. Select that single NPZ file; Missing changes to Ready after validation.',
@@ -107,6 +110,7 @@ MANUAL_INSTRUCTIONS = {
}
MANUAL_INSTRUCTIONS.update(MAMMA_INSTRUCTIONS)
+MANUAL_INSTRUCTIONS.update(PHMR_INSTRUCTIONS)
for _key in ('mano_right','smplh'):
MANUAL_INSTRUCTIONS[_key] += ('\nIf the MANO website shows 502 Bad Gateway, use the Recommended download link below '
@@ -225,6 +229,7 @@ STAGE_REQUIREMENTS = {
'exmr_features': ('flow_sam','flow_sam_config','flow_mhr','hand_hamer','hand_mean','mano_right'),
'exmr': ('exmr','smplx'),
'mamma_assets': MAMMA_KEYS,
+ **{stage:PHMR_KEYS for stage in ('prompthmr_assets','prompthmr_prepare','prompthmr_track','prompthmr_pose','prompthmr_world','prompthmr_publish')},
'mamma_prepare': MAMMA_KEYS,
'mamma_masks': ('mamma_sam2','mamma_yolo','mamma_clip'),
'mamma_landmarks': ('mamma','mamma_vertices'),
@@ -236,7 +241,7 @@ STAGE_REQUIREMENTS = {
def ready(model: Model) -> bool:
valid=model.path.is_file() and model.path.stat().st_size >= model.minimum_bytes
- if valid and (model.key.startswith(('flow','hand','exmr','mamma')) or model.key in ('smplh','mano_right')):
+ if valid and (model.key.startswith(('flow','hand','exmr','mamma','phmr')) or model.key in ('smplh','mano_right')):
import json
try:
receipt=json.loads(model.path.with_suffix(model.path.suffix+'.receipt.json').read_text(encoding='utf-8'))
diff --git a/mocap/motion_tools.py b/mocap/motion_tools.py
index c3704bd..dd9f8a1 100644
--- a/mocap/motion_tools.py
+++ b/mocap/motion_tools.py
@@ -14,7 +14,7 @@ class MotionTool:
def stages(self, refine=False, footmr=False, correction=False, handflow=False):
if self.input_setup_only:
return []
- if self.key == 'mamma':return list(self.reconstruction)
+ if self.key in ('mamma','prompthmr'):return list(self.reconstruction)
if self.key == 'flowhmr':
return [*self.reconstruction, *(('correct',) if correction else ()), 'flow_export']
return [*self.reconstruction, *(self.refinement if refine else ()), *(('footmr',) if footmr and self.key == 'gvhmr' else ()),
@@ -25,7 +25,8 @@ class MotionTool:
MOTION_TOOLS = {"gvhmr": MotionTool("gvhmr", "GVHMR", ("track", "gvhmr"), ("pva", "refine")),
"flowhmr": MotionTool("flowhmr", "FlowHMR", ("track", "flow_camera", "flow_features", "flowhmr")),
"exmr": MotionTool("exmr", "ExMR", ("track", "exmr_preprocess", "exmr_features", "exmr")),
- "mamma": MotionTool("mamma", "MAMMA", ("mamma_prepare","mamma_masks","mamma_landmarks","mamma_camera","mamma_fit","mamma_publish"))}
+ "mamma": MotionTool("mamma", "MAMMA", ("mamma_prepare","mamma_masks","mamma_landmarks","mamma_camera","mamma_fit","mamma_publish")),
+ "prompthmr": MotionTool("prompthmr", "PromptHMR", ("prompthmr_prepare","prompthmr_track","prompthmr_pose","prompthmr_world","prompthmr_publish"))}
class UnsupportedMotionTool(ValueError):
diff --git a/mocap/paths.py b/mocap/paths.py
index acaf9ba..058bd98 100644
--- a/mocap/paths.py
+++ b/mocap/paths.py
@@ -13,6 +13,9 @@ COMPAT = ROOT / "native_compat"
def worker_command(stage: str, *args: str) -> list[str]:
+ if stage.startswith('prompthmr_') and stage not in ('prompthmr_prepare','prompthmr_publish'):
+ from .prompthmr_runtime import command as phmr_command
+ return phmr_command(stage,args)
if stage.startswith('mamma_') and stage not in ('mamma_prepare','mamma_publish'):
from .mamma_runtime import command as mamma_command
return mamma_command(stage,args)
diff --git a/mocap/project_workspace_ui.py b/mocap/project_workspace_ui.py
index 0c4ea79..b222376 100644
--- a/mocap/project_workspace_ui.py
+++ b/mocap/project_workspace_ui.py
@@ -16,6 +16,7 @@ class ModelWorkspace:
def workspace_settings(self):
return dict(result=self.active_result,correction=self.selected_correction_options(),
mamma_options=self.mamma_options(),
+ prompthmr_options=self.prompthmr_options(),
flow_options=self.selected_flow_options(),
exmr_options={'static_camera':self.exmr_camera.currentData(),'smoothing':'global' if self.exmr_smoothing.isChecked() else 'none'})
@@ -37,6 +38,7 @@ class ModelWorkspace:
self.exmr_smoothing.setChecked(exmr.get('smoothing','global')=='global')
self.active_result=self.selected_result()
self.restore_mamma_options(settings.get('mamma_options',{}))
+ self.restore_prompthmr_options(settings.get('prompthmr_options',{}))
def workspace_view(self):
fps=self.info['fps'] if self.info else 30.
@@ -52,7 +54,7 @@ class ModelWorkspace:
state=manifest(self.project)
state.setdefault('pipeline',{})['result']=self.active_result
settings=self.workspace_settings()
- for key in ('correction','flow_options','exmr_options'):state[key]=settings[key]
+ for key in ('correction','flow_options','exmr_options','prompthmr_options'):state[key]=settings[key]
atomic_json(self.project/'project.json',state)
saved=workspace.set_active(root,state['pipeline']['model'],self.project,self.workspace_view())
model=state['pipeline']['model']
diff --git a/mocap/prompthmr_manager.py b/mocap/prompthmr_manager.py
new file mode 100644
index 0000000..929626f
--- /dev/null
+++ b/mocap/prompthmr_manager.py
@@ -0,0 +1,29 @@
+"""PromptHMR optional-runtime readiness and concise installation guidance."""
+from PySide6.QtWidgets import QWidget,QHBoxLayout,QLabel,QPushButton,QDialog,QVBoxLayout,QTextBrowser,QApplication
+from .paths import ROOT
+import json
+
+
+def runtime_panel(parent):
+ panel=QWidget();layout=QHBoxLayout(panel);layout.setContentsMargins(0,0,0,0);label=QLabel();label.setWordWrap(True)
+ try:
+ from .prompthmr_runtime import configuration
+ cfg=configuration();label.setText('PromptHMR runtime: Ready');label.setToolTip('Isolated Python: '+cfg['python'])
+ except (OSError,ValueError,RuntimeError) as error:
+ label.setText('PromptHMR runtime: Setup required');label.setToolTip(str(error));label.setStyleSheet('color:#ffb45c')
+ button=QPushButton('Runtime Setup...');button.setToolTip('Show separate runtime setup, disk space and license requirements. Weights are prepared below.')
+ button.clicked.connect(lambda:setup_instructions(parent));layout.addWidget(label,1);layout.addWidget(button);return panel
+
+
+def setup_instructions(parent):
+ dialog=QDialog(parent);dialog.setWindowTitle('PromptHMR Runtime Setup');dialog.resize(720,530);layout=QVBoxLayout(dialog)
+ browser=QTextBrowser();browser.setOpenExternalLinks(True);browser.document().setDefaultStyleSheet('a { color:#8ed2ff; text-decoration:underline; }')
+ size='approximately 6–8 GiB'
+ try:
+ report=json.loads((ROOT/'.setup/prompthmr-install-report.json').read_text(encoding='utf8'));size=f"{report['installed_bytes']/2**30:.2f} GiB on this PC"
+ except (OSError,ValueError,KeyError):pass
+ browser.setHtml(f'''<h3>PromptHMR separate Windows runtime</h3><p>Installed runtime: <b>{size}</b>, excluding weights and compiler tools. Allow about <b>18 GiB free</b> during installation. Other model environments stay unchanged.</p>
+<ol><li>Run install.cmd for the base app.</li><li>Install <a href="https://visualstudio.microsoft.com/downloads/">Visual Studio 2022 Build Tools</a> with Desktop development with C++ and Windows SDK, and <a href="https://developer.nvidia.com/cuda-12-8-0-download-archive">CUDA Toolkit 12.8</a>.</li><li>Close RGB MoCap and run <b>Setup_PromptHMR.cmd</b>. Review the official license prompt. Setup downloads pinned sources/packages, builds SAM2 for this GPU and verifies CUDA operations.</li><li>Reopen the app. Use Model Manager to download or import every required file. Existing standard SMPL-X Neutral and SMPL Neutral body files are reused; MAMMA's locked-head body is different.</li></ol>
+<p><a href="https://github.com/yufu-wang/PromptHMR/blob/main/LICENSE">PromptHMR is restricted to non-commercial scientific research</a>. Its source, weights and registered body data are not redistributed by RGB MoCap. Other components keep their own licenses.</p><p>Python 3.11 / Torch 2.7.1 CUDA 12.8 / timm 0.9.0. Torch's version overlaps with other profiles, but Python ABI and package versions differ. Installed packages remain isolated; verified identical download archives can be reused. MAMMA/SDF is not required.</p><p>Current support: one fixed-camera video, automatic tracking of up to eight people, shared world placement, optional interaction prompt, correction and FBX. No moving-camera or animated finger inference. Details: docs/models/PROMPTHMR.md. Logs: .setup/logs/prompthmr-*.log.</p>''')
+ layout.addWidget(browser);buttons=QHBoxLayout();copy=QPushButton('Copy Setup Command');copy.clicked.connect(lambda:QApplication.clipboard().setText('cd /d "'+str(ROOT)+'"\r\nSetup_PromptHMR.cmd'));close=QPushButton('Close');close.clicked.connect(dialog.accept)
+ buttons.addWidget(copy);buttons.addStretch();buttons.addWidget(close);layout.addLayout(buttons);dialog.exec();dialog.deleteLater()
diff --git a/mocap/prompthmr_models.py b/mocap/prompthmr_models.py
new file mode 100644
index 0000000..10cfb67
--- /dev/null
+++ b/mocap/prompthmr_models.py
@@ -0,0 +1,101 @@
+"""Pinned PromptHMR files; existing licensed body assets are shared."""
+ASSETS = ({'key': 'phmr_checkpoint',
+ 'name': 'Image Motion / PromptHMR',
+ 'relative': 'prompthmr/pretrain/phmr/checkpoint.ckpt',
+ 'url': 'https://github.com/yufu-wang/PromptHMR',
+ 'drive_id': '1uQwMCkkqtyQIwuBeWwE83XcOlISKbTHB',
+ 'minimum_bytes': 2298622395,
+ 'expected_sha256': 'a3ef04ef8a12c3068682b03c62c95f8959cd8554424e105c63bf97f6c8e97e99'},
+ {'key': 'phmr_config',
+ 'name': 'PromptHMR Image Configuration',
+ 'relative': 'prompthmr/pretrain/phmr/config.yaml',
+ 'url': 'https://github.com/yufu-wang/PromptHMR',
+ 'drive_id': '1P3EEmBDeRRORhBkUhwPZclZxd7U3Z-yo',
+ 'minimum_bytes': 346,
+ 'expected_sha256': '31142aaac12a7ef60adba77c85addffad1ea466a6555717b24c3fbed079a2447'},
+ {'key': 'phmr_video',
+ 'name': 'Video Motion / PromptHMR',
+ 'relative': 'prompthmr/pretrain/phmr_vid/prhmr_release_002.ckpt',
+ 'url': 'https://github.com/yufu-wang/PromptHMR',
+ 'drive_id': '1ArARc4hMpxSSZc0r6JIpXPFkzR6c8uEB',
+ 'minimum_bytes': 165618162,
+ 'expected_sha256': 'e40f6318073becc10238f2fdaed7b2523d0b90e45d4f1ffe078e8fcc8d765785'},
+ {'key': 'phmr_video_config',
+ 'name': 'PromptHMR Video Configuration',
+ 'relative': 'prompthmr/pretrain/phmr_vid/prhmr_release_002.yaml',
+ 'url': 'https://github.com/yufu-wang/PromptHMR',
+ 'drive_id': '1t282bZ_VmTSmB4GnivJRyVhLIsvhyscx',
+ 'minimum_bytes': 1854,
+ 'expected_sha256': '58cd9c28907e31cd1757c9282e5b75ceb00a6ac54facadee03dae5a4a0725fd9'},
+ {'key': 'phmr_keypoint_rcnn_5ad38f',
+ 'name': 'PromptHMR / keypoint_rcnn_5ad38f.pkl',
+ 'relative': 'prompthmr/pretrain/keypoint_rcnn_5ad38f.pkl',
+ 'url': 'https://github.com/yufu-wang/PromptHMR',
+ 'drive_id': '1KyOwvTE51wel2t-eKnBKdUGju_jHaMpN',
+ 'minimum_bytes': 490574901,
+ 'expected_sha256': 'e6118384ba2858dfabae1239f8036d13a46a37bc72d4647f598bd7241ba0840d'},
+ {'key': 'phmr_sam2_hiera_tiny',
+ 'name': 'PromptHMR / sam2_hiera_tiny.pt',
+ 'relative': 'prompthmr/pretrain/sam2_hiera_tiny.pt',
+ 'url': 'https://github.com/yufu-wang/PromptHMR',
+ 'drive_id': '1WndLgBhxrB3JIo9Zp2hZqqEUEedJ8VSe',
+ 'minimum_bytes': 155906050,
+ 'expected_sha256': '65b50056e05bcb13694174f51bb6da89c894b57b75ccdf0ba6352c597c5d1125'},
+ {'key': 'phmr_J_regressor_h36m',
+ 'name': 'PromptHMR / J_regressor_h36m.npy',
+ 'relative': 'prompthmr/body_models/J_regressor_h36m.npy',
+ 'url': 'https://github.com/yufu-wang/PromptHMR',
+ 'drive_id': '1gfJohwV63O9cvCo9oHWtQgilEqoBBsg1',
+ 'minimum_bytes': 937168,
+ 'expected_sha256': 'c655cd7013d7829eb9acbebf0e43f952a3fa0305a53c35880e39192bfb6444a0'},
+ {'key': 'phmr_smpl_mean_params',
+ 'name': 'PromptHMR / smpl_mean_params.npz',
+ 'relative': 'prompthmr/body_models/smpl_mean_params.npz',
+ 'url': 'https://github.com/yufu-wang/PromptHMR',
+ 'drive_id': '1O1--UkEFxCH8IwsYecdFuhjSVH0LlA7x',
+ 'minimum_bytes': 1310,
+ 'expected_sha256': '6fd6dd687800da946d0a0492383f973b92ec20f166a0b829775882868c35fcdd'},
+ {'key': 'phmr_smplx2smpl_joints',
+ 'name': 'PromptHMR / smplx2smpl_joints.npy',
+ 'relative': 'prompthmr/body_models/smplx2smpl_joints.npy',
+ 'url': 'https://github.com/yufu-wang/PromptHMR',
+ 'drive_id': '14wB62zX-OMF98xQegYsKEEi84W8gA9D0',
+ 'minimum_bytes': 1382828,
+ 'expected_sha256': '49864006d20c5205d7b30697db01744f3a56faf787c1cea748b25895e4b16ab2'},
+ {'key': 'phmr_smplx2smpl',
+ 'name': 'PromptHMR / smplx2smpl.pkl',
+ 'relative': 'prompthmr/body_models/smplx2smpl.pkl',
+ 'url': 'https://github.com/yufu-wang/PromptHMR',
+ 'drive_id': '1B9LtDH_mMWJZn5P2QnG_3PeQtHSIKOPg',
+ 'minimum_bytes': 578019251,
+ 'expected_sha256': 'c1d912d121ad98132e4492d8e7a0f1a8cf4412811e14a7ef8cb337bb48eef99e'},
+ {'key': 'phmr_camcalib_sa_biased_l2',
+ 'name': 'PromptHMR / camcalib_sa_biased_l2.ckpt',
+ 'relative': 'prompthmr/pretrain/camcalib_sa_biased_l2.ckpt',
+ 'url': 'https://github.com/yufu-wang/PromptHMR',
+ 'drive_id': '1t4tO0OM5s8XDvAzPW-5HaOkQuV3dHBdO',
+ 'minimum_bytes': 301310109,
+ 'expected_sha256': 'e4480cdd546ff8322978ef76e93c7a70a7d5e82c1390cbdd7a95473ac4595b48'},
+ {'key': 'phmr_vitpose_h_coco_25',
+ 'name': 'PromptHMR / vitpose-h-coco_25.pth',
+ 'relative': 'prompthmr/pretrain/vitpose-h-coco_25.pth',
+ 'url': 'https://github.com/yufu-wang/PromptHMR',
+ 'drive_id': '1ZprPoNXe_f9a9flr0RhS3XCJBfqhFSeE',
+ 'minimum_bytes': 2549009242,
+ 'expected_sha256': '72dbd9d9a7b708dfc3acb004ae3c44145cc94378a0693d64e6c86ba57c3afb2f'})
+LINKS = {'phmr_checkpoint': 'data/pretrain/phmr/checkpoint.ckpt',
+ 'phmr_config': 'data/pretrain/phmr/config.yaml',
+ 'phmr_keypoint_rcnn_5ad38f': 'data/pretrain/sam2_ckpts/keypoint_rcnn_5ad38f.pkl',
+ 'phmr_sam2_hiera_tiny': 'data/pretrain/sam2_ckpts/sam2_hiera_tiny.pt',
+ 'phmr_J_regressor_h36m': 'data/body_models/J_regressor_h36m.npy',
+ 'phmr_smpl_mean_params': 'data/body_models/smpl_mean_params.npz',
+ 'phmr_smplx2smpl_joints': 'data/body_models/smplx2smpl_joints.npy',
+ 'phmr_smplx2smpl': 'data/body_models/smplx2smpl.pkl',
+ 'phmr_camcalib_sa_biased_l2': 'data/pretrain/camcalib_sa_biased_l2.ckpt',
+ 'phmr_vitpose_h_coco_25': 'data/pretrain/vitpose-h-coco_25.pth',
+ 'smplx': 'data/body_models/smplx/SMPLX_NEUTRAL.npz',
+ 'smpl': 'data/body_models/smpl/SMPL_NEUTRAL.pkl',
+ 'phmr_video': 'data/pretrain/phmr_vid/prhmr_release_002.ckpt',
+ 'phmr_video_config': 'data/pretrain/phmr_vid/prhmr_release_002.yaml'}
+KEYS = tuple(LINKS)
+INSTRUCTIONS = {a["key"]: "Review the official PromptHMR non-commercial license. Download the exact file from the official source, then Import it into this row. Google Drive may require a manual browser download." for a in ASSETS}
diff --git a/mocap/prompthmr_pipeline.py b/mocap/prompthmr_pipeline.py
new file mode 100644
index 0000000..9610346
--- /dev/null
+++ b/mocap/prompthmr_pipeline.py
@@ -0,0 +1,198 @@
+"""Atomic, cancellable fixed-camera PromptHMR pipeline for one video scene."""
+from pathlib import Path
+import argparse,gc,hashlib,json,math,os,subprocess,sys,time,uuid
+from .storage import atomic_json,sha256
+from .result_artifacts import file_stat
+
+STAGES=('prompthmr_prepare','prompthmr_track','prompthmr_pose','prompthmr_world','prompthmr_publish')
+
+
+def emit(kind,**data):
+ print('@@MOCAP@@'+json.dumps(dict(type=kind,**data),ensure_ascii=False),flush=True)
+
+
+def options(value):
+ count=value.get('people',2)
+ if isinstance(count,bool) or not isinstance(count,int) or not 0<=count<=8:raise ValueError('PromptHMR People must be 0 (automatic) or 1–8.')
+ interaction=value.get('interaction',True)
+ if not isinstance(interaction,bool):raise ValueError('Invalid PromptHMR interaction option.')
+ return dict(people=count,interaction=interaction)
+
+
+def request(path):
+ path=Path(path)
+ if path.stat().st_size>2*1024**2:raise ValueError('PromptHMR request is too large.')
+ job=json.loads(path.read_text(encoding='utf8'))
+ if job.get('version')!=1:raise ValueError('Unsupported PromptHMR request.')
+ if not all(math.isfinite(float(job[k])) for k in ('start','end')) or not 0<=job['start']<job['end']:
+ raise ValueError('Invalid PromptHMR trim range.')
+ source=Path(job['video']).resolve()
+ if not source.is_file() or source.suffix.lower() not in ('.mp4','.mov','.avi','.mkv','.webm','.m4v'):raise ValueError('Open a supported video file first.')
+ job['root']=Path(job['root']).resolve();job['video']=str(source);job['options']=options(job.get('options',{}))
+ from .correction_settings import correction_options
+ correction_options(job['correction'])
+ if not isinstance(job.get('correction_enabled'),bool):raise ValueError('Invalid correction selection.')
+ return job
+
+
+def work_for(job):
+ work=(job['root']/job.get('work','')).resolve()
+ if not job.get('work') or not work.is_relative_to(job['root']/'prompthmr/inference'):raise ValueError('Invalid PromptHMR generation path.')
+ return work
+
+
+def validate_inputs(job):
+ from .models import BY_KEY
+ if file_stat(job['video'])!=job['identity']['input']['stat']:raise ValueError('The video changed during processing. Previous results were preserved.')
+ for key,stamp in job['identity']['models'].items():
+ if file_stat(BY_KEY[key].path)!=stamp:raise ValueError('A PromptHMR model changed during processing. Previous results were preserved.')
+
+
+def prepare(path,job):
+ from .prompthmr_runtime import configuration
+ from .prompthmr_models import KEYS
+ from .models import BY_KEY,missing
+ from .video import probe,executable
+ from .project_workspace import create
+ from .paths import ROOT
+ cfg=configuration()
+ if missing('prompthmr_assets'):raise ValueError('Prepare the missing PromptHMR files in Model Manager first.')
+ info=probe(Path(job['video']));n=round((job['end']-job['start'])*30)
+ if job['end']>info['duration']+1e-3 or not 4<=n<=1800:
+ raise ValueError('Use a trim of 4–1,800 frames (at 30 fps) within the source video. No frames were dropped.')
+ identity=dict(version=1,input=dict(path=job['video'],stat=file_stat(job['video'])),start=job['start'],frames=n,
+ options=job['options'],models={k:file_stat(BY_KEY[k].path) for k in KEYS},runtime=cfg['managed_id'],engine=cfg['engine_files'],
+ code={'prompthmr_pipeline.py':sha256(ROOT/'mocap/prompthmr_pipeline.py')})
+ token=hashlib.sha256(json.dumps(identity,sort_keys=True).encode()).hexdigest()[:24]
+ work=job['root']/'prompthmr/inference'/token;cached=False
+ try:
+ receipt=json.loads((work/'complete.json').read_text(encoding='utf8'))
+ cached=receipt['identity']==identity and all(file_stat(work/k)==v for k,v in receipt['outputs'].items())
+ except (OSError,ValueError,KeyError,TypeError):pass
+ if work.exists() and not cached:work=work.with_name(token+'-'+uuid.uuid4().hex[:12])
+ create(job['root'],Path(job['video']),info,'prompthmr')
+ work.mkdir(parents=True,exist_ok=True)
+ job.update(work=work.relative_to(job['root']).as_posix(),frames=n,identity=identity,cached=cached,source=info)
+ atomic_json(path,{**job,'root':str(job['root'])})
+ if cached:
+ emit('progress',current=1,total=1,message='Reusing verified PromptHMR inference.');return
+ atomic_json(work/'pending.json',identity)
+ vf=f"trim=start={job['start']:.9f}:end={job['end']:.9f},setpts=PTS-STARTPTS,fps=30,scale=trunc(iw/2)*2:trunc(ih/2)*2"
+ subprocess.run([executable('ffmpeg'),'-v','error','-i',job['video'],'-an','-vf',vf,'-frames:v',str(n),'-fps_mode','cfr',
+ '-c:v','libx264','-preset','fast','-crf','18','-pix_fmt','yuv420p','-threads','2',str(work/'input.mp4')],check=True,creationflags=0x08000000)
+ result=probe(work/'input.mp4')
+ if result['frames']!=n or abs(result['fps']-30)>.001:raise ValueError('Working video frame count does not match the selected trim.')
+ atomic_json(work/'media.json',result)
+
+
+def link_assets(engine):
+ from .models import BY_KEY,ready
+ from .prompthmr_models import LINKS
+ import shutil
+ for key,name in LINKS.items():
+ model=BY_KEY[key]
+ if not ready(model):raise ValueError('Missing or unverified model: '+model.name)
+ p=engine/name;p.parent.mkdir(parents=True,exist_ok=True)
+ if p.is_file() and p.samefile(model.path):continue
+ if p.exists():p.unlink()
+ try:os.link(model.path,p)
+ except OSError:
+ # An alternate model drive may disallow hard links. Explicit local
+ # model copies are bounded to this profile, never automatic downloads.
+ print('PromptHMR: cross-drive model copy required for '+model.path.name,flush=True)
+ shutil.copy2(model.path,p)
+
+
+def save_result(value,target):
+ import joblib
+ tmp=target.with_name(target.name+'.'+uuid.uuid4().hex+'.tmp')
+ try:joblib.dump(value,tmp,compress=0);os.replace(tmp,target)
+ finally:tmp.unlink(missing_ok=True)
+
+
+def numpyify(value):
+ import torch
+ if isinstance(value,dict):return {k:numpyify(v) for k,v in value.items()}
+ if isinstance(value,torch.Tensor):return value.detach().cpu().numpy()
+ return value
+
+
+def inference(stage,job,engine):
+ import torch,joblib,numpy as np
+ from .compute_policy import gpu_memory_fraction
+ from .memory_mode import announce,requested_mode
+ from .progress_events import tqdm_events
+ work=work_for(job);link_assets(engine)
+ torch.set_num_threads(4);torch.manual_seed(0)
+ free,total=torch.cuda.mem_get_info();torch.cuda.set_per_process_memory_fraction(gpu_memory_fraction(free,total))
+ announce(stage,requested_mode(),'PromptHMR keeps the validated one-image batch and full temporal context in both modes. Additional block offloading is not implemented; actual RAM/VRAM guards remain active.',emit)
+ os.chdir(engine);sys.path.insert(0,str(engine))
+ os.environ.update(TORCH_HOME=str(work/'torch-cache'),HF_HOME=str(work/'hf-cache'),MPLCONFIGDIR=str(work/'mpl-cache'),YOLO_CONFIG_DIR=str(work/'yolo-cache'))
+ from pipeline import Pipeline
+ pipe=Pipeline(static_cam=True);pipe.cfg.num_max_people=job['options']['people'] or 8
+ pipe.images,pipe.seq_folder=pipe.load_frames(str(work/'input.mp4'),str(work/'frames'))
+ if len(pipe.images)!=job['frames']:raise ValueError('PromptHMR decoded a different frame count.')
+ pipe.cfg.seq_folder=pipe.seq_folder
+ pipe.results=dict(camera={},people={},timings={},masks=None,has_tracks=False,has_hps_cam=False,has_hps_world=False,has_slam=False,has_2d_kpts=False,has_post_opt=False)
+ previous={'prompthmr_pose':'tracking.pkl','prompthmr_world':'camera-motion.pkl'}
+ if stage in previous:pipe.results=joblib.load(work/previous[stage])
+ with tqdm_events(emit):
+ if stage=='prompthmr_track':
+ pipe.run_detect_track()
+ if not pipe.results['people']:raise ValueError('No people were found. Use a trim with the intended people visible near the beginning.')
+ save_result(pipe.results,work/'tracking.pkl')
+ elif stage=='prompthmr_pose':
+ from pipeline.spec import run_cam_calib
+ emit('progress',current=0,total=0,message='Estimate fixed-camera intrinsics and gravity')
+ pipe.results['spec_calib']=run_cam_calib(pipe.images,out_folder=str(work/'spec'),save_res=True,stride=max(1,len(pipe.images)//30),method='spec',first_frame_idx=0)
+ pipe.camera_motion_estimation();pipe.estimate_2d_keypoints()
+ from pipeline.phmr_vid import PromptHMRVideoDataset
+ original=PromptHMRVideoDataset.__getitem__
+ def item(dataset,index):
+ batch=original(dataset,index);batch['interaction']=job['options']['interaction'];return batch
+ PromptHMRVideoDataset.__getitem__=item
+ emit('progress',current=0,total=0,message='PromptHMR image and full-context video motion')
+ try:pipe.hps_estimation()
+ finally:PromptHMRVideoDataset.__getitem__=original
+ save_result(numpyify(pipe.results),work/'camera-motion.pkl')
+ elif stage=='prompthmr_world':
+ emit('progress',current=0,total=0,message='Shared world placement and native post-optimization')
+ pipe.world_hps_estimation();pipe.results=numpyify(pipe.results);save_result(pipe.results,work/'world-before-postopt.pkl')
+ pipe.post_optimization()
+ result=numpyify(pipe.results)
+ # Masks/features are upstream intermediates, not UI playback data.
+ for person in result['people'].values():
+ for key in ('masks','prhmr_img_feats'):person.pop(key,None)
+ save_result(result,work/'results.pkl')
+ validate_inputs(job)
+ atomic_json(work/'complete.json',dict(identity=job['identity'],outputs={name:file_stat(work/name) for name in ('results.pkl','input.mp4','media.json')}))
+ (work/'pending.json').unlink(missing_ok=True)
+ else:raise ValueError('Unknown PromptHMR inference stage.')
+ del pipe;gc.collect();torch.cuda.empty_cache()
+
+
+def _run(argv=None,engine=None):
+ parser=argparse.ArgumentParser();parser.add_argument('stage',choices=STAGES);parser.add_argument('--request',type=Path,required=True)
+ args=parser.parse_args(argv);started=time.monotonic();job=request(args.request)
+ if args.stage=='prompthmr_prepare':prepare(args.request,job)
+ else:
+ validate_inputs(job)
+ if args.stage=='prompthmr_publish':
+ from .prompthmr_publish import publish
+ publish(job,emit)
+ elif not job.get('cached'):inference(args.stage,job,engine)
+ else:emit('progress',current=1,total=1,message='Verified PromptHMR inference cache')
+ emit('complete',stage=args.stage,cached=job.get('cached',False),elapsed=time.monotonic()-started)
+ return 0
+
+
+def main(argv=None,engine=None):
+ try:return _run(argv,engine)
+ except Exception as error:
+ import traceback
+ traceback.print_exc()
+ message=str(error)
+ if isinstance(error,MemoryError) or 'out of memory' in message.lower():
+ message='PromptHMR ran out of memory and stopped. Shorten the trim, reduce People or close other GPU applications. Both resource modes retain one-image batches; additional PromptHMR offloading is not implemented.'
+ emit('failed',message=message)
+ return 1
diff --git a/mocap/prompthmr_publish.py b/mocap/prompthmr_publish.py
new file mode 100644
index 0000000..c4e48e6
--- /dev/null
+++ b/mocap/prompthmr_publish.py
@@ -0,0 +1,125 @@
+"""Publish PromptHMR's joint scene without independent actor placement/refitting."""
+from pathlib import Path
+import json,os,uuid
+import numpy as np
+from .storage import atomic_json,sha256
+from .result_artifacts import file_stat
+
+
+def convert(params,body,indices):
+ """Convert flat-mean upstream hands to the app's native SMPL-X convention."""
+ import torch
+ pose=np.asarray(params['pose'],dtype=np.float32)[indices]
+ betas=np.asarray(params['shape'],dtype=np.float32)
+ if betas.shape[0]==1:betas=np.repeat(betas,len(params['pose']),axis=0)
+ trans=np.asarray(params['trans'],dtype=np.float32)[indices]
+ if pose.shape!=(len(indices),165) or betas.shape[1]!=10 or trans.shape!=(len(indices),3):raise ValueError('Unsupported PromptHMR body dimensions.')
+ result=dict(global_orient=torch.from_numpy(pose[:,:3].copy()),body_pose=torch.from_numpy(pose[:,3:66].copy()),
+ left_hand_pose=torch.from_numpy(pose[:,75:120].copy())-body.left_hand_mean.detach().cpu(),
+ right_hand_pose=torch.from_numpy(pose[:,120:165].copy())-body.right_hand_mean.detach().cpu(),
+ betas=torch.from_numpy(betas[indices].copy()),transl=torch.from_numpy(trans.copy()))
+ if not all(torch.isfinite(v).all() for v in result.values()):raise ValueError('Non-finite PromptHMR pose.')
+ return result
+
+
+def publish(job,emit):
+ import torch,joblib,smplx,subprocess
+ from scipy.spatial.transform import Rotation
+ from .prompthmr_pipeline import work_for,validate_inputs
+ from .models import BY_KEY
+ from .people_store import visible_runs,person_color,media_receipt
+ from .scene_camera import VERSION,camera_sources
+ from .engines import save_tensor
+ from .mamma_publish import media_link
+ from .video import executable
+ from .project_workspace import set_active,read
+ torch.set_num_threads(4);work=work_for(job);root=job['root'];n=job['frames']
+ done=json.loads((work/'complete.json').read_text(encoding='utf8'))
+ if done['identity']!=job['identity'] or any(file_stat(work/name)!=stamp for name,stamp in done['outputs'].items()):
+ raise ValueError('PromptHMR inference generation is incomplete or changed. Reconstruct again; previous work is preserved.')
+ group=root/'prompthmr/results'/work.name;group.mkdir(parents=True,exist_ok=True)
+ atomic_json(group/'prompthmr_pending.json',dict(work=work.name))
+ record=joblib.load(work/'results.pkl');media=json.loads((work/'media.json').read_text(encoding='utf8'))
+ if not 1<=len(record['people'])<=8:raise ValueError('PromptHMR returned an unsupported actor count.')
+ selected='corrected_initial' if job['correction_enabled'] else 'initial'
+ common=dict(version=1,source=job['source'],start=job['start'],end=job['start']+n/30,fps=30,frames=n,
+ width=media['width'],height=media['height'],camera='static',stages={},timeline=dict(start=job['start'],step=1/30,frames=n),
+ pipeline=dict(model='prompthmr',result=selected),correction=job['correction'],prompthmr_options=job['options'],
+ workspace_root=os.path.relpath(root,group))
+ atomic_json(group/'project.json',common);media_link(work/'input.mp4',group/'input.mp4')
+ prior={}
+ try:prior={p['id']:p for p in json.loads((group/'people.json').read_text(encoding='utf8'))['people']}
+ except (OSError,ValueError,KeyError):pass
+ body=smplx.SMPLX(str(BY_KEY['smplx'].path),use_pca=False,flat_hand_mean=False).eval()
+ camera=record['camera_world'];transform=np.eye(4);transform[:3,:3]=np.asarray(camera['Rcw'])[0];transform[:3,3]=np.asarray(camera['Tcw'])[0]
+ from .scene_camera import validate_transform
+ validate_transform(transform)
+ # Upstream uses an 896-pixel-tall image. K is scaled back to the actual
+ # working video dimensions; world distances are never scaled per actor.
+ tracks=list(record['people'].items());height=896 if media['height']>896 else media['height']
+ model_width=int(media['width']*(height/media['height']));model_width-=model_width%2
+ center=np.asarray(camera['img_center']);focal=float(camera['img_focal'])
+ sx=media['width']/model_width;sy=media['height']/height
+ K=np.array([[focal*sx,0,center[0]*sx],[0,focal*sy,center[1]*sy],[0,0,1.]])
+ people=[];projects=[]
+ for number,(track_id,person) in enumerate(tracks,1):
+ frames=np.asarray(person['frames'],dtype=np.int64);observed=np.asarray(person.get('detected',np.ones(len(frames))),dtype=bool)
+ if frames.shape!=(len(person['smplx_world']['pose']),) or observed.shape!=frames.shape or np.any(np.diff(frames)<=0) or (frames<0).any() or (frames>=n).any():
+ raise ValueError('Invalid PromptHMR actor frame mapping.')
+ runs=visible_runs(frames[observed],30,0,n)
+ row=dict(id=number,name=prior.get(number,{}).get('name',f'Person {number}'),color=prior.get(number,{}).get('color',person_color(number)),
+ checked=prior.get(number,{}).get('checked',True),observations=int(observed.sum()),first=int(frames[0]),last=int(frames[-1]),takes=[])
+ for take,(first,end) in enumerate(runs):
+ positions=np.searchsorted(frames,np.arange(first,end))
+ if (positions>=len(frames)).any() or not np.array_equal(frames[positions],np.arange(first,end)):
+ # Do not fill an unobserved discontinuity with another actor.
+ raise ValueError('PromptHMR returned a non-contiguous track. Use a shorter trim around this take.')
+ project=group/'actors'/f'person_{number:04}'/f'take_{take:03}';project.mkdir(parents=True,exist_ok=True)
+ state=dict(common,frames=end-first,start=job['start']+first/30,end=job['start']+end/30,
+ timeline=dict(start=job['start']+first/30,step=1/30,frames=end-first),people_root=os.path.relpath(group,project),
+ person_id=number,person_frames=[first,end],workspace_root=os.path.relpath(root,project))
+ native=dict(raw=file_stat(work/'results.pkl'),range=[first,end],track_id=str(track_id),body=file_stat(BY_KEY['smplx'].path),adapter=sha256(Path(__file__)))
+ receipt=project/'prompthmr_source.json';reuse=False
+ try:
+ old=json.loads(receipt.read_text(encoding='utf8'));reuse=old['native']==native and old['output']==file_stat(project/'hmr4d_results.pt')
+ except (OSError,ValueError,KeyError):pass
+ atomic_json(project/'project.json',state)
+ if not reuse:
+ params=convert(person['smplx_world'],body,positions);incam={k:v.clone() for k,v in params.items()}
+ pelvis=body.J_regressor.numpy()[0]@body.v_template.numpy()+np.einsum('v,vci,bi->bc',body.J_regressor.numpy()[0],body.shapedirs.numpy(),params['betas'].numpy())
+ r=transform[:3,:3];t=transform[:3,3]
+ incam['global_orient']=torch.from_numpy(Rotation.from_matrix([email protected]_rotvec(params['global_orient'].numpy()).as_matrix()).as_rotvec().astype('float32'))
+ incam['transl']=torch.from_numpy(((params['transl'].numpy()+pelvis)@r.T+t-pelvis).astype('float32'))
+ logits=np.asarray(person['smplx_cam']['static_conf_logits'],dtype=np.float32)
+ if logits.shape!=(len(frames),6) or not np.isfinite(logits).all():raise ValueError('Missing or invalid native PromptHMR contact confidence.')
+ save_tensor(dict(smpl_params_global=params,smpl_params_incam=incam,
+ net_outputs=dict(static_conf_logits=torch.from_numpy(logits[positions].copy())[None]),source_model='prompthmr'),project/'hmr4d_results.pt')
+ atomic_json(receipt,dict(version=1,native=native,output=file_stat(project/'hmr4d_results.pt')))
+ if not (project/'input.mp4').exists():
+ if first==0 and end==n:media_link(group/'input.mp4',project/'input.mp4')
+ else:
+ subprocess.run([executable('ffmpeg'),'-v','error','-i',str(group/'input.mp4'),'-vf',f'trim=start_frame={first}:end_frame={end},setpts=PTS-STARTPTS',
+ '-an','-c:v','libx264','-crf','18','-preset','fast','-threads','2',str(project/'input.mp4')],check=True,creationflags=0x08000000)
+ atomic_json(project/'scene_camera.json',dict(version=VERSION,sources=camera_sources(project),model=file_stat(BY_KEY['smplx'].path),
+ world_to_camera=transform.tolist(),K=K.tolist(),htd_compatible=False,source_model='prompthmr',method='Native shared PromptHMR world; fixed camera; no independent actor alignment'))
+ row['takes'].append(dict(first=first,end=end,project=project.relative_to(group).as_posix()));projects.append(project)
+ if row['takes']:row['preview']=row['takes'][0]['project'];people.append(row)
+ emit('progress',current=number,total=len(tracks),message=f'Prepare PromptHMR source actor {number}')
+ if not projects:raise ValueError('No sufficiently observed PromptHMR actor takes could be published.')
+ atomic_json(group/'people.json',dict(version=1,input=media_receipt(group),people=people,active=people[0]['id']))
+ from .prompthmr_scene import prepare_cameras
+ prepare_cameras(group)
+ from .scene_floor import save_config,resolve
+ save_config(group,job['correction']);resolve(group)
+ from .export import export_project
+ from .correction import run as correct
+ for index,project in enumerate(projects):
+ emit('progress',current=index,total=len(projects),message=f'Prepare PromptHMR contacts and export bones {index+1}/{len(projects)}')
+ export_project(project,'initial')
+ if job['correction_enabled']:correct(project,emit,selected);export_project(project,selected)
+ validate_inputs(job)
+ (group/'prompthmr_pending.json').unlink(missing_ok=True)
+ set_active(root,'prompthmr',projects[0]);state=read(root)
+ state['models']['prompthmr']['settings']=dict(result=selected,correction=job['correction'],prompthmr_options=job['options'])
+ atomic_json(root/'project.json',state)
+ emit('prompthmr_ready',project=str(projects[0]),group=str(group),root=str(root),result=selected)
diff --git a/mocap/prompthmr_runtime.py b/mocap/prompthmr_runtime.py
new file mode 100644
index 0000000..9f19bc0
--- /dev/null
+++ b/mocap/prompthmr_runtime.py
@@ -0,0 +1,62 @@
+"""Optional pinned PromptHMR runtime; no implicit package or model downloads."""
+from pathlib import Path
+import json,sys,subprocess
+from .paths import ROOT
+from .storage import atomic_json,sha256
+
+PACKAGES={'torch':'2.7.1+cu128','torchvision':'0.22.1+cu128','numpy':'1.26.4','timm':'0.9.0','smplx':'0.1.28'}
+
+
+def snapshot(engine):
+ engine=Path(engine).resolve();files={}
+ for base in ('pipeline','prompt_hmr'):
+ for p in (engine/base).rglob('*'):
+ if p.suffix.lower() not in ('.py','.yaml','.yml','.json','.txt'):continue
+ if '__pycache__' in p.parts:continue
+ if not p.resolve().is_relative_to(engine):raise ValueError('PromptHMR engine path leaves its installation.')
+ files[p.relative_to(engine).as_posix()]=sha256(p)
+ if len(files)>8192:raise ValueError('PromptHMR engine inventory is too large.')
+ files['LICENSE']=sha256(engine/'LICENSE')
+ return files
+
+
+def configuration(root=ROOT):
+ path=Path(root)/'.setup/prompthmr-runtime.json'
+ if not path.is_file():raise RuntimeError('PromptHMR runtime is not installed. Close the app and run Setup_PromptHMR.cmd. See docs/models/PROMPTHMR.md.')
+ if path.stat().st_size>2*1024**2:raise ValueError('Invalid PromptHMR runtime configuration.')
+ cfg=json.loads(path.read_text(encoding='utf8'))
+ from tools.setup_prompthmr import identity
+ if cfg.get('version')!=1 or not cfg.get('license_reviewed') or cfg.get('managed_id')!=identity(root):
+ raise RuntimeError('PromptHMR runtime configuration changed. Close the app and run Setup_PromptHMR.cmd.')
+ for key in ('python','engine'):
+ if not isinstance(cfg.get(key),str) or not Path(cfg[key]).is_absolute() or not Path(cfg[key]).exists():
+ raise RuntimeError('The configured PromptHMR runtime is missing. Run Setup_PromptHMR.cmd; saved work is preserved.')
+ return cfg
+
+
+def configure(folder,managed_id,root=ROOT):
+ folder=Path(folder).resolve()
+ info=json.loads((folder/'verification.json').read_text(encoding='utf8'))
+ cfg=dict(version=1,python=str(folder/'python.exe'),engine=str(folder/'engine'),license_reviewed=True,
+ managed_id=managed_id,compute_capability=info['compute_capability'],packages=PACKAGES,
+ engine_files=snapshot(folder/'engine'))
+ atomic_json(Path(root)/'.setup/prompthmr-runtime.json',cfg)
+ return cfg
+
+
+def activate():
+ import importlib.metadata as metadata
+ cfg=configuration()
+ if Path(sys.executable).resolve()!=Path(cfg['python']).resolve() or sys.version_info[:2]!=(3,11):
+ raise RuntimeError('PromptHMR must run in its separate Python 3.11 environment.')
+ for name,version in PACKAGES.items():
+ if metadata.version(name)!=version:raise RuntimeError('Unsupported PromptHMR '+name+' version. Run Setup_PromptHMR.cmd.')
+ import torch
+ if not torch.cuda.is_available() or list(torch.cuda.get_device_capability())!=cfg['compute_capability']:
+ raise RuntimeError('PromptHMR native SAM2 kernels need verification for this GPU. Run Setup_PromptHMR.cmd.')
+ if snapshot(cfg['engine'])!=cfg['engine_files']:raise RuntimeError('PromptHMR engine changed. Run Setup_PromptHMR.cmd before inference.')
+ return Path(cfg['engine'])
+
+
+def command(stage,args):
+ return [configuration()['python'],'-I','-u',str(ROOT/'prompthmr_worker_boot.py'),stage,*map(str,args)]
diff --git a/mocap/prompthmr_scene.py b/mocap/prompthmr_scene.py
new file mode 100644
index 0000000..945a022
--- /dev/null
+++ b/mocap/prompthmr_scene.py
@@ -0,0 +1,16 @@
+"""Preserve PromptHMR's shared world and constant fixed-camera basis."""
+from pathlib import Path
+from .storage import atomic_json
+from .people_store import load_people,media_receipt
+from .scene_camera import read_camera,VERSION,take_projects
+
+
+def prepare_cameras(root):
+ root=Path(root);rows=take_projects(root,load_people(root))
+ if not rows:raise ValueError('PromptHMR shared scene has no actors.')
+ for _,project in rows:
+ if read_camera(project) is None:raise ValueError('PromptHMR source or body changed. Reconstruct or prepare the selected source again.')
+ ident,project=rows[0];camera=read_camera(project);target=root/'people_scene.json'
+ atomic_json(target,dict(version=VERSION,input=media_receipt(root),anchor=project.relative_to(root).as_posix(),anchor_id=ident,
+ world_to_camera=camera['world_to_camera'],sources=camera['sources'],floor=0.,K=camera['K'],camera_mode='static',scale=1.))
+ return target
diff --git a/mocap/prompthmr_ui.py b/mocap/prompthmr_ui.py
new file mode 100644
index 0000000..f085b11
--- /dev/null
+++ b/mocap/prompthmr_ui.py
@@ -0,0 +1,76 @@
+"""Lightweight PromptHMR controls and worker queue; no model imports in Qt."""
+import json,uuid
+from pathlib import Path
+from PySide6.QtCore import Qt
+from PySide6.QtWidgets import QWidget,QVBoxLayout,QGroupBox,QLabel,QSpinBox,QCheckBox
+
+
+class PromptHMRWorkspace:
+ def build_prompthmr_settings(self):
+ page=QWidget();page.setProperty('motion_tool','prompthmr')
+ layout=QVBoxLayout(page);layout.setContentsMargins(0,0,0,0);layout.setSpacing(10);layout.setAlignment(Qt.AlignTop)
+ group=QGroupBox('PromptHMR Settings');box=QVBoxLayout(group);box.setSpacing(7);layout.addWidget(group)
+ box.addWidget(QLabel('People'))
+ self.prompthmr_people=QSpinBox();self.prompthmr_people.setRange(0,8);self.prompthmr_people.setValue(2)
+ self.prompthmr_people.setToolTip('Maximum number of people to track together. 0 detects automatically, up to 8 in this app. Start with 2 for a two-person interaction. The intended people should be visible near the beginning; this is not an identity selector. Applies on Reconstruct 3D.')
+ box.addWidget(self.prompthmr_people)
+ self.prompthmr_interaction=QCheckBox('Interaction Prompt');self.prompthmr_interaction.setChecked(True)
+ self.prompthmr_interaction.setToolTip('Ask PromptHMR to consider the people together. May improve relative placement during interaction; it does not guarantee hand contact or prevent body intersections. Off follows the official default video path. Applies on Reconstruct 3D.')
+ box.addWidget(self.prompthmr_interaction)
+ self.prompthmr_notice=QLabel();self.prompthmr_notice.setWordWrap(True);self.prompthmr_notice.setTextFormat(Qt.PlainText);box.addWidget(self.prompthmr_notice)
+ group.setToolTip('Fixed-camera video only in this Windows integration. SAM2 tracking, PromptHMR image/video inference and native world post-optimization. No animated finger inference. Low Memory retains the same one-image batch; additional offloading is not implemented.')
+ self.prompthmr_people.valueChanged.connect(self.prompthmr_settings_changed)
+ self.prompthmr_interaction.toggled.connect(self.prompthmr_settings_changed)
+ self.model_pages.addWidget(page)
+ self.model_choice.setItemData(self.model_choice.findData('prompthmr'),'PromptHMR: shared-scene single-video capture, especially for people interacting. Fixed cameras only; no animated fingers. Separate optional runtime.',Qt.ToolTipRole)
+
+ def prompthmr_options(self):
+ return dict(people=self.prompthmr_people.value(),interaction=self.prompthmr_interaction.isChecked())
+
+ def restore_prompthmr_options(self,value):
+ from .prompthmr_pipeline import options
+ value=options(value)
+ for control,setting in ((self.prompthmr_people,value['people']),(self.prompthmr_interaction,value['interaction'])):
+ control.blockSignals(True)
+ if isinstance(control,QCheckBox):control.setChecked(setting)
+ else:control.setValue(setting)
+ control.blockSignals(False)
+
+ def prompthmr_settings_changed(self,*_):
+ if hasattr(self,'readiness'):self.update_readiness()
+
+ def sync_prompthmr_controls(self):
+ if self.model_choice.currentData()!='prompthmr':return
+ self.find_person_button.hide()
+ self.people_help_dialog.setText('PromptHMR tracks people together during Reconstruct 3D; Find person is not needed. Use a fixed camera and set People to 2 for a two-person interaction, or 0 for automatic detection (up to 8). The intended people should be visible near the start.\n\nAfter reconstruction, check rows to show people and select a row to edit contacts. All people keep one inferred world. Interaction Prompt does not guarantee contact or prevent intersections. No animated fingers are generated.')
+ self.prompthmr_people.setEnabled(not self.busy);self.prompthmr_interaction.setEnabled(not self.busy)
+ message=''
+ try:
+ from .prompthmr_runtime import configuration
+ configuration()
+ if self.project is not None:
+ saved=json.loads((self.project/'project.json').read_text(encoding='utf8')).get('prompthmr_options',{})
+ if saved!=self.prompthmr_options():message='People/interaction settings changed. Reconstruct 3D to apply; previous motion is still displayed.'
+ except (OSError,ValueError,RuntimeError) as error:
+ message=str(error);self.run_button.setEnabled(False)
+ self.prompthmr_notice.setText(message);self.prompthmr_notice.setVisible(bool(message))
+ self.run_button.setToolTip('Track and reconstruct people together from one fixed-camera video. Preserves the shared inferred scene, then optionally applies Motion Correction. No moving-camera or finger inference in this integration.')
+
+ def run_prompthmr(self):
+ if self.busy or self.contact_saving or not self.video_path or not self.info:return
+ try:
+ from .prompthmr_runtime import configuration
+ from .models import missing
+ from .paths import HOME,PROJECTS
+ from .storage import atomic_json,project_key
+ from .prompthmr_pipeline import STAGES
+ configuration()
+ if missing('prompthmr_assets'):
+ self.status.setText('Prepare the missing PromptHMR files in Model Manager.');self.open_model_manager();return
+ first,end=self.processing_range()
+ root=self.workspace_root or PROJECTS/(self.video_path.stem[:80]+'_'+project_key(self.video_path,0,self.info['duration'])+'_project')
+ folder=HOME/'cache/prompthmr-jobs';folder.mkdir(parents=True,exist_ok=True);request=folder/(uuid.uuid4().hex+'.json')
+ atomic_json(request,dict(version=1,root=str(root),video=str(self.video_path),start=first,end=end,options=self.prompthmr_options(),
+ correction_enabled=self.motion_correction.isChecked(),correction=self.selected_correction_options()))
+ self.start_jobs([(stage,['--request',str(request)]) for stage in STAGES])
+ except (OSError,ValueError,RuntimeError) as error:self.status.setText('Cannot start PromptHMR: '+str(error))
diff --git a/mocap/runtime_registry.py b/mocap/runtime_registry.py
index 232645f..842b7c4 100644
--- a/mocap/runtime_registry.py
+++ b/mocap/runtime_registry.py
@@ -29,7 +29,7 @@ def profile_for(stage, args=()):
except (OSError,ValueError,IndexError) as exc:
raise RuntimeError('Cannot select a processing runtime: project metadata is unavailable.') from exc
if model=='flowhmr': return 'flow'
- if model not in {None,'gvhmr','exmr','mamma'}: raise RuntimeError('Unsupported saved motion model: '+str(model))
+ if model not in {None,'gvhmr','exmr','mamma','prompthmr'}: raise RuntimeError('Unsupported saved motion model: '+str(model))
return 'shared'
def command(root,stage,args=(),*,frozen):
diff --git a/mocap/scene_camera.py b/mocap/scene_camera.py
index f6b8d60..cdf3ce3 100644
--- a/mocap/scene_camera.py
+++ b/mocap/scene_camera.py
@@ -30,6 +30,8 @@ def validate_transform(value):
def camera_sources(project):
+ if (project/'prompthmr_source.json').exists():
+ return {name:stamp(project/name) for name in ('hmr4d_results.pt','input.mp4','prompthmr_source.json') if (project/name).exists()}
if (project/'mamma_source.json').exists():
return {name:stamp(project/name) for name in ('hmr4d_results.pt','input.mp4','mamma_source.json') if (project/name).exists()}
if (project/'exmr_camera_sources.json').exists():
@@ -84,6 +86,9 @@ def prepare_cameras(root):
if not state:raise ValueError('No people group')
rows=take_projects(root,state)
manifest=json.loads((root/'project.json').read_text(encoding='utf-8'))
+ if manifest.get('pipeline',{}).get('model')=='prompthmr':
+ from .prompthmr_scene import prepare_cameras as prepare_phmr
+ return prepare_phmr(root)
if manifest.get('pipeline',{}).get('model')=='mamma':
from .mamma_scene import prepare_cameras as prepare_mamma
return prepare_mamma(root)
diff --git a/mocap/worker.py b/mocap/worker.py
index 852b136..cbd8d63 100644
--- a/mocap/worker.py
+++ b/mocap/worker.py
@@ -216,7 +216,7 @@ def main() -> int:
from .flow_backend import run_stage
run_stage(project,args.stage,args.result,emit,force=args.force)
return 0
- if require_supported_project(project).key=='mamma':
+ if require_supported_project(project).key in ('mamma','prompthmr'):
if args.stage=='export':
from .export import export_project
output=export_project(project,args.result)
@@ -226,7 +226,7 @@ def main() -> int:
elif args.stage in ('mesh','rig'):
from .export import export_project
output=export_project(project,args.result)
- else:raise ValueError('Use the multi-view MAMMA pipeline for reconstruction; single-view stages cannot process this project.')
+ else:raise ValueError('Use this model\'s dedicated reconstruction pipeline; generic inference stages cannot process this project.')
emit('complete',stage=args.stage,output=str(output),cached=False,elapsed=time.monotonic()-started)
return 0
if args.stage == 'rig':
diff --git a/mocap/worker_progress.py b/mocap/worker_progress.py
index 28d8599..a8813b3 100644
--- a/mocap/worker_progress.py
+++ b/mocap/worker_progress.py
@@ -12,10 +12,15 @@ def emit(kind,**value):
def main():
stage=sys.argv[1] if len(sys.argv)>1 else ''
- if stage in ('flow_batch','exmr_batch','gvhmr_batch'):
- from .batch_worker import main as batch_main
- from .progress_events import tqdm_events
- with tqdm_events(emit):return batch_main(sys.argv[1:],emit)
+ if stage in ('prompthmr_prepare','prompthmr_publish'):
+ from .compute_policy import configure_worker_cpu
+ configure_worker_cpu(stage)
+ from .prompthmr_pipeline import main as phmr_main
+ return phmr_main(sys.argv[1:])
+ if stage in ('flow_batch','exmr_batch','gvhmr_batch'):
+ from .batch_worker import main as batch_main
+ from .progress_events import tqdm_events
+ with tqdm_events(emit):return batch_main(sys.argv[1:],emit)
if stage in ('mamma_prepare','mamma_publish'):
from .compute_policy import configure_worker_cpu
configure_worker_cpu(stage)
diff --git a/mocap/workspace_ui.py b/mocap/workspace_ui.py
index 22b5b3f..7e33128 100644
--- a/mocap/workspace_ui.py
+++ b/mocap/workspace_ui.py
@@ -414,6 +414,7 @@ def build_workspace(w):
w.model_choice.setItemData(w.model_choice.findData('exmr'),tooltip_text('ExMR: body and finger tracking. Generally fast, with good motion quality in our subjective tests.'),Qt.ToolTipRole)
w.model_pages.addWidget(w.exmr_page)
w.build_mamma_settings()
+ w.build_prompthmr_settings()
shared_settings=QWidget()
settings = QVBoxLayout(shared_settings)
settings.setContentsMargins(0, 0, 0, 0)
diff --git a/prompthmr_worker_boot.py b/prompthmr_worker_boot.py
new file mode 100644
index 0000000..b55a4d5
--- /dev/null
+++ b/prompthmr_worker_boot.py
@@ -0,0 +1,31 @@
+"""PromptHMR subprocess bootstrap. Dependencies never enter the editor process."""
+from pathlib import Path
+import sys,os,time,atexit,json
+root=Path(__file__).resolve().parent;sys.path.insert(0,str(root))
+os.environ['PATH']=str(root/'tools/bin')+os.pathsep+os.environ.get('PATH','')
+cache=Path(os.environ.get('RGB_MOCAP_DATA',root))/'cache/prompthmr';temp=cache/'temp';temp.mkdir(parents=True,exist_ok=True)
+import tempfile
+tempfile.tempdir=str(temp)
+os.environ.update(TEMP=str(temp),TMP=str(temp),HF_HUB_OFFLINE='1',MPLBACKEND='Agg',WANDB_MODE='disabled',NO_ALBUMENTATIONS_UPDATE='1')
+os.environ.setdefault('RGB_MOCAP_WORKER_THREADS','4')
+from mocap.compute_policy import configure_worker_cpu
+configure_worker_cpu(sys.argv[1])
+for stream in (sys.stdout,sys.stderr):
+ if hasattr(stream,'reconfigure'):stream.reconfigure(encoding='utf8',errors='backslashreplace')
+from mocap.prompthmr_runtime import activate
+engine=activate();started=time.monotonic()
+def resources():
+ try:
+ import psutil,torch
+ info=psutil.Process().memory_info();cuda=torch.cuda.is_initialized()
+ row=dict(stage=sys.argv[1],process_seconds=time.monotonic()-started,peak_working_set_bytes=getattr(info,'peak_wset',info.rss),
+ cuda_peak_allocated_bytes=torch.cuda.max_memory_allocated() if cuda else 0,cuda_peak_reserved_bytes=torch.cuda.max_memory_reserved() if cuda else 0)
+ print('@@MOCAP@@'+json.dumps(dict(type='resource_usage',**row)),flush=True)
+ from mocap.prompthmr_pipeline import request,work_for
+ from mocap.storage import atomic_json
+ job=request(sys.argv[sys.argv.index('--request')+1]);suffix='-cache' if job.get('cached') else ''
+ atomic_json(work_for(job)/(row['stage']+suffix+'-resources.json'),row)
+ except Exception:pass
+atexit.register(resources)
+from mocap.prompthmr_pipeline import main
+raise SystemExit(main(sys.argv[1:],engine=engine))
diff --git a/tools/check_source.py b/tools/check_source.py
index 878be7b..99da6ab 100644
--- a/tools/check_source.py
+++ b/tools/check_source.py
@@ -5,6 +5,7 @@ from runtime_support import cache_dependency_files
ROOT=Path(__file__).resolve().parents[1]
SKIP={'.git','__pycache__','.bootstrap','.runtime','.cache','.setup','.venv','.venv-flow','.venv-hand','.venv-htd','.venv-exmr','build','dist','releases','models','projects','cache','character_scenes','.build-inputs','runtime','runtime_gui','runtime_flow','runtime_hand','runtime_htd','runtime_exmr','runtime_character','runtime_mamma'}
+SKIP.add('runtime_prompthmr')
FORBIDDEN={'.exe','.dll','.pyd','.pyc','.whl','.pt','.pth','.ckpt','.safetensors','.onnx','.npz','.npy','.pkl','.fbx','.bvh','.blend','.mp4','.vrm','.pmx','.vmd','.pmd','.vpd','.pmm','.avi','.mov','.mkv','.webm','.zip','.7z'}
def main():
diff --git a/tools/setup_prompthmr.py b/tools/setup_prompthmr.py
new file mode 100644
index 0000000..236aedd
--- /dev/null
+++ b/tools/setup_prompthmr.py
@@ -0,0 +1,124 @@
+"""Install an immutable, separate PromptHMR environment from verified sources."""
+from pathlib import Path
+import argparse,hashlib,json,os,shutil,subprocess,sys,time
+from functools import lru_cache
+ROOT=Path(__file__).resolve().parents[1]
+sys.path.insert(0,str(ROOT))
+from installer import engine
+from installer.prompthmr_adapters import adapt_engine,install_python_source
+from tools.setup_mamma import compiler,fetch_package,extract_source,quoted
+from tools.support_components import download
+from tools.session_lock import app_lock
+from mocap.storage import atomic_json
+
+
+@lru_cache(maxsize=4)
+def identity(root=ROOT):
+ names=('installer/prompthmr-runtime-lock.json','installer/prompthmr_adapters.py','installer/verify_prompthmr.py')
+ return hashlib.sha256(json.dumps({n:engine.sha(Path(root)/n) for n in names},sort_keys=True).encode()).hexdigest()
+
+
+def run(command,log):
+ log.parent.mkdir(parents=True,exist_ok=True)
+ with log.open('w',encoding='utf8') as out:
+ env=engine.clean_env(ROOT);cache=ROOT/'cache/prompthmr-setup'
+ env.update(YOLO_CONFIG_DIR=str(cache/'yolo'),MPLCONFIGDIR=str(cache/'mpl'),HF_HOME=str(cache/'hf'),TORCH_HOME=str(cache/'torch'),HF_HUB_OFFLINE='1')
+ p=subprocess.Popen(list(map(str,command)),cwd=ROOT,env=env,stdout=out,stderr=subprocess.STDOUT,creationflags=0x08000000)
+ started=notice=time.monotonic()
+ try:
+ while p.poll() is None:
+ time.sleep(.2)
+ if time.monotonic()-notice>=15:
+ notice=time.monotonic();print('PromptHMR setup: '+log.stem+' is working ('+str(round(notice-started))+' s).',flush=True)
+ except BaseException:
+ subprocess.run([str(Path(os.environ['SystemRoot'])/'System32/taskkill.exe'),'/PID',str(p.pid),'/T','/F'],stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL,creationflags=0x08000000)
+ p.wait(timeout=30);raise
+ if p.returncode:raise RuntimeError('PromptHMR setup failed: '+log.read_text(encoding='utf8',errors='replace')[-4000:])
+
+
+def verify(folder):
+ report=folder/'verification.json'
+ run([folder/'python.exe','-I',ROOT/'installer/verify_prompthmr.py','--lock',ROOT/'installer/prompthmr-runtime-lock.json','--output',report],ROOT/'.setup/logs/prompthmr-verify.log')
+ return json.loads(report.read_text(encoding='utf8'))
+
+
+def setup():
+ lock=json.loads((ROOT/'installer/prompthmr-runtime-lock.json').read_text())
+ uv=ROOT/'.setup/bootstrap-git/uv.exe'
+ if not uv.is_file() or engine.sha(uv)!=lock['uv_sha256']:raise RuntimeError('Run install.cmd first.')
+ with app_lock(ROOT):
+ tag=identity();config=ROOT/'.setup/prompthmr-runtime.json'
+ if config.is_file():
+ try:
+ old=json.loads(config.read_text(encoding='utf8'));folder=Path(old['python']).parent
+ if old.get('managed_id')==tag and folder.resolve().is_relative_to((ROOT/'runtime_prompthmr').resolve()):
+ report=verify(folder)
+ from mocap.prompthmr_runtime import configure
+ configure(folder,tag)
+ print('Verified PromptHMR runtime retained. Models and projects were not changed.',flush=True)
+ return report
+ except Exception as e:print('Existing PromptHMR generation needs repair: '+str(e),flush=True)
+ cuda,vc=compiler()
+ if shutil.disk_usage(ROOT).free<18*1024**3:raise OSError('Allow approximately 18 GiB free for PromptHMR setup, excluding model files and compiler tools.')
+ setup=ROOT/'.setup';cache=setup/'prompthmr-downloads';cache.mkdir(exist_ok=True)
+ generation=tag[:20]+'-'+os.urandom(4).hex();stage=setup/'prompthmr-staging'/generation;stage.mkdir(parents=True)
+ promoted=None;committed=False
+ try:
+ logs=setup/'logs';logs.mkdir(exist_ok=True)
+ print('PromptHMR: separate pinned environment; %.2f GiB package downloads. No SDF or MAMMA engine required.'%(sum(p['bytes'] for p in lock['packages'])/2**30),flush=True)
+ run([uv,'python','install',lock['python'],'--install-dir',setup/'python','--no-bin','--no-registry','--no-config'],logs/'prompthmr-python.log')
+ shutil.copytree(engine.python_home(ROOT,lock['python']),stage,dirs_exist_ok=True,ignore=shutil.ignore_patterns('__pycache__','*.pyc'))
+ py=stage/'python.exe';target=stage/'Lib/site-packages'
+ # Cache identical downloaded wheels once; never share writable installed
+ # packages with MAMMA or the other model profiles.
+ for row in lock['packages']:
+ previous=setup/'mamma-downloads'/row['sha256']/row['filename']
+ local=cache/row['sha256']/row['filename']
+ if not local.exists() and previous.is_file() and previous.stat().st_size==row['bytes'] and engine.sha(previous)==row['sha256']:
+ local.parent.mkdir(exist_ok=True)
+ try:os.link(previous,local)
+ except OSError:shutil.copy2(previous,local)
+ local={p['name']:fetch_package(p,cache) for p in lock['packages']}
+ req=stage/'locked-wheels.txt'
+ req.write_text('\n'.join(local[p['name']].as_uri()+' --hash=sha256:'+p['sha256'] for p in lock['packages'] if p['kind']=='wheel')+'\n',encoding='utf8')
+ run([uv,'pip','install','--python',py,'--target',target,'--no-deps','--offline','--no-index','--require-hashes','--only-binary',':all:','--link-mode','copy','--no-cache','-r',req],logs/'prompthmr-packages.log')
+ for p in lock['packages']:
+ if p['kind']=='source':
+ run([uv,'pip','install','--python',py,'--target',target,'--no-deps','--no-build-isolation','--offline','--no-index','--link-mode','copy',local[p['name']]],logs/('prompthmr-'+p['name']+'.log'))
+ sources=stage/'sources';sources.mkdir()
+ for name,spec in lock['sources'].items():
+ archive=download(cache,name+'-'+spec['commit'],spec)
+ extract_source(archive,spec,sources/name)
+ adapt_engine(sources/'prompthmr');os.replace(sources/'prompthmr',stage/'engine')
+ install_python_source(sources/'detectron2',target,'detectron2')
+ run([uv,'pip','install','--python',py,'--target',target,'--no-deps','--no-build-isolation','--no-index','--offline','--link-mode','copy',sources/'chumpy'],logs/'prompthmr-chumpy.log')
+ cap=subprocess.run([str(py),'-I','-c',"import torch;assert torch.cuda.is_available();print('.'.join(map(str,torch.cuda.get_device_capability())))"],capture_output=True,text=True,check=True,creationflags=0x08000000).stdout.strip()
+ if not __import__('re').fullmatch(r'\d+\.\d+',cap):raise ValueError('Invalid CUDA architecture.')
+ build=stage/'build-native.cmd'
+ lines=['@echo off','setlocal DisableDelayedExpansion','call '+quoted(vc),'if errorlevel 1 exit /b 1',
+ 'set "CUDA_HOME='+str(cuda).replace('%','%%')+'"','set "TORCH_CUDA_ARCH_LIST='+cap+'"',
+ 'set "MAX_JOBS=2"','set "DISTUTILS_USE_SDK=1"','set "MSSdk=1"','set "FORCE_CUDA=1"','set "SAM2_BUILD_ALLOW_ERRORS=0"','set "SAM2_BUILD_CUDA=1"',
+ ' '.join(quoted(x) for x in [uv,'pip','install','--python',py,'--target',target,'--no-deps','--no-build-isolation','--no-index','--offline','--no-cache','--link-mode','copy',sources/'sam2']),'if errorlevel 1 exit /b 1','exit /b 0']
+ build.write_text('\n'.join(lines)+'\n',encoding='utf8')
+ run([os.environ.get('COMSPEC','cmd.exe'),'/d','/c',build],logs/'prompthmr-native.log')
+ engine.prune_runtime(stage);verify(stage)
+ dest=ROOT/'runtime_prompthmr'/generation;dest.parent.mkdir(exist_ok=True);os.replace(stage,dest);promoted=dest
+ report=verify(dest)
+ identity.cache_clear()
+ if identity()!=tag:raise RuntimeError('PromptHMR runtime sources changed during setup. Retry setup; the previous runtime was preserved.')
+ report.update(installed_bytes=sum(p.stat().st_size for p in dest.rglob('*') if p.is_file()),runtime_id=tag)
+ atomic_json(dest/'ready.json',report)
+ from mocap.prompthmr_runtime import configure
+ configure(dest,tag);committed=True
+ atomic_json(setup/'prompthmr-install-report.json',report)
+ print('PromptHMR ready: %.2f GiB installed. Prepare weights in Model Manager.'%(report['installed_bytes']/2**30),flush=True)
+ return report
+ finally:
+ if stage.exists():engine.remove_owned(setup,stage)
+ if promoted is not None and not committed:engine.remove_owned(ROOT/'runtime_prompthmr',promoted)
+
+
+if __name__=='__main__':
+ parser=argparse.ArgumentParser(description=__doc__);parser.add_argument('--accept-licenses',action='store_true',required=True)
+ try:parser.parse_args();setup()
+ except Exception as error:print('PromptHMR setup failed: '+str(error),file=sys.stderr);raise SystemExit(1)