|
Download examples/simple_client/README.md from Dengliming/StreamPIReal6_3w: direct link, hf CLI and curl.
- Browser
- Download file 589 Bytes
-
https://huggingface.co/Dengliming/StreamPIReal6_3w/resolve/main/examples/simple_client/README.md
- Command line
-
hf download hf://Dengliming/StreamPIReal6_3w/examples/simple_client/README.md
-
curl -L -o README.md https://huggingface.co/Dengliming/StreamPIReal6_3w/resolve/main/examples/simple_client/README.md
589 Bytes
| # Simple Client | |
| A minimal client that sends observations to the server and prints the inference rate. | |
| You can specify which runtime environment to use using the `--env` flag. You can see the available options by running: | |
| ```bash | |
| uv run examples/simple_client/main.py --help | |
| ``` | |
| ## With Docker | |
| ```bash | |
| export SERVER_ARGS="--env ALOHA_SIM" | |
| docker compose -f examples/simple_client/compose.yml up --build | |
| ``` | |
| ## Without Docker | |
| Terminal window 1: | |
| ```bash | |
| uv run examples/simple_client/main.py --env DROID | |
| ``` | |
| Terminal window 2: | |
| ```bash | |
| uv run scripts/serve_policy.py --env DROID | |
| ``` | |