DynamicVLA icon indicating copy to clipboard operation
DynamicVLA copied to clipboard

Wrist camera is mounted at the wrong angle on Isaac Lab 2.3.2 (README setup), so the released checkpoint fails

Open INHA-SW opened this issue 3 weeks ago • 2 comments

Hi, thanks for releasing DynamicVLA.

With the setup in the current README (Isaac Sim 5.1.0 + Isaac Lab 2.3.2) and an unmodified master (434dc71), the wrist camera image is rotated and shifted for the whole episode: the gripper fingers are out of view from the first frame on. The released dynamic-vla-DOM checkpoint then failed all 80 trials on 10 test environments. Isaac Lab 2.3.2 changed how Camera reads its pose; making only the camera's pose view use USD restores the expected wrist image, and the same 10 environments give 39/80.

This may be the common cause behind several reports on the 5.1 / 2.3.2 stack: #24, #29 (which already noted that the wrist-camera field of view differs), #32, and the later comment in #22. #10 predates the migration (Isaac Lab 2.2.1, where Camera reads poses through XFormPrim), so it is probably unrelated.

Environment

OS / GPU Ubuntu 24.04.4, 1 × RTX PRO 6000 Blackwell Workstation Edition (96 GB), driver 570.211.01, headless. Simulation and policy share the GPU
DynamicVLA master 434dc7105c; all tracked files byte-identical to the repository
Simulation env Python 3.11.15; torch==2.7.0+cu128; isaacsim[all,extscache]==5.1.0; Isaac Lab v2.3.2 (isaaclab.sh --install none, isaaclab 0.54.2); shapely 2.2.0, pyzmq 27.2.0, h5py 3.16.0, imageio-ffmpeg 0.7.0
Policy env Python 3.10.21; torch 2.8.0; transformers 5.2.0; lerobot 0.3.3
Checkpoint hzxie/dynamic-vla-DOM @ c9609d9 (model.safetensors sha256 e3da8b1e…)
Inference time median 0.099 s per chunk ([StepXXX] Inference Time log)

Steps to reproduce

From PROJECT_ROOT/dynamic-vla, the README commands with 10 test environments (one per test category) and -n 8:

# envs10.txt
../tests/1-1_place_franka_avocado05d_O02_01048620_1690.json
../tests/1-1_place_franka_lemon03d_O02_01621718_2818.json
../tests/1-2_place_franka_lemon03d_O03_01050300_20ba.json
../tests/1-3_long-horizon_franka_kiwi05d_O04_01051742_a2d5.json
../tests/2-1_place_franka_lemon04d_O03_01150557_bdac.json
../tests/2-2_place_franka_lemon14d_O03_01250807_bea5.json
../tests/2-3_place_franka_fcan17d_O03_01250504_6336.json
../tests/3-1_place_franka_can99d_O02_01610785_5f89.json
../tests/3-2_place_franka_beer05d_O02_01641571_0bce.json
../tests/3-3_place_franka_beer13d_O02_01660041_2302.json
# simulation env
python simulations/evaluate.py --scene_dir ../scenes --object_dir ../objects --output_dir ../output/evaluation \
    --env_cfg ../envs10.txt --enable_cameras --headless -n 8
# policy env
python scripts/inference.py -p /path/to/dynamic-vla-DOM -r euler -d -s

With --save, look at the wrist view (left third) of any video. Frame 0 is captured right after env.reset(), before any action, so it does not depend on the policy.

Expected and actual

Image
evaluate.py Wrist view 10 environments × 8 trials
as is rotated, fingers out of view, whole episode 0/80
with the camera pose view on USD (patch below) fingertips at the bottom, as expected 39/80

For reference, the same 10 environments × 4 trials gave 19/40 in an Isaac Sim 5.1.0-rc.19 + Isaac Lab 2.3.0 container on the same machine. With the patch, 40 environments × 8 trials (the 10 above and 30 more from test-envs.txt) give 144/320 (45.0 %), against 47.06 % in Table I.

The camera configuration is unchanged (simulations/configs/robot_cfg.py: offset pos=[0.065, 0, 0], rot=[0, 0.707, 0.707, 0] from panda_hand, OpenGL convention), and the intrinsics and USD apertures match the 2.3.0 run. Only the rendered pose differs. In beer05d, which we logged step by step, the policy closes the gripper at about the same step as in the 2.3.0 run, but lifts about 8 steps earlier and the object slips out.

We also reproduced the rotated wrist view and the failures (0/12 on three of these environments) on a fresh install with the same versions on a second machine (Windows 11, RTX 4080). There, --disable_fabric did not change the view (also 0/12).

What changed in Isaac Lab

