pymomentum-cpu 0.1.77.post28__cp313-cp313-macosx_15_0_arm64.whl → 0.1.78.post27__cp313-cp313-macosx_15_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pymomentum-cpu might be problematic. Click here for more details.
- lib/libarrow_bundled_dependencies.a +0 -0
- lib/libaxel.a +0 -0
- lib/libmomentum_app_utils.a +0 -0
- lib/libmomentum_character.a +0 -0
- lib/libmomentum_character_sequence_solver.a +0 -0
- lib/libmomentum_character_solver.a +0 -0
- lib/libmomentum_common.a +0 -0
- lib/libmomentum_diff_ik.a +0 -0
- lib/libmomentum_io.a +0 -0
- lib/libmomentum_io_common.a +0 -0
- lib/libmomentum_io_fbx.a +0 -0
- lib/libmomentum_io_gltf.a +0 -0
- lib/libmomentum_io_legacy_json.a +0 -0
- lib/libmomentum_io_marker.a +0 -0
- lib/libmomentum_io_motion.a +0 -0
- lib/libmomentum_io_shape.a +0 -0
- lib/libmomentum_io_skeleton.a +0 -0
- lib/libmomentum_io_urdf.a +0 -0
- lib/libmomentum_marker_tracker.a +0 -0
- lib/libmomentum_math.a +0 -0
- lib/libmomentum_online_qr.a +0 -0
- lib/libmomentum_process_markers.a +0 -0
- lib/libmomentum_rerun.a +0 -0
- lib/libmomentum_simd_constraints.a +0 -0
- lib/libmomentum_simd_generalized_loss.a +0 -0
- lib/libmomentum_skeleton.a +0 -0
- lib/libmomentum_solver.a +0 -0
- lib/librerun_sdk.a +0 -0
- pymomentum_cpu-0.1.78.post27.dist-info/METADATA +121 -0
- {pymomentum_cpu-0.1.77.post28.dist-info → pymomentum_cpu-0.1.78.post27.dist-info}/RECORD +32 -32
- {pymomentum_cpu-0.1.77.post28.dist-info → pymomentum_cpu-0.1.78.post27.dist-info}/WHEEL +1 -1
- pymomentum_cpu-0.1.77.post28.dist-info/METADATA +0 -208
- {pymomentum_cpu-0.1.77.post28.dist-info → pymomentum_cpu-0.1.78.post27.dist-info}/licenses/LICENSE +0 -0
|
Binary file
|
lib/libaxel.a
CHANGED
|
Binary file
|
lib/libmomentum_app_utils.a
CHANGED
|
Binary file
|
lib/libmomentum_character.a
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
lib/libmomentum_common.a
CHANGED
|
Binary file
|
lib/libmomentum_diff_ik.a
CHANGED
|
Binary file
|
lib/libmomentum_io.a
CHANGED
|
Binary file
|
lib/libmomentum_io_common.a
CHANGED
|
Binary file
|
lib/libmomentum_io_fbx.a
CHANGED
|
Binary file
|
lib/libmomentum_io_gltf.a
CHANGED
|
Binary file
|
lib/libmomentum_io_legacy_json.a
CHANGED
|
Binary file
|
lib/libmomentum_io_marker.a
CHANGED
|
Binary file
|
lib/libmomentum_io_motion.a
CHANGED
|
Binary file
|
lib/libmomentum_io_shape.a
CHANGED
|
Binary file
|
lib/libmomentum_io_skeleton.a
CHANGED
|
Binary file
|
lib/libmomentum_io_urdf.a
CHANGED
|
Binary file
|
lib/libmomentum_marker_tracker.a
CHANGED
|
Binary file
|
lib/libmomentum_math.a
CHANGED
|
Binary file
|
lib/libmomentum_online_qr.a
CHANGED
|
Binary file
|
|
Binary file
|
lib/libmomentum_rerun.a
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
lib/libmomentum_skeleton.a
CHANGED
|
Binary file
|
lib/libmomentum_solver.a
CHANGED
|
Binary file
|
lib/librerun_sdk.a
CHANGED
|
Binary file
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: pymomentum-cpu
|
|
3
|
+
Version: 0.1.78.post27
|
|
4
|
+
Summary: A library providing foundational algorithms for human kinematic motion and numerical optimization solvers to apply human motion in various applications (CPU-only version for Linux, macOS Intel, and macOS ARM)
|
|
5
|
+
Keywords: kinematics,motion,optimization,human-motion,inverse-kinematics,forward-kinematics,body-tracking,motion-capture,character-animation,robotics,cpu
|
|
6
|
+
Author-Email: Meta Reality Labs Research <jeongseok@meta.com>
|
|
7
|
+
License: MIT
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Intended Audience :: Science/Research
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
13
|
+
Classifier: Operating System :: MacOS
|
|
14
|
+
Classifier: Programming Language :: C++
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
19
|
+
Classifier: Topic :: Scientific/Engineering
|
|
20
|
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
21
|
+
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
22
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
23
|
+
Project-URL: Homepage, https://github.com/facebookresearch/momentum
|
|
24
|
+
Project-URL: Documentation, https://facebookresearch.github.io/momentum/
|
|
25
|
+
Project-URL: Repository, https://github.com/facebookresearch/momentum
|
|
26
|
+
Project-URL: Bug tracker, https://github.com/facebookresearch/momentum/issues
|
|
27
|
+
Project-URL: Changelog, https://github.com/facebookresearch/momentum/releases
|
|
28
|
+
Requires-Python: <3.14,>=3.13
|
|
29
|
+
Requires-Dist: numpy>=1.20.0
|
|
30
|
+
Requires-Dist: scipy>=1.7.0
|
|
31
|
+
Requires-Dist: torch<2.9,>=2.8.0; platform_system == "Linux" and python_version == "3.12"
|
|
32
|
+
Requires-Dist: torch<2.9,>=2.8.0; platform_system == "Linux" and python_version == "3.13"
|
|
33
|
+
Requires-Dist: torch<2.9,>=2.8.0; platform_system == "Darwin" and python_version == "3.12"
|
|
34
|
+
Requires-Dist: torch<2.9,>=2.8.0; platform_system == "Darwin" and python_version == "3.13"
|
|
35
|
+
Description-Content-Type: text/markdown
|
|
36
|
+
|
|
37
|
+
# Momentum
|
|
38
|
+
|
|
39
|
+
[![CI Windows][ci-windows-badge]][ci-windows]
|
|
40
|
+
[![CI macOS][ci-macos-badge]][ci-macos]
|
|
41
|
+
[![CI Ubuntu][ci-ubuntu-badge]][ci-ubuntu]
|
|
42
|
+
[![Publish Website][website-badge]][website]
|
|
43
|
+
|
|
44
|
+
[ci-windows-badge]: https://github.com/facebookresearch/momentum/actions/workflows/ci_windows.yml/badge.svg
|
|
45
|
+
[ci-windows]: https://github.com/facebookresearch/momentum/actions/workflows/ci_windows.yml
|
|
46
|
+
[ci-macos-badge]: https://github.com/facebookresearch/momentum/actions/workflows/ci_macos.yml/badge.svg
|
|
47
|
+
[ci-macos]: https://github.com/facebookresearch/momentum/actions/workflows/ci_macos.yml
|
|
48
|
+
[ci-ubuntu-badge]: https://github.com/facebookresearch/momentum/actions/workflows/ci_ubuntu.yml/badge.svg
|
|
49
|
+
[ci-ubuntu]: https://github.com/facebookresearch/momentum/actions/workflows/ci_ubuntu.yml
|
|
50
|
+
[website-badge]: https://github.com/facebookresearch/momentum/actions/workflows/publish_website.yml/badge.svg
|
|
51
|
+
[website]: https://github.com/facebookresearch/momentum/actions/workflows/publish_website.yml
|
|
52
|
+
|
|
53
|
+
Momentum provides foundational algorithms for human kinematic motion and
|
|
54
|
+
numerical optimization solvers to apply human motion in various applications.
|
|
55
|
+
|
|
56
|
+
<p align="center">
|
|
57
|
+
<img src="momentum/website/static/img/momentum_1.png" width="30%" alt="Forward and Inverse Kinematics with Interpretable Parameterization" />
|
|
58
|
+
<img src="momentum/website/static/img/momentum_3.png" width="30%" alt="RGBD Body Tracking Solver" />
|
|
59
|
+
<img src="momentum/website/static/img/momentum_4.png" width="30%" alt="Monocular RGB Body Tracking Solver" />
|
|
60
|
+
</p>
|
|
61
|
+
|
|
62
|
+
## Quick Start
|
|
63
|
+
|
|
64
|
+
### Installation
|
|
65
|
+
|
|
66
|
+
Pre-built binaries are available for Windows, macOS, and Linux:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
# Python (PyPI)
|
|
70
|
+
pip install pymomentum-cpu # CPU version
|
|
71
|
+
pip install pymomentum-gpu # GPU version with CUDA
|
|
72
|
+
|
|
73
|
+
# Python (Conda/Pixi)
|
|
74
|
+
pixi add pymomentum # Auto-detects GPU/CPU
|
|
75
|
+
conda install -c conda-forge pymomentum
|
|
76
|
+
|
|
77
|
+
# C++ (Conda/Pixi only)
|
|
78
|
+
pixi add momentum-cpp
|
|
79
|
+
conda install -c conda-forge momentum-cpp
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
**📦 Browse packages:** [PyPI](https://pypi.org/search/?q=pymomentum) • [conda-forge](https://anaconda.org/conda-forge/momentum) • [prefix.dev](https://prefix.dev/channels/conda-forge/packages/momentum)
|
|
83
|
+
|
|
84
|
+
### Quick Example
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
# Install and run
|
|
88
|
+
pip install pymomentum-cpu
|
|
89
|
+
python -c "import pymomentum as pm; print(pm.__version__)"
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Building from Source
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
git clone https://github.com/facebookresearch/momentum
|
|
96
|
+
cd momentum
|
|
97
|
+
pixi run build # Builds C++ library and Python bindings
|
|
98
|
+
pixi run test # Runs tests
|
|
99
|
+
pixi run hello_world # Runs example
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
**For detailed instructions**, see the comprehensive guides on our website:
|
|
103
|
+
- 📘 [**Python Getting Started**](https://facebookresearch.github.io/momentum/pymomentum/user_guide/getting_started) - Installation, building from source, troubleshooting
|
|
104
|
+
- 📗 [**C++ Getting Started**](https://facebookresearch.github.io/momentum/docs/user_guide/getting_started) - Full build instructions, FBX support, examples
|
|
105
|
+
|
|
106
|
+
## 📖 Documentation
|
|
107
|
+
|
|
108
|
+
Visit our [**documentation website**](https://facebookresearch.github.io/momentum/) for comprehensive guides, examples, and API references:
|
|
109
|
+
|
|
110
|
+
- 🐍 [**Python API Reference**](https://facebookresearch.github.io/momentum/python_api_doc/index.html) - Complete Python API documentation
|
|
111
|
+
- ⚙️ [**C++ API Reference**](https://facebookresearch.github.io/momentum/doxygen/index.html) - Complete C++ API documentation
|
|
112
|
+
|
|
113
|
+
## Contributing
|
|
114
|
+
|
|
115
|
+
Check our [contributing guide](CONTRIBUTING.md) to learn about how to contribute
|
|
116
|
+
to the project.
|
|
117
|
+
|
|
118
|
+
## License
|
|
119
|
+
|
|
120
|
+
Momentum is licensed under the MIT License. A copy of the license
|
|
121
|
+
[can be found here.](LICENSE)
|
|
@@ -462,35 +462,35 @@ lib/cmake/rerun_sdk/rerun_sdkConfigVersion.cmake,sha256=pkP-Dk2ua51-lUaTXsyrol2-
|
|
|
462
462
|
lib/cmake/rerun_sdk/rerun_sdkTargets-release.cmake,sha256=oJmUbA8vo_Af5olAGr7JcaiuRPU4dihtdClmCq11ADY,824
|
|
463
463
|
lib/cmake/rerun_sdk/rerun_sdkTargets.cmake,sha256=BNlHggsz8G6CC3ypFIFo4xMQVy5c2aSaGJr7nQTmLIM,4255
|
|
464
464
|
lib/libarrow.a,sha256=X6vJ_gNv2F7lIel-waT1em3FvXRaqQTAWCaYCEUJORU,22109512
|
|
465
|
-
lib/libarrow_bundled_dependencies.a,sha256=
|
|
466
|
-
lib/libaxel.a,sha256=
|
|
467
|
-
lib/libmomentum_app_utils.a,sha256=
|
|
468
|
-
lib/libmomentum_character.a,sha256=
|
|
469
|
-
lib/libmomentum_character_sequence_solver.a,sha256=
|
|
470
|
-
lib/libmomentum_character_solver.a,sha256=
|
|
471
|
-
lib/libmomentum_common.a,sha256=
|
|
472
|
-
lib/libmomentum_diff_ik.a,sha256=
|
|
473
|
-
lib/libmomentum_io.a,sha256=
|
|
474
|
-
lib/libmomentum_io_common.a,sha256=
|
|
475
|
-
lib/libmomentum_io_fbx.a,sha256=
|
|
476
|
-
lib/libmomentum_io_gltf.a,sha256=
|
|
477
|
-
lib/libmomentum_io_legacy_json.a,sha256=
|
|
478
|
-
lib/libmomentum_io_marker.a,sha256=
|
|
479
|
-
lib/libmomentum_io_motion.a,sha256=
|
|
480
|
-
lib/libmomentum_io_shape.a,sha256=
|
|
481
|
-
lib/libmomentum_io_skeleton.a,sha256=
|
|
482
|
-
lib/libmomentum_io_urdf.a,sha256=
|
|
483
|
-
lib/libmomentum_marker_tracker.a,sha256=
|
|
484
|
-
lib/libmomentum_math.a,sha256=
|
|
485
|
-
lib/libmomentum_online_qr.a,sha256=
|
|
486
|
-
lib/libmomentum_process_markers.a,sha256=
|
|
487
|
-
lib/libmomentum_rerun.a,sha256=
|
|
488
|
-
lib/libmomentum_simd_constraints.a,sha256=
|
|
489
|
-
lib/libmomentum_simd_generalized_loss.a,sha256=
|
|
490
|
-
lib/libmomentum_skeleton.a,sha256=
|
|
491
|
-
lib/libmomentum_solver.a,sha256=
|
|
465
|
+
lib/libarrow_bundled_dependencies.a,sha256=pgqz0q4-33Y_2xlabX7H-Qt2q3OhMIS0UGXDa7TpXqU,155360
|
|
466
|
+
lib/libaxel.a,sha256=DdXrTu-lBBbNoC-YfWI_pRjzd33UiheNSAb2VUClOrE,674040
|
|
467
|
+
lib/libmomentum_app_utils.a,sha256=FkKNhu4H3HPUerwHAypceHHDtj4Zbi8FHEuRKZJwa1U,453224
|
|
468
|
+
lib/libmomentum_character.a,sha256=hgnE-QQEl3AAMEsxF3aQjTJ5RQpilITY_CG8lbOzEu4,1825392
|
|
469
|
+
lib/libmomentum_character_sequence_solver.a,sha256=O-Me_uFb-rxAKGuU0ra2x_oxxflu8xYzVpMaRFDxOTA,2350600
|
|
470
|
+
lib/libmomentum_character_solver.a,sha256=8Eg2KIyOATGk6aO-hlHXVQL-MiDBDjgAK1dPV36J4vA,5552824
|
|
471
|
+
lib/libmomentum_common.a,sha256=LnnYlvOa2a-u97iEgvbgucXLMkmYWhlSju06nllYzG8,499016
|
|
472
|
+
lib/libmomentum_diff_ik.a,sha256=hbd5q9VXIgW66DQvRB-yvPEaFpySOKcfVPMA77dzvrw,2842824
|
|
473
|
+
lib/libmomentum_io.a,sha256=pqbmVTwAH1nOFBg-H6C_E7mLwHhsTcuWk-r_vBLkxSc,152264
|
|
474
|
+
lib/libmomentum_io_common.a,sha256=LPAQfi8Te9ieO36JjKy7Fh51QIjfTEDmFXfJpcU5a80,151096
|
|
475
|
+
lib/libmomentum_io_fbx.a,sha256=NbcdF3ooxrPFXvhYm2r_wndqkkETeNnrAcRj1yxJkT4,879568
|
|
476
|
+
lib/libmomentum_io_gltf.a,sha256=S0LR8CxHRC5BWZv-rFstKD97NhtRiyVjkW3-YwTk8Bw,3072616
|
|
477
|
+
lib/libmomentum_io_legacy_json.a,sha256=w08h3LkxP15RYhmXLqwYeBFSx4CALgn9OQaB24Zt8M0,503832
|
|
478
|
+
lib/libmomentum_io_marker.a,sha256=9GXlaZ9wnbBP0p0SfULWb2h2cpro2hIQm9RAhxqJ-MY,1423080
|
|
479
|
+
lib/libmomentum_io_motion.a,sha256=jPbuD4BZDcgJDU9yXiSes5snKkuxgSAImtjV1YvgI5I,484584
|
|
480
|
+
lib/libmomentum_io_shape.a,sha256=i2gCmhKVg0kam-mxMQCSJSynroHwt2gp_zHjpeQlBbo,170584
|
|
481
|
+
lib/libmomentum_io_skeleton.a,sha256=Ezwn8ZGK8m6lUGPaH6yS2p2RCrTLOlOZQ055lAVeprU,1419656
|
|
482
|
+
lib/libmomentum_io_urdf.a,sha256=KAnDnu_f79pdIe_exl3gxcERi2iVkh2htzOeyCTGECc,274680
|
|
483
|
+
lib/libmomentum_marker_tracker.a,sha256=ts2i2wo3W-T65e85ox545dmPJrzrmCcS7sB3uUSKLm4,1224624
|
|
484
|
+
lib/libmomentum_math.a,sha256=7lPJ3MaPQUtdYY03ImwVWa6dEp5q0gR9FaWzPvgfaN8,1252112
|
|
485
|
+
lib/libmomentum_online_qr.a,sha256=B8GWQOM0rPN7FAJ5u6WtDPAmfN-MccjJXh2OPNe_P_M,167424
|
|
486
|
+
lib/libmomentum_process_markers.a,sha256=uPz9f5TtuQLj9Jbr7NOt-bMCGqtOS-WYsxjA5kAQ_3o,613624
|
|
487
|
+
lib/libmomentum_rerun.a,sha256=OkRcUb3BXTaNtaMphu3vFx74bS3C2cjt2zsGw4OOYGI,747960
|
|
488
|
+
lib/libmomentum_simd_constraints.a,sha256=r9uoTsRBRzesMMvEBBxuD3BrLyNR0c-WjHN6iba1ojM,381080
|
|
489
|
+
lib/libmomentum_simd_generalized_loss.a,sha256=_Su6mVoAd2A2fwf0lbyc1GBZtEkuO5BSdeEy7DLJpXI,459792
|
|
490
|
+
lib/libmomentum_skeleton.a,sha256=m4hMM-Kf9Jq6nB6_fbjZgDc2UgwhdYrzaLqHOvgus3s,553184
|
|
491
|
+
lib/libmomentum_solver.a,sha256=3fkgR4EXWKzzow7twDI2U2lT5A3q1UYqfi4lD3A9mrM,1096216
|
|
492
492
|
lib/librerun_c__macos_arm64.a,sha256=a3Gvax7JYoksntKvckNzSDkb4udPz8oFZlxbObAaU-M,82639440
|
|
493
|
-
lib/librerun_sdk.a,sha256=
|
|
493
|
+
lib/librerun_sdk.a,sha256=2s7IYnsV2BTIYPv4cjawkLWy2DXVG6bO6HMqddNI45E,3265352
|
|
494
494
|
pymomentum/axel.cpython-313-darwin.so,sha256=v6kPhCAsihOC7GMB5E3u3cqEZHj0i7inu11Zzscfz7Y,668656
|
|
495
495
|
pymomentum/backend/__init__.py,sha256=6tzrxIJl9w1eM-gqf7YwTZ33WkJ6lnq9h4-TsTuOtuc,476
|
|
496
496
|
pymomentum/backend/skel_state_backend.py,sha256=tsd2iqtkbyvC7kmvZcApKGu16QbkZuEq2_ysWv6p89Y,25883
|
|
@@ -506,7 +506,7 @@ pymomentum/torch/character.py,sha256=y_Ov7tkTobKdmNP1b2oNwFpPuVBUj8sRCJ7G2J5jh-s
|
|
|
506
506
|
pymomentum/torch/parameter_limits.py,sha256=Db89tUaJbsOjbOFqhJPFPbMPZDtErAf65ssZvxJ959c,19762
|
|
507
507
|
pymomentum/torch/utility.py,sha256=_FsIVlhcQusSz_6aVLPKpRRHgSjIwmd0uCWxNVKqRtY,608
|
|
508
508
|
pymomentum/trs.py,sha256=jwvOR2DDMpAqOE9zFh0TJnigsDpfRi2guUfayQklVqk,17624
|
|
509
|
-
pymomentum_cpu-0.1.
|
|
510
|
-
pymomentum_cpu-0.1.
|
|
511
|
-
pymomentum_cpu-0.1.
|
|
512
|
-
pymomentum_cpu-0.1.
|
|
509
|
+
pymomentum_cpu-0.1.78.post27.dist-info/METADATA,sha256=33H58F5P_C7n3e74os5ZhGTGnDhjhbA96LffRdV_rz0,5740
|
|
510
|
+
pymomentum_cpu-0.1.78.post27.dist-info/WHEEL,sha256=4_jX0upxjX0LKUCkmjR4pdtxHJL5S08CQhQ_hmW8O_4,114
|
|
511
|
+
pymomentum_cpu-0.1.78.post27.dist-info/licenses/LICENSE,sha256=2m03A-0Ry-Qr0hLHJZV8mNojy_8ZmMBfpLPZdtGljpM,1088
|
|
512
|
+
pymomentum_cpu-0.1.78.post27.dist-info/RECORD,,
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: pymomentum-cpu
|
|
3
|
-
Version: 0.1.77.post28
|
|
4
|
-
Summary: A library providing foundational algorithms for human kinematic motion and numerical optimization solvers to apply human motion in various applications (CPU-only version for Linux, macOS Intel, and macOS ARM)
|
|
5
|
-
Keywords: kinematics,motion,optimization,human-motion,inverse-kinematics,forward-kinematics,body-tracking,motion-capture,character-animation,robotics,cpu
|
|
6
|
-
Author-Email: Meta Reality Labs Research <jeongseok@meta.com>
|
|
7
|
-
License: MIT
|
|
8
|
-
Classifier: Development Status :: 4 - Beta
|
|
9
|
-
Classifier: Intended Audience :: Developers
|
|
10
|
-
Classifier: Intended Audience :: Science/Research
|
|
11
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
-
Classifier: Operating System :: POSIX :: Linux
|
|
13
|
-
Classifier: Operating System :: MacOS
|
|
14
|
-
Classifier: Programming Language :: C++
|
|
15
|
-
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
19
|
-
Classifier: Topic :: Scientific/Engineering
|
|
20
|
-
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
21
|
-
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
22
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
23
|
-
Project-URL: Homepage, https://github.com/facebookresearch/momentum
|
|
24
|
-
Project-URL: Documentation, https://facebookresearch.github.io/momentum/
|
|
25
|
-
Project-URL: Repository, https://github.com/facebookresearch/momentum
|
|
26
|
-
Project-URL: Bug Tracker, https://github.com/facebookresearch/momentum/issues
|
|
27
|
-
Project-URL: Changelog, https://github.com/facebookresearch/momentum/releases
|
|
28
|
-
Requires-Python: <3.14,>=3.12
|
|
29
|
-
Requires-Dist: numpy>=1.20.0
|
|
30
|
-
Requires-Dist: scipy>=1.7.0
|
|
31
|
-
Requires-Dist: torch<2.9,>=2.8.0
|
|
32
|
-
Description-Content-Type: text/markdown
|
|
33
|
-
|
|
34
|
-
# Momentum
|
|
35
|
-
|
|
36
|
-
[![CI Windows][ci-windows-badge]][ci-windows]
|
|
37
|
-
[![CI macOS][ci-macos-badge]][ci-macos]
|
|
38
|
-
[![CI Ubuntu][ci-ubuntu-badge]][ci-ubuntu]
|
|
39
|
-
[![Publish Website][website-badge]][website]
|
|
40
|
-
|
|
41
|
-
[ci-windows-badge]: https://github.com/facebookresearch/momentum/actions/workflows/ci_windows.yml/badge.svg
|
|
42
|
-
[ci-windows]: https://github.com/facebookresearch/momentum/actions/workflows/ci_windows.yml
|
|
43
|
-
[ci-macos-badge]: https://github.com/facebookresearch/momentum/actions/workflows/ci_macos.yml/badge.svg
|
|
44
|
-
[ci-macos]: https://github.com/facebookresearch/momentum/actions/workflows/ci_macos.yml
|
|
45
|
-
[ci-ubuntu-badge]: https://github.com/facebookresearch/momentum/actions/workflows/ci_ubuntu.yml/badge.svg
|
|
46
|
-
[ci-ubuntu]: https://github.com/facebookresearch/momentum/actions/workflows/ci_ubuntu.yml
|
|
47
|
-
[website-badge]: https://github.com/facebookresearch/momentum/actions/workflows/publish_website.yml/badge.svg
|
|
48
|
-
[website]: https://github.com/facebookresearch/momentum/actions/workflows/publish_website.yml
|
|
49
|
-
|
|
50
|
-
Momentum provides foundational algorithms for human kinematic motion and
|
|
51
|
-
numerical optimization solvers to apply human motion in various applications.
|
|
52
|
-
|
|
53
|
-
<p align="center">
|
|
54
|
-
<img src="momentum/website/static/img/momentum_1.png" width="30%" alt="Forward and Inverse Kinematics with Interpretable Parameterization" />
|
|
55
|
-
<img src="momentum/website/static/img/momentum_3.png" width="30%" alt="RGBD Body Tracking Solver" />
|
|
56
|
-
<img src="momentum/website/static/img/momentum_4.png" width="30%" alt="Monocular RGB Body Tracking Solver" />
|
|
57
|
-
</p>
|
|
58
|
-
|
|
59
|
-
## Getting Started
|
|
60
|
-
|
|
61
|
-
This page guides you through the process of building Momentum and running the examples.
|
|
62
|
-
|
|
63
|
-
### Installing Momentum and PyMomentum
|
|
64
|
-
|
|
65
|
-
Momentum binary builds are available for Windows, macOS, and Linux via [Pixi](https://prefix.dev/) or the Conda package manager.
|
|
66
|
-
|
|
67
|
-
For Windows, please install [Visual Studio 2022](https://visualstudio.microsoft.com/vs/) or greater.
|
|
68
|
-
|
|
69
|
-
#### [Pixi](https://prefix.dev/channels/conda-forge/packages/momentum)
|
|
70
|
-
|
|
71
|
-
```
|
|
72
|
-
# C++ only
|
|
73
|
-
pixi add momentum-cpp
|
|
74
|
-
|
|
75
|
-
# Python only (auto-detects GPU/CPU)
|
|
76
|
-
pixi add pymomentum
|
|
77
|
-
|
|
78
|
-
# Python with specific backend
|
|
79
|
-
pixi add pymomentum-gpu # or pymomentum-cpu
|
|
80
|
-
|
|
81
|
-
# Both C++ and Python
|
|
82
|
-
pixi add momentum
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
#### [Conda](https://anaconda.org/conda-forge/momentum)
|
|
86
|
-
|
|
87
|
-
```
|
|
88
|
-
# Replace 'pixi add' with 'conda install -c conda-forge'
|
|
89
|
-
conda install -c conda-forge momentum-cpp
|
|
90
|
-
conda install -c conda-forge pymomentum
|
|
91
|
-
conda install -c conda-forge pymomentum-gpu # or pymomentum-cpu
|
|
92
|
-
conda install -c conda-forge momentum
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
### Building Momentum from Source
|
|
96
|
-
|
|
97
|
-
#### Prerequisite
|
|
98
|
-
|
|
99
|
-
Complete the following steps only once:
|
|
100
|
-
|
|
101
|
-
1. Install Pixi by following the instructions on https://prefix.dev/
|
|
102
|
-
|
|
103
|
-
1. Clone the repository and navigate to the root directory:
|
|
104
|
-
|
|
105
|
-
```
|
|
106
|
-
git clone https://github.com/facebookresearch/momentum
|
|
107
|
-
cd momentum
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
Ensure that all subsequent commands are executed in the project's root directory unless specified otherwise.
|
|
111
|
-
|
|
112
|
-
#### Build and Test
|
|
113
|
-
|
|
114
|
-
- Build the project with the following command (note that the first run may take a few minutes as it installs all dependencies):
|
|
115
|
-
|
|
116
|
-
```
|
|
117
|
-
pixi run build
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
- Run the tests with:
|
|
121
|
-
|
|
122
|
-
```
|
|
123
|
-
pixi run test
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
To view all available command lines, run `pixi task list`.
|
|
127
|
-
|
|
128
|
-
#### Hello World Example
|
|
129
|
-
|
|
130
|
-
To run the `hello_world` example:
|
|
131
|
-
|
|
132
|
-
```
|
|
133
|
-
pixi run hello_world
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
Alternatively, you can directly run the executable:
|
|
137
|
-
|
|
138
|
-
```
|
|
139
|
-
# Linux and macOS
|
|
140
|
-
./build/hello_world
|
|
141
|
-
|
|
142
|
-
# Windows
|
|
143
|
-
./build/Release/hello_world.exe
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
#### Running Other Examples
|
|
147
|
-
|
|
148
|
-
To run other examples:
|
|
149
|
-
|
|
150
|
-
```
|
|
151
|
-
pixi run glb_viewer --help
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
For more examples, please refer to the [Examples](https://facebookresearch.github.io/momentum/docs/examples/viewers) page.
|
|
155
|
-
|
|
156
|
-
#### Clean Up
|
|
157
|
-
|
|
158
|
-
If you need to start over for any reason:
|
|
159
|
-
|
|
160
|
-
```
|
|
161
|
-
pixi run clean
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
Momentum uses the `build/` directory for CMake builds, and `.pixi/` for the Pixi virtual environment. You can clean up everything by either manually removing these directories or by running the command above.
|
|
165
|
-
|
|
166
|
-
#### FBX Support
|
|
167
|
-
|
|
168
|
-
Momentum uses OpenFBX to load Autodesk's FBX file format, which is enabled by default. To save files in FBX format, you must install the FBX SDK 2020.3.
|
|
169
|
-
|
|
170
|
-
##### Linux
|
|
171
|
-
|
|
172
|
-
The FBX SDK will be automatically installed when you run `pixi run config`, so no additional steps are required.
|
|
173
|
-
|
|
174
|
-
##### macOS and Windows
|
|
175
|
-
|
|
176
|
-
You can download it from Autodesk's [website](https://aps.autodesk.com/developer/overview/fbx-sdk) or use direct links ([macOS](https://damassets.autodesk.net/content/dam/autodesk/www/files/fbx202037_fbxsdk_clang_mac.pkg.tgz), [Windows](https://damassets.autodesk.net/content/dam/autodesk/www/files/fbx202037_fbxsdk_vs2019_win.exe)). After installing the SDK, build Momentum from source with `MOMENTUM_BUILD_WITH_FBXSDK=ON` option as:
|
|
177
|
-
|
|
178
|
-
```
|
|
179
|
-
# macOS
|
|
180
|
-
MOMENTUM_BUILD_WITH_FBXSDK=ON pixi run <target>
|
|
181
|
-
|
|
182
|
-
# Windows (Powershell)
|
|
183
|
-
$env:MOMENTUM_BUILD_WITH_FBXSDK = "ON"; pixi run <target>
|
|
184
|
-
|
|
185
|
-
# Windows (cmd)
|
|
186
|
-
set MOMENTUM_BUILD_WITH_FBXSDK=ON && pixi run <target>
|
|
187
|
-
```
|
|
188
|
-
|
|
189
|
-
For example, file conversion can be run as follows:
|
|
190
|
-
|
|
191
|
-
```
|
|
192
|
-
# Windows (Powershell)
|
|
193
|
-
$env:MOMENTUM_BUILD_WITH_FBXSDK = "ON"; pixi run convert_model -d <input.glb> -o <out.fbx>
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
## 📖 Documentation
|
|
197
|
-
|
|
198
|
-
The full documentation for Momentum can be found on our [website](https://facebookresearch.github.io/momentum/) and the C++ API documentation is available [here](https://facebookresearch.github.io/momentum/doxygen/index.html).
|
|
199
|
-
|
|
200
|
-
## Contributing
|
|
201
|
-
|
|
202
|
-
Check our [contributing guide](CONTRIBUTING.md) to learn about how to contribute
|
|
203
|
-
to the project.
|
|
204
|
-
|
|
205
|
-
## License
|
|
206
|
-
|
|
207
|
-
Momentum is licensed under the MIT License. A copy of the license
|
|
208
|
-
[can be found here.](LICENSE)
|
{pymomentum_cpu-0.1.77.post28.dist-info → pymomentum_cpu-0.1.78.post27.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|