Add guided reproduction, launch commands and validation status
Browse files
README.md
CHANGED
|
@@ -40,6 +40,14 @@ Each task is evaluated at four scene levels, with ten trials per level and a
|
|
| 40 |
[Episode CSV](https://github.com/robodemo-2027/RoboDemo/blob/main/results/c45/episodes.csv) |
|
| 41 |
[Episode JSONL](https://github.com/robodemo-2027/RoboDemo/blob/main/results/c45/episodes.jsonl)
|
| 42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
## Quickstart
|
| 44 |
|
| 45 |
### 1. Install The Evaluation Environment
|
|
@@ -100,12 +108,15 @@ Trial seeds, reference identities and normalization are already included in
|
|
| 100 |
From the repository root, select a GPU allocated to your job:
|
| 101 |
|
| 102 |
```bash
|
| 103 |
-
CUDA_VISIBLE_DEVICES=0
|
| 104 |
-
|
|
|
|
|
|
|
|
|
|
| 105 |
--checkpoint checkpoints/RoboDemo-c45/pytorch_model.pt \
|
| 106 |
--data-root "$ROBODEMO_DATA_ROOT" \
|
| 107 |
--task-level L0_TwoRobotFoldTowel-v1 \
|
| 108 |
-
--max-episodes 1 \
|
| 109 |
--output outputs/c45-smoke
|
| 110 |
```
|
| 111 |
|
|
@@ -134,8 +145,9 @@ describes all model choices and output fields.
|
|
| 134 |
|
| 135 |
The shared [Docker environment](https://github.com/robodemo-2027/RoboDemo/tree/main/environments)
|
| 136 |
provides the build recipe, pinned dependencies, recorded native environment
|
| 137 |
-
and driver/asset checks for all five models.
|
| 138 |
-
|
|
|
|
| 139 |
|
| 140 |
This checkpoint has two launchers:
|
| 141 |
|
|
@@ -146,7 +158,24 @@ Set `CUDA_VISIBLE_DEVICES` to allocated GPUs and start with
|
|
| 146 |
`--workers-per-gpu 1`. Use `--max-episodes` to control the global trial count.
|
| 147 |
[Memory sizing and complete commands](https://github.com/robodemo-2027/RoboDemo/blob/main/docs/evaluation-scaling.md)
|
| 148 |
explain the 32-GB/80-GB starting configurations, restart and result merging.
|
| 149 |
-
32 GB is a recommendation, not a measured minimum.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 150 |
|
| 151 |
[Minimal inference examples](https://github.com/robodemo-2027/RoboDemo/tree/main/examples)
|
| 152 |
include a real human video, robot observations/states/actions, and a separate
|
|
|
|
| 40 |
[Episode CSV](https://github.com/robodemo-2027/RoboDemo/blob/main/results/c45/episodes.csv) |
|
| 41 |
[Episode JSONL](https://github.com/robodemo-2027/RoboDemo/blob/main/results/c45/episodes.jsonl)
|
| 42 |
|
| 43 |
+
## Choose Your First Run
|
| 44 |
+
|
| 45 |
+
- **Explore without a GPU:** clone the code and run `python examples/predict_actions.py --inspect-only` to inspect the included video, state and action arrays (NumPy required).
|
| 46 |
+
- **Evaluate this checkpoint:** follow the one-episode command below, then increase `--max-episodes`.
|
| 47 |
+
- **Learn the interfaces:** the [two minimal examples](https://github.com/robodemo-2027/RoboDemo/blob/main/examples/README.md) cover human-video-to-action inference (Full50 weights) and raw-media reference retrieval (CPU supported).
|
| 48 |
+
|
| 49 |
+
[Reproduction navigator and validation status](https://github.com/robodemo-2027/RoboDemo/blob/main/docs/reproduce.md)
|
| 50 |
+
|
| 51 |
## Quickstart
|
| 52 |
|
| 53 |
### 1. Install The Evaluation Environment
|
|
|
|
| 108 |
From the repository root, select a GPU allocated to your job:
|
| 109 |
|
| 110 |
```bash
|
| 111 |
+
export CUDA_VISIBLE_DEVICES=0
|
| 112 |
+
python environments/check_environment.py --assets \
|
| 113 |
+
--output outputs/c45-environment.json &&
|
| 114 |
+
|
| 115 |
+
bash scripts/evaluate/c45-single.sh \
|
| 116 |
--checkpoint checkpoints/RoboDemo-c45/pytorch_model.pt \
|
| 117 |
--data-root "$ROBODEMO_DATA_ROOT" \
|
| 118 |
--task-level L0_TwoRobotFoldTowel-v1 \
|
| 119 |
+
--workers-per-gpu 1 --max-episodes 1 \
|
| 120 |
--output outputs/c45-smoke
|
| 121 |
```
|
| 122 |
|
|
|
|
| 145 |
|
| 146 |
The shared [Docker environment](https://github.com/robodemo-2027/RoboDemo/tree/main/environments)
|
| 147 |
provides the build recipe, pinned dependencies, recorded native environment
|
| 148 |
+
and driver/asset checks for all five models. This is currently a build recipe,
|
| 149 |
+
not a downloadable prebuilt image. Image publication and a container GPU run
|
| 150 |
+
remain on the [validation roadmap](https://github.com/robodemo-2027/RoboDemo/blob/main/docs/reproduce.md#validation-status).
|
| 151 |
|
| 152 |
This checkpoint has two launchers:
|
| 153 |
|
|
|
|
| 158 |
`--workers-per-gpu 1`. Use `--max-episodes` to control the global trial count.
|
| 159 |
[Memory sizing and complete commands](https://github.com/robodemo-2027/RoboDemo/blob/main/docs/evaluation-scaling.md)
|
| 160 |
explain the 32-GB/80-GB starting configurations, restart and result merging.
|
| 161 |
+
32 GB is a recommendation, not a measured minimum. Start with one worker on
|
| 162 |
+
both 32-GB and 80-GB cards; on 80 GB, try two only after profiling a complete
|
| 163 |
+
episode. Reducing episode count does not reduce per-worker VRAM.
|
| 164 |
+
|
| 165 |
+
For a small eight-GPU run on eight allocated devices:
|
| 166 |
+
|
| 167 |
+
```bash
|
| 168 |
+
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 \
|
| 169 |
+
bash scripts/evaluate/c45-8gpu.sh \
|
| 170 |
+
--checkpoint checkpoints/RoboDemo-c45/pytorch_model.pt \
|
| 171 |
+
--data-root "$ROBODEMO_DATA_ROOT" \
|
| 172 |
+
--workers-per-gpu 1 --max-episodes 8 \
|
| 173 |
+
--output outputs/c45-8gpu-smoke
|
| 174 |
+
```
|
| 175 |
+
|
| 176 |
+
This schedules eight episodes total. Omit `--max-episodes` for the complete
|
| 177 |
+
plan. The launcher is released; native eight-GPU execution remains to be
|
| 178 |
+
validated. [Measured configurations](https://github.com/robodemo-2027/RoboDemo/blob/main/docs/reproduce.md#validation-status).
|
| 179 |
|
| 180 |
[Minimal inference examples](https://github.com/robodemo-2027/RoboDemo/tree/main/examples)
|
| 181 |
include a real human video, robot observations/states/actions, and a separate
|