File size: 8,885 Bytes
adf2e22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<img src="https://www.infinitescript.com/projects/DynamicVLA/DynamicVLA-Logo.webp" height="100px" align="right">

# DynamicVLA: A Vision-Language-Action Model for Dynamic Object Manipulation

[Haozhe Xie](https://haozhexie.com), [Beichen Wen](https://wenbc21.github.io/), Jiarui Zheng, [Zhaoxi Chen](https://frozenburning.github.io/), [Fangzhou Hong](https://hongfz16.github.io/), [Haiwen Diao](https://paranioar.github.io/), [Ziwei Liu](https://liuziwei7.github.io/)

S-Lab, Nanyang Technological University

[![codefactor badge](https://www.codefactor.io/repository/github/hzxie/DynamicVLA/badge)](https://www.codefactor.io/repository/github/hzxie/DynamicVLA)
![Counter](https://api.infinitescript.com/badgen/count?name=hzxie/DynamicVLA)
[![arXiv](https://img.shields.io/badge/arXiv-2601.22153-b31b1b.svg)](https://arxiv.org/abs/2601.22153)
[![YouTube](https://img.shields.io/badge/Spotlight%20Video-%23FF0000.svg?logo=YouTube&logoColor=white)](https://youtu.be/NmJnHcI04_Q)
[![HuggingFace](https://img.shields.io/badge/%F0%9F%A4%97-DOM%20Dataset-orange)](https://huggingface.co/datasets/hzxie/DOM)

![Teaser](https://github.com/user-attachments/assets/ffc2071a-c4b8-4ebf-9a41-870de65bb3da)

## Changelog🔥

- [2026/04/26] Released training and testing code.
- [2026/01/26] Repository created.

## Cite this work📝

```

@inproceedings{xie2026dynamicvla,

  title     = {{DynamicVLA:} A Vision-Language-Action Model for Dynamic Object Manipulation},

  author    = {Xie, Haozhe and

               Wen, Beichen and

               Zheng, Jiarui and

               Chen, Zhaoxi and

               Hong, Fangzhou and

               Diao, Haiwen and

               Liu, Ziwei},

  booktitle = {NeurIPS},

  year      = {2026}

}

```

## Dataset and Pretrained Models 🛢️

### DOM Dataset

- [DOM Training Set](https://huggingface.co/datasets/hzxie/DOM) – for training DynamicVLA
- [DOM Testing Set](https://gateway.infinitescript.com/?f=DOM-Test) – for benchmarking; includes test configurations and a subset of 3D scenes
- [DOM 3D Objects](https://gateway.infinitescript.com/?f=DOM-3D-Objects) – assets for data generation and benchmarking
- [DOM 3D Scenes](https://gateway.infinitescript.com/?f=DOM-3D-Scenes) – full scene assets for data generation

### Pretrained Models

- [DynamicVLA  (trained on DOM)](https://huggingface.co/hzxie/dynamic-vla-DOM)


## Installation 📥

We recommend using **conda** to create two separate environments:

- one for **model training & inference**
- one for **Isaac Lab simulation & evaluation**

### PyTorch Environment

- Install **Python 3.10** and **PyTorch 2.7.1** *(Other versions should work, but are not fully tested)*
- Install dependencies:

```bash

pip install -r requirements.txt

```

### Isaac Lab Environment

- Install **Python 3.11** *(Other versions should work, but are not fully tested)*
- Install **Isaac Sim 5.1.0** and **Isaac Lab 2.3.2**
  Follow the official guide: https://isaac-sim.github.io/IsaacLab/v2.3.2/source/setup/installation/index.html
- Install additional dependencies:

```bash

pip install shapely pyzmq h5py

```

## Benchmarking Your Policy 🏅

### Prepare scenes and objects

Download [DOM Testing Set](#dom-dataset) (including a subset of DOM 3D scenes) and [DOM 3D Objects](#dom-dataset).

```

PROJECT_ROOT/

├── objects/           # Put DOM 3D Objects here

├── scenes/            # Put DOM 3D Scenes here

|   └── textures       # Put the textures of 3D scenes here

|   └── *.usd          # Put the USD files of 3D scenes here

├── tests/             # Put DOM Testing Set here

|   └── *.json

|── test-envs.txt      # The list of test environments (included in DOM Testing Set)

├── datasets/          # Generated simulated datasets will be stored here

└── dynamic-vla/       # git clone https://github.com/hzxie/DynamicVLA dynamic-vla

    └── runs           # Create folder for evaluation and checkpoints output

```

### Run Policy Evaluation Server

> ⚠️ This step requires the **Isaac Lab environment**

From the `PROJECT_ROOT/dynamic-vla` directory, run:

```bash

python3 simulations/evaluate.py \

    --scene_dir ../scenes \

    --output_dir ../output/evaluation \

    --env_cfg ../test-envs.txt \

    --enable_cameras --headless -n 20 --save

```

**Arguments:**

- `test-envs.txt` are provided by [DOM Testing Set](#dom-dataset)
- `-n 20`: run 20 trials per environment
- `--save`: save evaluation videos to `output_dir`
- `--headless`: run without GUI
- `--enable_cameras`: enable visual observations

### Run Policy Inference

> ⚠️ This step requires the **PyTorch environment**

From the `PROJECT_ROOT/dynamic-vla` directory, run:

```bash

python3 scripts/inference.py \

    -p /path/to/vla-checkpoint \

    -r euler -d -s

```

**Arguments:**

- `-p`: path to the trained model checkpoint
- `-r euler`: use Euler angles for rotation representation
- `-d`: enable **delta actions** *(actions are relative to current state)*
- `-s`: enable **contiguous inference** *(if supported by the model)*

## Simulated Dataset Generation 🧪

> ⚠️ This step requires the **Isaac Lab environment**

### IsaacSim Simulation

From the `PROJECT_ROOT/dynamic-vla` directory, you can generate synthetic data using:

```bash

python3 simulations/simulate.py \  

        --headless  --enable_cameras  --seed 42  --save  --task place

```

Example configuration file: `simulations/configs/sim_cfg.yaml`

**Arguments:**

-   `--task` : task type to simulate. Options: `pick`, `place`, `long-horizon`.
-   `--robot`: robot type used in simulation _(default: `franka`, also supports `piper`)_.
-   `--headless`: run simulation without GUI.
-   `--enable_cameras`: include visual observations in the output dataset.
-   `--debug`: enable debug mode and render trajectories as `.mp4` videos.
-   `--seed`: random seed for simulation _(automatically increments for each run if specified)_.
-   `-n`, `--n_simulations`: number of simulation episodes to generate *(default: `10,000`)*.
-   `--save`: save generated simulation data in HDF5 format.

### Trajectory Replay

After data generation, convert the trajectories into a format compatible with VLA training:

```bash

python3 scripts/translate_dataset_seq.py \

        --dataset_dir ../datasets --output_dir ../datasets-tr \

        --enable_cameras --headless --save

```

**Arguments:**

-   `--dataset_dir`: directory containing the raw simulation datasets.
-   `--output_dir`: directory to store the processed trajectories.
-   `--enable_cameras`: include visual observations in the output dataset.
-   `--headless`: run simulation without GUI.
-   `--save`: save generated simulation data in HDF5 format.

### Convert LeRobot Dataset

We provide a script to convert the generated `.h5` files into the LeRobot dataset *(v2.1 format)*, using **Euler angles** as the rotation representation:

```bash

python3 scripts/create_lerobot_dataset.py \  

        --dataset_dir ../datasets-tr --repo hzxie/DOM --rotation euler

```

This will create lerobot dataset using all the hdf5 datasets in the default output directory.

## Training 👩🏽‍💻

> ⚠️ This step requires the **PyTorch environment**

From the `PROJECT_ROOT/dynamic-vla` directory, run:

```bash

torchrun --nnodes=1  --nproc_per_node=8  --standalone run.py \  

  -c configs/dynamicvla.yaml \  

  -p /path/to/pretrained/model

  -d hzxie/DOM

```

**Arguments:**

-   `--nnodes`: number of compute nodes (machines) used for distributed training
-   `--nproc_per_node`: number of GPUs per node
-   `-c`: path to the training config file
-   `-p`: path to the pretrained model checkpoint *(optional)*
-   `-d`: name of the LeRobot dataset *(v2.1 format)*

### Checkpoint Evaluation

> ⚠️ This step requires the **PyTorch environment**

During training, you can automatically evaluate checkpoints using the following script:

```bash

python3 scripts/eval_checkpoints.py \

        -r euler -d -s -p "*fvit*46k*" \

        --ckpt_dir ./runs/checkpoints/ \  

```

**Arguments:**

-   `--ckpt_dir`: directory containing the checkpoints to be evaluated.
-   `-p`: pattern used to match checkpoint filenames *(supports wildcard patterns)*.
-   `--host`: host address of the evaluation server *(default: `127.0.0.1`)*.
-   `--img_port`: port used for the image stream on the evaluation server *(default: `3186`)*.
-   `--act_port`: port used for the action stream on the evaluation server *(default: `3188`)*.

## License 🗒️

This project is licensed under  [NTU S-Lab License 1.0](https://github.com/hzxie/DynamicVLA/blob/master/LICENSE). Redistribution and use should follow this license.