Instructions to use maximellerbach/omx-multicubes-mujoco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use maximellerbach/omx-multicubes-mujoco with LeRobot:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
README: drive the environment as a sim robot, in-process or served
Browse files
README.md
CHANGED
|
@@ -47,14 +47,16 @@ From a LeRobot checkout, start the server (the image installs `requirements.txt`
|
|
| 47 |
lerobot-env-server --docker --envhub=maximellerbach/omx-multicubes-mujoco
|
| 48 |
```
|
| 49 |
|
| 50 |
-
Then
|
| 51 |
|
| 52 |
```bash
|
| 53 |
-
lerobot-rollout --robot.type=
|
| 54 |
-
--robot.
|
| 55 |
--policy.path=maximellerbach/omx_multicubes_act --fps=30
|
| 56 |
```
|
| 57 |
|
|
|
|
|
|
|
| 58 |
## In-process
|
| 59 |
|
| 60 |
```python
|
|
|
|
| 47 |
lerobot-env-server --docker --envhub=maximellerbach/omx-multicubes-mujoco
|
| 48 |
```
|
| 49 |
|
| 50 |
+
Then drive it as a robot, here with a policy:
|
| 51 |
|
| 52 |
```bash
|
| 53 |
+
lerobot-rollout --robot.type=sim --robot.endpoint=tcp/127.0.0.1:7448 \
|
| 54 |
+
--robot.env.type=envhub --robot.env.hub_path=maximellerbach/omx-multicubes-mujoco --robot.env.task=omx_multicubes \
|
| 55 |
--policy.path=maximellerbach/omx_multicubes_act --fps=30
|
| 56 |
```
|
| 57 |
|
| 58 |
+
Without `--robot.endpoint`, the same command runs the environment in-process (with `--robot.env.trust_remote_code=true` and the requirements installed next to LeRobot). `lerobot-eval` takes the same options as `--env.*`, e.g. `--env.type=envhub --env.hub_path=maximellerbach/omx-multicubes-mujoco --env.task=omx_multicubes`.
|
| 59 |
+
|
| 60 |
## In-process
|
| 61 |
|
| 62 |
```python
|