Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
datasets:
|
| 3 |
+
- IPEC-COMMUNITY/libero_10_no_noops_1.0.0_lerobot
|
| 4 |
+
base_model:
|
| 5 |
+
- nvidia/Eagle2-2B
|
| 6 |
+
---
|
| 7 |
+
# Model Card for InstructVLA LIBERO-10
|
| 8 |
+
|
| 9 |
+
- checkpoints: the model in `.pt` format
|
| 10 |
+
|
| 11 |
+
- eval: the evaluation results with 3 random seeds
|
| 12 |
+
|
| 13 |
+
- dataset_statistics.json: the normalization statistics for the dataset
|
| 14 |
+
|
| 15 |
+
## Evaluation:
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
```bash
|
| 19 |
+
|
| 20 |
+
#!/bin/bash
|
| 21 |
+
|
| 22 |
+
CKPT_LIST=(
|
| 23 |
+
"path/to/checkpoints/step-039000-epoch-192-loss=0.0263.pt"
|
| 24 |
+
)
|
| 25 |
+
|
| 26 |
+
# Loop over the checkpoint list and GPUs
|
| 27 |
+
for i in "${!CKPT_LIST[@]}"; do
|
| 28 |
+
GPU_ID=$((i % 8)) # Cycle through GPUs 0-7
|
| 29 |
+
CHECKPOINT="${CKPT_LIST[$i]}"
|
| 30 |
+
|
| 31 |
+
# Run the evaluation script for each checkpoint and GPU
|
| 32 |
+
CUDA_VISIBLE_DEVICES=$GPU_ID python deploy/libero/run_libero_eval.py \
|
| 33 |
+
--model_family instruct_vla \
|
| 34 |
+
--pretrained_checkpoint "$CHECKPOINT" \
|
| 35 |
+
--task_suite_name libero_10 \
|
| 36 |
+
--local_log_dir Libero/release_ensemble \
|
| 37 |
+
--use_length -1 \
|
| 38 |
+
--center_crop True &
|
| 39 |
+
|
| 40 |
+
# --use_length == -1 : execute the ensembled action
|
| 41 |
+
# --use_length >= 1 : execute action_chunk[0:use_length]
|
| 42 |
+
# For this checkpoint, you should use action ensemble.
|
| 43 |
+
|
| 44 |
+
sleep 5
|
| 45 |
+
done
|
| 46 |
+
|
| 47 |
+
# Wait for all background jobs to finish
|
| 48 |
+
wait
|
| 49 |
+
|
| 50 |
+
```
|