Up to v2.3.1, isaaclab.sensors.Camera read its pose through isaacsim.core.prims.XFormPrim. From v2.3.2 it builds isaaclab.sim.views.XformPrimView(..., sync_usd_on_fabric_write=True), which reads and writes poses through Fabric when /physics/fabricEnabled is on (isaac-sim/IsaacLab#4374). Keeping physics on Fabric but setting only this view's _use_fabric = False (the patch below) brings back the 2.3.0 image. Since --disable_fabric does not, we have not pinned down the exact step that moves the camera. A similar symptom is reported upstream in isaac-sim/IsaacLab#4261 (comment of 2026-08-24: constructing the view relocates the rendered camera, Isaac Sim 5.1). Isaac Lab main later fixed a related overwrite of live Fabric poses (isaac-sim/IsaacLab#8782), but that is 3.x code; the 2.x line has no release with it.

Workaround we tested

At the start of main() in simulations/evaluate.py:

import isaaclab.sensors.camera.camera as camera_mod

class _UsdPoseXformPrimView(camera_mod.XformPrimView):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        self._use_fabric = False  # camera poses through USD, as before Isaac Lab 2.3.2

camera_mod.XformPrimView = _UsdPoseXformPrimView

This gave the numbers in the second table row. On the Windows machine the patch also restored the view, but one scene there showed intermittent uniform grey wrist frames; we have not looked into that. Using Isaac Lab 2.3.0 or 2.3.1 with Isaac Sim 5.1.0 should avoid the problem as well (tested only with the 2.3.0 container).

simulations/simulate.py and scripts/translate_dataset_seq.py build the same wrist camera, so data generated on 2.3.2 may be affected too; we have not checked that.

A minimal fix could be the patch above in evaluate.py (and the data scripts that build the same camera); pinning Isaac Lab to an earlier 2.3.x in the README would also avoid it. Happy to open a PR if that sounds reasonable, and to share the videos and per-step logs if that helps. This is separate from #30 (gripper actuator settings); our runs did not include that change.

INHA-SW avatar Nov 08 '26 15:11 INHA-SW

Thanks a lot for the detailed report and for pinning this down — you were right on all counts.

Reproduced. Same machine, same released checkpoint (hzxie/dynamic-vla-DOM, model.safetensors sha256 e3da8b1e…), Isaac Sim 5.1.0 + Isaac Lab 2.3.2 (isaaclab 0.54.2), your 10 test environments × 8 trials, simulation and policy on two separate RTX A6000s:

evaluate.py Wrist view at frame 0 10 envs × 8 trials
as is rotated, fingers out of view 0/80
camera pose view on USD fingertips at the bottom 43/80

(yours: 0/80 and 39/80). Per environment with the fix: avocado05d 7/8, lemon03d (1-1) 7/8, lemon03d (1-2) 4/8, kiwi05d long-horizon 0/8, lemon04d 6/8, lemon14d 1/8, fcan17d 0/8, can99d 3/8, beer05d 8/8, beer13d 7/8. Policy inference was ~0.26 s per chunk in both runs.

I also confirmed the mechanism with a minimal data-free scene (Franka + the repo's wrist camera + a few cubes): Isaac Lab 2.2.1, 2.3.2 and 2.3.2 + patch. The 2.2.1 image and the patched 2.3.2 image coincide pixel-for-pixel in geometry; unpatched 2.3.2 renders the camera at a different pose while Camera.data.pos_w still reports the same (stale USD) value in all three cases. Reading the 2.3.2 code, XformPrimView._initialize_fabric() / _sync_fabric_from_usd_once() seed the camera's omni:fabric:worldMatrix from the USD pose on the first get_world_poses() (i.e. in Camera.reset()), and the USD pose of a camera under a physics-driven link is stale under Fabric. Isaac Lab main has since reworked this seeding (isaac-sim/IsaacLab#8782), but there is no 2.x release with it, so I agree a workaround on our side is the right call for now.

Fix. cea6e71 applies your idea in one place, configs.scene_cfg.get_camera_cfg(), so it covers evaluate.py, simulate.py and translate_dataset_seq.py at once. It is a no-op on Isaac Lab < 2.3.2, and DYNAMICVLA_DISABLE_CAMERA_PATCH=1 turns it off for A/B comparisons. The README stays on Isaac Lab 2.3.2 (all 2.3.x releases support Isaac Sim 5.1; only the Camera pose path differs).

Two more things I hit along the way that others on the 5.1 / 2.3.2 stack may run into:

  1. On a multi-GPU machine, --device cuda:N with N > 0 breaks the Fabric view in 2.3.2 outright (UsdStage::SelectPrims: GPU N requested. GPUs other than cuda:0 are not currently supported) and the process hangs. Use CUDA_VISIBLE_DEVICES=N with --device cuda:0 (and --kit_args "--/renderer/multiGpu/enabled=false --/renderer/activeGpu=N" to keep the renderer on the same GPU).
  2. If the policy environment has numpy 2.x while the Isaac Sim 5.1 environment is pinned to numpy 1.26, the action pickles sent over ZeroMQ fail to load on the simulation side (No module named 'numpy._core'). Either keep numpy < 2 in the policy environment or add a small numpy._core → numpy.core alias on the simulation side.

Data generated on 2.3.2 would indeed be affected in the same way; the released DOM dataset was generated before the 2.3.2 migration, so it is not. Thanks again — this was a great write-up.

hzxie avatar Nov 16 '26 05:11 hzxie

Thanks for reproducing this and applying the fix!

INHA-SW avatar Nov 18 '26 05:11 INHA-SW