facebookresearch/momentum
概要
A library for human kinematic motion and numerical optimization solvers to apply human motion
科学・工学計測したスター増加
- 24時間
- 0
- 7日間
- +1
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルMomentum
Momentum provides foundational algorithms for human kinematic motion and numerical optimization solvers to apply human motion in various applications.
Quick Start
Installation
Pre-built binaries are available for Windows, macOS, and Linux:
Install full conda/pixi packages -- recommended
# Install full python package from pixi, including modules with cpp torch dependencies
pixi add pymomentum
# Install full python package from conda, including modules with cpp torch dependencies
conda install -c conda-forge pymomentum
# Install cpp momentum package from pixi, including modules with cpp torch dependencies
pixi add momentum-cpp
# Install cpp momentum package from conda, including modules with cpp torch dependencies
conda install -c conda-forge momentum-cpp
Install PyPI wheels -- these are experimental ⚠️
# Install the NumPy/native core and pure-Python Torch helpers (requires torch>=1.13)
pip install pymomentum-core
# Install core package with optional visualization helpers
pip install "pymomentum-core[viser,rerun]"
# Add diff_geometry and differentiable solvers for CPU PyTorch
pip install pymomentum-cpu
# Install full package including diff_geometry and differentiable solver modules, linked against CUDA PyTorch
pip install "torch>=2.8,<2.9" --index-url https://download.pytorch.org/whl/cu129
pip install pymomentum-gpu
The same layered packages are available from conda-forge. pymomentum remains a
compatibility package that installs the CPU or GPU stack selected by the solver.
The pymomentum-core package owns the NumPy/native modules and pure-Python
Torch helpers, including pymomentum.torch.character. It requires
torch>=1.13 with no upper bound. pymomentum-cpu and pymomentum-gpu are
mutually exclusive add-ons: each installs the compiled diff_geometry and
solver modules and depends on a compatible pymomentum-core release.
⚠️ PyPI support is experimental. For the most stable experience, we recommend using Conda or Pixi.
📦 Browse packages: conda-forge • prefix.dev • PyPI
Building from Source
git clone https://github.com/facebookresearch/momentum
cd momentum
pixi run build # Builds C++ library and Python bindings
pixi run test # Runs tests
pixi run hello_world # Runs example
For detailed instructions, see the comprehensive guides on our website:
- 📘 Python Getting Started - Installation, building from source, troubleshooting
- 📗 C++ Getting Started - Full build instructions, FBX support, examples
📖 Documentation
Visit our documentation website for comprehensive guides, examples, and API references:
- 🐍 Python API Reference - Complete Python API documentation
- ⚙️ C++ API Reference - Complete C++ API documentation
Contributing
Check our contributing guide to learn about how to contribute to the project.
License
Momentum is licensed under the MIT License. A copy of the license can be found here.
関連プロジェクトを探す
読み込み中…