pymomentum-cpu 0.1.77.post30__cp312-cp312-manylinux_2_39_x86_64.whl → 0.1.80.post0__cp312-cp312-manylinux_2_39_x86_64.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.
- include/momentum/character_solver/vertex_projection_error_function.h +2 -11
- include/momentum/character_solver/vertex_vertex_distance_error_function.h +4 -8
- lib/libarrow_bundled_dependencies.a +0 -0
- lib/librerun_sdk.a +0 -0
- lib64/libaxel.a +0 -0
- lib64/libmomentum_app_utils.a +0 -0
- lib64/libmomentum_character.a +0 -0
- lib64/libmomentum_character_sequence_solver.a +0 -0
- lib64/libmomentum_character_solver.a +0 -0
- lib64/libmomentum_common.a +0 -0
- lib64/libmomentum_diff_ik.a +0 -0
- lib64/libmomentum_io.a +0 -0
- lib64/libmomentum_io_common.a +0 -0
- lib64/libmomentum_io_fbx.a +0 -0
- lib64/libmomentum_io_gltf.a +0 -0
- lib64/libmomentum_io_legacy_json.a +0 -0
- lib64/libmomentum_io_marker.a +0 -0
- lib64/libmomentum_io_motion.a +0 -0
- lib64/libmomentum_io_shape.a +0 -0
- lib64/libmomentum_io_skeleton.a +0 -0
- lib64/libmomentum_io_urdf.a +0 -0
- lib64/libmomentum_marker_tracker.a +0 -0
- lib64/libmomentum_math.a +0 -0
- lib64/libmomentum_online_qr.a +0 -0
- lib64/libmomentum_process_markers.a +0 -0
- lib64/libmomentum_rerun.a +0 -0
- lib64/libmomentum_simd_constraints.a +0 -0
- lib64/libmomentum_simd_generalized_loss.a +0 -0
- lib64/libmomentum_skeleton.a +0 -0
- lib64/libmomentum_solver.a +0 -0
- pymomentum/geometry.cpython-312-x86_64-linux-gnu.so +0 -0
- pymomentum/solver.cpython-312-x86_64-linux-gnu.so +0 -0
- pymomentum/solver2.cpython-312-x86_64-linux-gnu.so +0 -0
- pymomentum_cpu-0.1.80.post0.dist-info/METADATA +121 -0
- {pymomentum_cpu-0.1.77.post30.dist-info → pymomentum_cpu-0.1.80.post0.dist-info}/RECORD +37 -37
- {pymomentum_cpu-0.1.77.post30.dist-info → pymomentum_cpu-0.1.80.post0.dist-info}/WHEEL +1 -1
- pymomentum_cpu-0.1.77.post30.dist-info/METADATA +0 -208
- {pymomentum_cpu-0.1.77.post30.dist-info → pymomentum_cpu-0.1.80.post0.dist-info}/licenses/LICENSE +0 -0
|
@@ -85,6 +85,7 @@ class VertexProjectionErrorFunctionT : public SkeletonErrorFunctionT<T> {
|
|
|
85
85
|
double calculateJacobian(
|
|
86
86
|
const ModelParametersT<T>& modelParameters,
|
|
87
87
|
const SkeletonStateT<T>& state,
|
|
88
|
+
const MeshStateT<T>& meshState,
|
|
88
89
|
const VertexProjectionConstraintT<T>& constr,
|
|
89
90
|
Ref<Eigen::MatrixX<T>> jac,
|
|
90
91
|
Ref<Eigen::VectorX<T>> res) const;
|
|
@@ -92,6 +93,7 @@ class VertexProjectionErrorFunctionT : public SkeletonErrorFunctionT<T> {
|
|
|
92
93
|
double calculateGradient(
|
|
93
94
|
const ModelParametersT<T>& modelParameters,
|
|
94
95
|
const SkeletonStateT<T>& state,
|
|
96
|
+
const MeshStateT<T>& meshState,
|
|
95
97
|
const VertexProjectionConstraintT<T>& constr,
|
|
96
98
|
Eigen::Ref<Eigen::VectorX<T>> gradient) const;
|
|
97
99
|
|
|
@@ -103,21 +105,10 @@ class VertexProjectionErrorFunctionT : public SkeletonErrorFunctionT<T> {
|
|
|
103
105
|
const Eigen::Vector3<T>& d_restPos,
|
|
104
106
|
Eigen::Vector3<T>& d_worldPos) const;
|
|
105
107
|
|
|
106
|
-
void updateMeshes(const ModelParametersT<T>& modelParameters, const SkeletonStateT<T>& state);
|
|
107
|
-
|
|
108
108
|
const Character& character_;
|
|
109
109
|
|
|
110
110
|
std::vector<VertexProjectionConstraintT<T>> constraints_;
|
|
111
111
|
|
|
112
|
-
std::unique_ptr<MeshT<T>>
|
|
113
|
-
neutralMesh_; // Rest mesh without facial expression basis,
|
|
114
|
-
// used to restore the neutral shape after facial expressions are applied.
|
|
115
|
-
// Not used with there is a shape basis.
|
|
116
|
-
std::unique_ptr<MeshT<T>> restMesh_; // The rest positions of the mesh after shape basis
|
|
117
|
-
// (and potentially facial expression) has been applied
|
|
118
|
-
std::unique_ptr<MeshT<T>>
|
|
119
|
-
posedMesh_; // The posed mesh after the skeleton transforms have been applied.
|
|
120
|
-
|
|
121
112
|
uint32_t maxThreads_;
|
|
122
113
|
|
|
123
114
|
T _nearClip = 1.0f;
|
|
@@ -101,6 +101,7 @@ class VertexVertexDistanceErrorFunctionT : public SkeletonErrorFunctionT<T> {
|
|
|
101
101
|
double calculateJacobian(
|
|
102
102
|
const ModelParametersT<T>& modelParameters,
|
|
103
103
|
const SkeletonStateT<T>& state,
|
|
104
|
+
const MeshStateT<T>& meshState,
|
|
104
105
|
const VertexVertexDistanceConstraintT<T>& constraint,
|
|
105
106
|
Eigen::Ref<Eigen::MatrixX<T>> jacobian,
|
|
106
107
|
T& residual) const;
|
|
@@ -109,6 +110,7 @@ class VertexVertexDistanceErrorFunctionT : public SkeletonErrorFunctionT<T> {
|
|
|
109
110
|
double calculateGradient(
|
|
110
111
|
const ModelParametersT<T>& modelParameters,
|
|
111
112
|
const SkeletonStateT<T>& state,
|
|
113
|
+
const MeshStateT<T>& meshState,
|
|
112
114
|
const VertexVertexDistanceConstraintT<T>& constraint,
|
|
113
115
|
Eigen::Ref<Eigen::VectorX<T>> gradient) const;
|
|
114
116
|
|
|
@@ -116,6 +118,7 @@ class VertexVertexDistanceErrorFunctionT : public SkeletonErrorFunctionT<T> {
|
|
|
116
118
|
void calculateVertexGradient(
|
|
117
119
|
const ModelParametersT<T>& modelParameters,
|
|
118
120
|
const SkeletonStateT<T>& state,
|
|
121
|
+
const MeshStateT<T>& meshState,
|
|
119
122
|
int vertexIndex,
|
|
120
123
|
const Eigen::Vector3<T>& gradientDirection,
|
|
121
124
|
Eigen::Ref<Eigen::VectorX<T>> gradient) const;
|
|
@@ -124,6 +127,7 @@ class VertexVertexDistanceErrorFunctionT : public SkeletonErrorFunctionT<T> {
|
|
|
124
127
|
void calculateVertexJacobian(
|
|
125
128
|
const ModelParametersT<T>& modelParameters,
|
|
126
129
|
const SkeletonStateT<T>& state,
|
|
130
|
+
const MeshStateT<T>& meshState,
|
|
127
131
|
int vertexIndex,
|
|
128
132
|
const Eigen::Vector3<T>& jacobianDirection,
|
|
129
133
|
Eigen::Ref<Eigen::MatrixX<T>> jacobian) const;
|
|
@@ -135,17 +139,9 @@ class VertexVertexDistanceErrorFunctionT : public SkeletonErrorFunctionT<T> {
|
|
|
135
139
|
const Eigen::Vector3<T>& d_restPos,
|
|
136
140
|
Eigen::Vector3<T>& d_worldPos) const;
|
|
137
141
|
|
|
138
|
-
/// Update the meshes with current parameters and state
|
|
139
|
-
void updateMeshes(const ModelParametersT<T>& modelParameters, const SkeletonStateT<T>& state);
|
|
140
|
-
|
|
141
142
|
const Character& character_;
|
|
142
143
|
|
|
143
144
|
std::vector<VertexVertexDistanceConstraintT<T>> constraints_;
|
|
144
|
-
|
|
145
|
-
/// Mesh used to store rest positions
|
|
146
|
-
std::unique_ptr<MeshT<T>> restMesh_;
|
|
147
|
-
/// Mesh used to store posed positions
|
|
148
|
-
std::unique_ptr<MeshT<T>> posedMesh_;
|
|
149
145
|
};
|
|
150
146
|
|
|
151
147
|
} // namespace momentum
|
|
Binary file
|
lib/librerun_sdk.a
CHANGED
|
Binary file
|
lib64/libaxel.a
CHANGED
|
Binary file
|
lib64/libmomentum_app_utils.a
CHANGED
|
Binary file
|
lib64/libmomentum_character.a
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
lib64/libmomentum_common.a
CHANGED
|
Binary file
|
lib64/libmomentum_diff_ik.a
CHANGED
|
Binary file
|
lib64/libmomentum_io.a
CHANGED
|
Binary file
|
lib64/libmomentum_io_common.a
CHANGED
|
Binary file
|
lib64/libmomentum_io_fbx.a
CHANGED
|
Binary file
|
lib64/libmomentum_io_gltf.a
CHANGED
|
Binary file
|
|
Binary file
|
lib64/libmomentum_io_marker.a
CHANGED
|
Binary file
|
lib64/libmomentum_io_motion.a
CHANGED
|
Binary file
|
lib64/libmomentum_io_shape.a
CHANGED
|
Binary file
|
lib64/libmomentum_io_skeleton.a
CHANGED
|
Binary file
|
lib64/libmomentum_io_urdf.a
CHANGED
|
Binary file
|
|
Binary file
|
lib64/libmomentum_math.a
CHANGED
|
Binary file
|
lib64/libmomentum_online_qr.a
CHANGED
|
Binary file
|
|
Binary file
|
lib64/libmomentum_rerun.a
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
lib64/libmomentum_skeleton.a
CHANGED
|
Binary file
|
lib64/libmomentum_solver.a
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: pymomentum-cpu
|
|
3
|
+
Version: 0.1.80.post0
|
|
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.13,>=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; 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 platform_machine == "arm64" and python_version == "3.12"
|
|
34
|
+
Requires-Dist: torch<2.9,>=2.8.0; platform_system == "Darwin" and platform_machine == "arm64" 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)
|
|
@@ -94,8 +94,8 @@ include/momentum/character_solver/state_error_function.h,sha256=qkgPgKcn0FLahMsC
|
|
|
94
94
|
include/momentum/character_solver/transform_pose.h,sha256=PCmBQ8FcXfcR4udOlgUC7-gO7UDCJobCumG7PTlrgy4,3213
|
|
95
95
|
include/momentum/character_solver/trust_region_qr.h,sha256=7OmK1zRgFJxeTumr7bQSs4IakZIY6GRvxO8kkS-8e_w,1905
|
|
96
96
|
include/momentum/character_solver/vertex_error_function.h,sha256=VNgc_P3cnaeaRFpSrxg3VeTWmmLGF_aqkeU1pyyJnYs,4799
|
|
97
|
-
include/momentum/character_solver/vertex_projection_error_function.h,sha256=
|
|
98
|
-
include/momentum/character_solver/vertex_vertex_distance_error_function.h,sha256=
|
|
97
|
+
include/momentum/character_solver/vertex_projection_error_function.h,sha256=o9taDDuKkPf3I0LG0DOXF9aGYFwIIZs-qDUY768X4OY,3414
|
|
98
|
+
include/momentum/character_solver/vertex_vertex_distance_error_function.h,sha256=SLL7Lq4LX5f9I0uSuRt3JHHzyKeGw1grr1k1FG5ssXE,4844
|
|
99
99
|
include/momentum/common/aligned.h,sha256=dZydnVzKP7kwNqaDlAUUi4AdEnrGWqH3TnRKU5hIXYs,4965
|
|
100
100
|
include/momentum/common/checks.h,sha256=D6DFxY8tz84fFDv_SAZkDDx_on8vkP_yL3SrAOMpI64,758
|
|
101
101
|
include/momentum/common/exception.h,sha256=EGY8XU07VHO2o2ZjfQHj48RaC-lYvT-vqTf-7XEtGhE,2524
|
|
@@ -451,39 +451,39 @@ include/rerun/datatypes/view_coordinates.hpp,sha256=qoKlxS-oQDx4_8SE1kGUJvV0LtSy
|
|
|
451
451
|
include/rerun/datatypes/visible_time_range.hpp,sha256=6HIjxAUOXtv7I7g0GflgaRTwLbHHO2WXcyZtMZGqBWk,1778
|
|
452
452
|
include/rerun/third_party/cxxopts.hpp,sha256=zp6SePNC9y1tAD7ryAodVydRCo0leWDwZRmcf4TbWEc,71577
|
|
453
453
|
lib/libarrow.a,sha256=r-TdAGwfxPZxBgy7mIxAqnzmPaQLKj-nIA1loZIso8g,33273126
|
|
454
|
-
lib/libarrow_bundled_dependencies.a,sha256=
|
|
454
|
+
lib/libarrow_bundled_dependencies.a,sha256=4L6SOlQUq3ob_31zwD0IyI2vGxdLARAkrWpOThsAyL4,244362
|
|
455
455
|
lib/librerun_c__linux_x64.a,sha256=JadrhPNhNjgRXq7eo8ZpwZJb4lpOSnvb__ds-OhYPfA,125411548
|
|
456
|
-
lib/librerun_sdk.a,sha256=
|
|
456
|
+
lib/librerun_sdk.a,sha256=uwj8l6ER7-mca2F3RaGME-JoftFf1JWNN83ZIgkbWyI,5552506
|
|
457
457
|
lib/cmake/rerun_sdk/rerun_sdkConfig.cmake,sha256=1L4QI-NJWakooTIuJKqtA_C1EjOCM9FKBBdjQzHEoe4,3346
|
|
458
458
|
lib/cmake/rerun_sdk/rerun_sdkConfigVersion.cmake,sha256=pkP-Dk2ua51-lUaTXsyrol2-gkTmJ9cVmQBOc_YBBXk,3252
|
|
459
459
|
lib/cmake/rerun_sdk/rerun_sdkTargets-release.cmake,sha256=oJmUbA8vo_Af5olAGr7JcaiuRPU4dihtdClmCq11ADY,824
|
|
460
460
|
lib/cmake/rerun_sdk/rerun_sdkTargets.cmake,sha256=BNlHggsz8G6CC3ypFIFo4xMQVy5c2aSaGJr7nQTmLIM,4255
|
|
461
|
-
lib64/libaxel.a,sha256=
|
|
462
|
-
lib64/libmomentum_app_utils.a,sha256=
|
|
463
|
-
lib64/libmomentum_character.a,sha256=
|
|
464
|
-
lib64/libmomentum_character_sequence_solver.a,sha256=
|
|
465
|
-
lib64/libmomentum_character_solver.a,sha256=
|
|
466
|
-
lib64/libmomentum_common.a,sha256=
|
|
467
|
-
lib64/libmomentum_diff_ik.a,sha256=
|
|
468
|
-
lib64/libmomentum_io.a,sha256=
|
|
469
|
-
lib64/libmomentum_io_common.a,sha256=
|
|
470
|
-
lib64/libmomentum_io_fbx.a,sha256=
|
|
471
|
-
lib64/libmomentum_io_gltf.a,sha256=
|
|
472
|
-
lib64/libmomentum_io_legacy_json.a,sha256=
|
|
473
|
-
lib64/libmomentum_io_marker.a,sha256=
|
|
474
|
-
lib64/libmomentum_io_motion.a,sha256=
|
|
475
|
-
lib64/libmomentum_io_shape.a,sha256=
|
|
476
|
-
lib64/libmomentum_io_skeleton.a,sha256=
|
|
477
|
-
lib64/libmomentum_io_urdf.a,sha256=
|
|
478
|
-
lib64/libmomentum_marker_tracker.a,sha256=
|
|
479
|
-
lib64/libmomentum_math.a,sha256=
|
|
480
|
-
lib64/libmomentum_online_qr.a,sha256=
|
|
481
|
-
lib64/libmomentum_process_markers.a,sha256=
|
|
482
|
-
lib64/libmomentum_rerun.a,sha256=
|
|
483
|
-
lib64/libmomentum_simd_constraints.a,sha256=
|
|
484
|
-
lib64/libmomentum_simd_generalized_loss.a,sha256=
|
|
485
|
-
lib64/libmomentum_skeleton.a,sha256=
|
|
486
|
-
lib64/libmomentum_solver.a,sha256=
|
|
461
|
+
lib64/libaxel.a,sha256=3Crn1-tiy0_9eUtooR74v9DNCwc0q1m4__ssxh3Wip4,1225348
|
|
462
|
+
lib64/libmomentum_app_utils.a,sha256=n8ZxShAGSFyBMx452PVTseVmwPwx5TtRLzB8kJev9cI,731204
|
|
463
|
+
lib64/libmomentum_character.a,sha256=LsVHYo8leAv5gYhLWaUQfeYGllz2mGNKCuS2WFQgp_0,2558960
|
|
464
|
+
lib64/libmomentum_character_sequence_solver.a,sha256=fVutnzV1vI85B1G67QiNVAC7uXZTVyBl0cd6aLq6AHk,3344130
|
|
465
|
+
lib64/libmomentum_character_solver.a,sha256=0fryuM9PJP4SSbgH97LOwbSZcqQalYkcmcj3Exe_rck,9031550
|
|
466
|
+
lib64/libmomentum_common.a,sha256=cgjl62Ucjqy1Xk-N6fqB5kIQcA12f9FrB3AEMmJbAZk,812114
|
|
467
|
+
lib64/libmomentum_diff_ik.a,sha256=xPana66iecf8v_86FY06vmfEoq8UADmG3HMEaVwc6kI,4673132
|
|
468
|
+
lib64/libmomentum_io.a,sha256=B6PGcIfrsf72yoGQ9Dn69wzLpi30hT8z199ZF9MgeBA,207354
|
|
469
|
+
lib64/libmomentum_io_common.a,sha256=PdXwCWDHa6BzNdO2vDytlHJr6zMFKYAFDOS5QRUzQ9A,202526
|
|
470
|
+
lib64/libmomentum_io_fbx.a,sha256=BO4Wc4Wm0t9j8KMpT8c0A4R--smVzEp3GBzfXWK-GjQ,1849894
|
|
471
|
+
lib64/libmomentum_io_gltf.a,sha256=sBMeiAehk9t9rY9B7scj-ylDbp1M9FSfOyUU9CB5vfk,4281270
|
|
472
|
+
lib64/libmomentum_io_legacy_json.a,sha256=o2qnobB6URiW5BoiV9rOssoMcfRpvT_P7flD3xAtsGw,714782
|
|
473
|
+
lib64/libmomentum_io_marker.a,sha256=7Vh3bFng055sFn0dvlZWvNTY-UYCt_OYu7gUhhO8k2g,2283748
|
|
474
|
+
lib64/libmomentum_io_motion.a,sha256=KWRozgQNcQ0e6MCt0I-Jt2c0qwSdPYcHZwoSqESwciM,793718
|
|
475
|
+
lib64/libmomentum_io_shape.a,sha256=kF1CrqbI7sIFouzq7bDAv3Szw7w9btBZLxALTQrF7Q0,1365814
|
|
476
|
+
lib64/libmomentum_io_skeleton.a,sha256=Fg1IyxJtKHnvxgYJWCHvbZECNbe82boyDQZmCzvNIPE,2684638
|
|
477
|
+
lib64/libmomentum_io_urdf.a,sha256=NsSiOsNOzPCyC1ckQCm7dFojtgEjcJTvXXVpoTd_bd0,313770
|
|
478
|
+
lib64/libmomentum_marker_tracker.a,sha256=nDEHFeNtzcV00b4rmJZ1XctwYruIp537NzmmPlzqCZ8,1963772
|
|
479
|
+
lib64/libmomentum_math.a,sha256=UlAyp2rVZ2dllPKUEiPZ28CNJmrV1qtzLPNZK74td-8,1641786
|
|
480
|
+
lib64/libmomentum_online_qr.a,sha256=ClkyknVqmaBTNFTmdRqtom9Wkab14EvDdez1ZV1POy8,229302
|
|
481
|
+
lib64/libmomentum_process_markers.a,sha256=AVgQyw9RwpSOXk165nbEbS4tUIXxqW3t3GOFg-sbC38,1250318
|
|
482
|
+
lib64/libmomentum_rerun.a,sha256=5vpsfIYJpaEBTB8Z9LRiQXzZpiHv0j--uNtvZrDK-aA,1137038
|
|
483
|
+
lib64/libmomentum_simd_constraints.a,sha256=YoHu1ZfSUDIdyBYS1iKxqo5w01HSAC9gmXTSXgzi6vA,776086
|
|
484
|
+
lib64/libmomentum_simd_generalized_loss.a,sha256=P5onHb9oGIzIQQyufmccYMKdgISsfiaWJqaFneAa_jc,753012
|
|
485
|
+
lib64/libmomentum_skeleton.a,sha256=xUNZ3fyEeUrgElNEbKS0n_LoE7dyyHNxYzKkGpoHmTk,789844
|
|
486
|
+
lib64/libmomentum_solver.a,sha256=waqGvwXf-euzt1QcUW8gmfo9Y5olDpswu01uScoLYTs,1610354
|
|
487
487
|
lib64/cmake/axel/axel-config.cmake,sha256=gTDQ-zK9pDcMzFmSoKorPKVbCaeUhK6JVGMmui1QX64,1372
|
|
488
488
|
lib64/cmake/axel/axelTargets-release.cmake,sha256=S6GMmgGs-IxZC0qBBz_ADcbD7GrHGS1UXSk4BLkz2JI,823
|
|
489
489
|
lib64/cmake/axel/axelTargets.cmake,sha256=gtHQernEzZl5Kc1GmxzmFX_IXfDNhuXscPsfxzz4fkI,4231
|
|
@@ -492,12 +492,12 @@ lib64/cmake/momentum/momentum-config.cmake,sha256=Ma8BDkEqOBeFAuKj5HaZY8HP2_vXGf
|
|
|
492
492
|
lib64/cmake/momentum/momentumTargets-release.cmake,sha256=1MnXwezsk-IVmp7XWZroPt-wd53biWQXOS2TMrCns_A,13517
|
|
493
493
|
lib64/cmake/momentum/momentumTargets.cmake,sha256=-ZocI6gx3eZTRDo4Ynz5TwiFXwZOBF9JqPAtTq0Mx3c,15954
|
|
494
494
|
pymomentum/axel.cpython-312-x86_64-linux-gnu.so,sha256=G1VS-MOVBiDFe4cxYHzcAoBlkkkb30edSyW92HM3eIE,970201
|
|
495
|
-
pymomentum/geometry.cpython-312-x86_64-linux-gnu.so,sha256=
|
|
495
|
+
pymomentum/geometry.cpython-312-x86_64-linux-gnu.so,sha256=ARzaw9cmSAfOOTDV5AgE01Cdcnzzeu-cthl4_Lv9Dzs,6421841
|
|
496
496
|
pymomentum/marker_tracking.cpython-312-x86_64-linux-gnu.so,sha256=k4XnqajlgOu_5m-CzWrRb8pp0pLzPykWp4ZESnc6Kw8,5515697
|
|
497
497
|
pymomentum/quaternion.py,sha256=-TB1iUxcAVjntIJZW2xS8Mc2uWBUZW_M4sj-CaoMvPY,26956
|
|
498
498
|
pymomentum/skel_state.py,sha256=K2WTFxudHsxR3LuE3ZT5_zzvgjEbrD5KWpWEQXOzUGY,17769
|
|
499
|
-
pymomentum/solver.cpython-312-x86_64-linux-gnu.so,sha256=
|
|
500
|
-
pymomentum/solver2.cpython-312-x86_64-linux-gnu.so,sha256=
|
|
499
|
+
pymomentum/solver.cpython-312-x86_64-linux-gnu.so,sha256=uBAxrkLT4iVZdGcipcO6fKraMIICZllpgm5u3PeHe4o,7379689
|
|
500
|
+
pymomentum/solver2.cpython-312-x86_64-linux-gnu.so,sha256=mBS7QYScc3G64mUhDY4pOVW5jkYJfcDyHLS6WBXO-54,5480609
|
|
501
501
|
pymomentum/trs.py,sha256=jwvOR2DDMpAqOE9zFh0TJnigsDpfRi2guUfayQklVqk,17624
|
|
502
502
|
pymomentum/backend/__init__.py,sha256=6tzrxIJl9w1eM-gqf7YwTZ33WkJ6lnq9h4-TsTuOtuc,476
|
|
503
503
|
pymomentum/backend/skel_state_backend.py,sha256=tsd2iqtkbyvC7kmvZcApKGu16QbkZuEq2_ysWv6p89Y,25883
|
|
@@ -549,7 +549,7 @@ pymomentum_cpu.libs/libezc3d-4a95ab2c.so,sha256=aryLuqXyWoYK9vUVR2guVfBwnWMXInj4
|
|
|
549
549
|
pymomentum_cpu.libs/libre2-985fb83c.so.11,sha256=XtGXahmFHO6kV-x1ROEAdIDmcZVlWGT70joU20kCLYg,718825
|
|
550
550
|
pymomentum_cpu.libs/libtinyxml2-8d10763c.so.11.0.0,sha256=KoK7Wl1HGQLMYBc4NWufsGh6RqNvjpWBQVGKqUoXgrE,163353
|
|
551
551
|
pymomentum_cpu.libs/liburdfdom_model-7b26ae88.so.4.0,sha256=OTjp8aTUsvzgCy4OvW3EWM5G8JP4miw_nYc7brW3U6g,227401
|
|
552
|
-
pymomentum_cpu-0.1.
|
|
553
|
-
pymomentum_cpu-0.1.
|
|
554
|
-
pymomentum_cpu-0.1.
|
|
555
|
-
pymomentum_cpu-0.1.
|
|
552
|
+
pymomentum_cpu-0.1.80.post0.dist-info/METADATA,sha256=6Lm5zoDX3Kgx1EG8nqFUJndbdJmILxGQDWs2A_qqGqM,5803
|
|
553
|
+
pymomentum_cpu-0.1.80.post0.dist-info/WHEEL,sha256=w68C-P-19eefQDUkXMDbcCGbxhqYkKb22VRABwmtpZU,118
|
|
554
|
+
pymomentum_cpu-0.1.80.post0.dist-info/RECORD,,
|
|
555
|
+
pymomentum_cpu-0.1.80.post0.dist-info/licenses/LICENSE,sha256=2m03A-0Ry-Qr0hLHJZV8mNojy_8ZmMBfpLPZdtGljpM,1088
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: pymomentum-cpu
|
|
3
|
-
Version: 0.1.77.post30
|
|
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.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.post30.dist-info → pymomentum_cpu-0.1.80.post0.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|