add chinese
build / setup (compute matrix) (push) Has been cancelled
build / ${{ matrix.label }} (push) Has been cancelled
build / macos-15-arm64-studio (push) Has been cancelled
build / ubuntu-24.04-clang-18-studio (push) Has been cancelled
build / ubuntu-24.04-gcc-14-studio (push) Has been cancelled
build / windows-2025-ninja-studio (push) Has been cancelled
build / ubuntu-24.04-clang-18-wasm (push) Has been cancelled
build / ubuntu-24.04-clang-18-mjx (push) Has been cancelled

This commit is contained in:
2026-08-19 17:14:37 +08:00
parent ac4f431ff5
commit b45b15d153
26 changed files with 4388 additions and 805 deletions
+13 -28
View File
@@ -7,48 +7,33 @@
[pypi-badge]: https://badge.fury.io/py/mujoco-mjx.svg
[pypi]: https://pypi.org/project/mujoco-mjx/
This package is a re-implementation of the
[MuJoCo physics engine](https://github.com/google-deepmind/mujoco) in
[JAX](https://github.com/jax-ml/jax). This library is developed and maintained
by Google DeepMind, and is kept up-to-date with the latest developments in
MuJoCo itself.
本软件包是基于 [JAX](https://github.com/jax-ml/jax) 对 [MuJoCo 物理引擎](https://github.com/google-deepmind/mujoco) 的重新实现。该库由 Google DeepMind 开发和维护,并与 MuJoCo 本身的最新进展保持同步。
The `mujoco-mjx` package is API-compatible with MuJoCo, but is missing some
features found in MuJoCo. See our
[documentation](https://mujoco.readthedocs.io/en/stable/mjx.html) for more
details concerning feature parity.
`mujoco-mjx` 软件包在 API 上与 MuJoCo 兼容,但缺少 MuJoCo 中的某些功能。有关功能特性的对齐情况,请参阅我们的[官方文档](https://mujoco.readthedocs.io/en/stable/mjx.html)。
## Installation
## 安装
The recommended way to install this package is via [PyPI](https://pypi.org/project/mujoco-mjx/):
推荐通过 [PyPI](https://pypi.org/project/mujoco-mjx/) 安装本软件包:
```sh
pip install mujoco-mjx
```
## Usage
## 使用说明
Once installed, the package can be imported via `from mujoco import mjx`. Please
consult our [documentation](https://mujoco.readthedocs.io/en/stable/mjx.html)
for further detail on the package's API.
安装完成后,可以通过 `from mujoco import mjx` 导入该包。有关该包 API 的更多详细信息,请参阅我们的[官方文档](https://mujoco.readthedocs.io/en/stable/mjx.html)。
We recommend going through the tutorial notebook which introduces the MJX API
and trains a reinforcement learning policy in a few minutes: [![Open In
Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/google-deepmind/mujoco/blob/main/mjx/tutorial.ipynb)
我们建议查阅教程 Notebook,它介绍了 MJX API 并在数分钟内训练一个强化学习策略:
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/google-deepmind/mujoco/blob/main/mjx/tutorial.ipynb)
## Versioning
## 版本规范
The `major.minor.micro` portion of the version number matches the version of
MuJoCo that this library provides. Optionally, if we release updates to MJX that
target the same version of MuJoCo, a `.postN` suffix is added, for example
`3.0.1.post2` represents the second update to MJX for MuJoCo 3.0.1.
版本号的 `major.minor.micro` 部分与该库所基于的 MuJoCo 版本保持一致。可选地,如果我们发布了针对同一 MuJoCo 版本的 MJX 自身更新,则会添加 `.postN` 后缀,例如 `3.0.1.post2` 表示针对 MuJoCo 3.0.1 的 MJX 第二次更新。
## License and Disclaimer
## 开源许可证与免责声明
Copyright 2023 DeepMind Technologies Limited
MuJoCo and its libraries are licensed under the Apache License,
Version 2.0. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0.
MuJoCo 及其相关库基于 Apache 许可证 2.0 版(Apache License, Version 2.0)授权。您可在 https://www.apache.org/licenses/LICENSE-2.0 获取许可证副本。
This is not an officially supported Google product.
本项目不是 Google 官方支持的产品。