HumanWAM maintains six policy families through eight registered entries: GR00T N1.7 + SONIC, π₀.₅, ImageWAM Δ-flow, Fast-WAM, DiT4DiT and Psi-Zero. ImageWAM provides separate motion-token and joint-reference training modes with distinct action and checkpoint schemas.
- G1 training modes and reproducible commands
- G1 deployment: model services, HTTP clients and SONIC v1.1
- Training augmentation v3: paired RGB noise, JPEG, jitter and state conditioning
- Augmentation v3 verification: 588 CPU checks
- Historical augmentation v2 verification: 456 CPU checks
- Historical augmentation v1 verification: 431 CPU checks
- Two-route CPU validation and limitations
- Installation, repository structure and maintenance
- Base weights, initialization and checkpoint loading
- Runtime validation record
- GR00T N1.7 / SONIC
- π₀.₅ Gaussian / A2A
- ImageWAM Δ-flow H16 / legacy H40
- ImageWAM joint47 v2: prediction, execution and reference labels
- SONIC joint-reference timing and protocol export
- Fast-WAM native Gaussian FM
- Fast-WAM G1 / SONIC: GR00T feedback76/H16 interface
- DiT4DiT
- Psi-Zero / SONIC
The orchestration package lives in packages/humanwam; upstream implementations are
pinned git submodules with their original attribution and licenses. Policies use separate
environments and their native action spaces. New motion-token training defaults to 16
samples. Joint47 v2 uses 16 historical samples and predicts 40 samples, of which 16 source
intervals form the execution segment and the remainder supplies controller lookahead.
This is distinct from historical motion-token H40 checkpoints. Fast-WAM has source and
CPU interface checks but no GPU inference validation here. The new joint mode has no
trained checkpoint or measured real-robot success result.
export HUMANWAM_ROOT="$PWD"
python3 scripts/humanwam/bootstrap.py
python3 -m pip install -e packages/humanwam
humanwam list
humanwam doctorThe original ImageWAM installation, benchmark and historical robot guide follows.
The following section retains the upstream guide for ImageWAM: Do World Action Models Really Need Video Generation, or Just Image Editing? HumanWAM is independently maintained by zuo-kuangji; upstream attribution and licenses are preserved.
Huggingface Models | Paper | Project Page
ImageWAM is a family of world action models built on image-editing foundation models. This repository contains the training and evaluation code used in the paper experiments on LIBERO, LIBERO-plus, and RoboTwin.
We recommend starting with FLUX.2 ImageWAM. It provides 4B and 9B variants based on FLUX.2 [klein] 4B/9B base models, and gives the strongest performance in the series. This repository also provides training and evaluation entrypoints for OmniGen2 ImageWAM and Ovis-U1 ImageWAM. These variants are built on OmniGen2 and Ovis-U1 and also perform well. The Ovis-U1 variant is the smallest model in the series, with only a 1.1B DiT for image editing, while remaining competitive with larger variants in many settings.
All commands below are assumed to run from the repository root.
The real-robot guide provides the two-view, 7D right-arm training configs, verified dataset preparation, 8-A100 training/resume launcher and offline inference example for place multi cups and insert flower. The final 20-epoch cups and flower checkpoints are inference-only releases with matching configs and normalization statistics. No physical rollout success rate is claimed.
The whole-body training guide documents the FLUX.2 4B recipe with 64D motion latents + 12D measured Inspire hand states, current-state conditioning restricted to the action expert, and visual/action FM + endpoint consistency with stop-gradient. It includes the exact LeRobot field mapping, causal windows, per-dataset normalization, portable configuration builder, CPU tests and a mandatory five-update smoke stage. This is a motion-latent training interface, not a direct joint-command controller.
The separate joint47 v2 recipe predicts 29 G1 joint positions,12 measured Inspire states and6D root/pelvis rotation. It uses16 history samples,40 predictions and16 execution intervals at2/30s, leaving24 actual predictions for SONIC lookahead. Root rotation is trained relative to the current IMU heading and restored to world coordinates at the deployment boundary. Numerical state stays in the action branch. The recipe requires new projections, statistics, a hashed source contract and training. Existing recordings support explicit measured/WBC experiments; they do not contain a verified original29D reference. See the source audit. The SONIC bridge checks joint order, full-execution lookahead, clocks, latency and stale plans. It computes physical joint velocities and produces offline protocol bytes without robot actuation.
Chair training/testing data: use
OKayQi/wb_chair, specifically
chair_no_waved.zip and chair_waved.zip. The chair setup uses recorded
action commands as action supervision, not observation states substituted
for action labels. Current observation states are conditioning inputs.
This command-label setup is distinct from the measured-hand-state recipe
above; the current 76D adapter does not automatically switch to chair command fields.
- Repository Structure
- Basic Installation
- Model Preparation
- Data Preparation
- Benchmark Environments
- Training
- Evaluation
- Release Checkpoints
- Acknowledgements
- Citation
ImageWAM/
├── configs/ # Model, data, task, and benchmark configs
├── docs/ # More detailed setup, data, model, and dependency notes
├── experiments/ # LIBERO / RoboTwin evaluation managers
├── scripts/
│ ├── flux2/ # FLUX.2 ImageWAM training and evaluation entrypoints
│ ├── omnigen2/ # OmniGen2 ImageWAM training and evaluation entrypoints
│ ├── ovis_u1/ # Ovis-U1 ImageWAM training and evaluation entrypoints
│ ├── data/ # Data processing utilities
│ └── setup/ # Benchmark environment setup helpers
├── src/imagewam/ # Core ImageWAM code
└── third_party/ # Vendored benchmark / model adapter code
You also need to prepare datasets locally, usually under ./data, pretrained model weights, and generated ActionDiT initialization weights, usually under ./checkpoints.
ImageWAM uses uv to manage Python dependencies. Our recommended tested environment is CUDA 11.8, Python 3.11, and PyTorch 2.7.1.
uv sync --python 3.11 --extra shared
source .venv/bin/activateCopy the local configuration template:
cp .env.example .env.localShell entrypoints under scripts/ automatically read .env.local. You can write local paths there, or export them directly in your shell.
Common variables:
export DATA_ROOT=/path/to/datasets # Each dataset uses its own data root.
export MODEL_ROOT=/path/to/model/checkpoints # Used to store checkpoints.
export OUTPUT_ROOT=./runsThe basic installation only includes shared dependencies. Source paths, model weights, and extra dependencies for each model variant are described below.
This section prepares the required external model repositories and model downloads.
We first describe the recommended FLUX.2 ImageWAM setup.
If you use a FLUX.2 variant, switch transformers to the FLUX-compatible version:
uv pip install "transformers==4.56.1"Clone the FLUX.2 source code and check out the pinned commit:
git clone https://github.com/black-forest-labs/flux2 third_party/flux2
git -C third_party/flux2 checkout 50fe5162777813d869182b139e83b10743caef15
export FLUX2_SRC="$(pwd)/third_party/flux2"Download FLUX.2 weights. Some FLUX.2 Hugging Face repositories may require access approval first.
# By default, this downloads FLUX.2 klein-base-4B, the autoencoder,
# and the 9B variant.
bash scripts/flux2/prepare_flux2_files.shFor the default 4B variant, set:
export FLUX2_MODEL_PATH="${MODEL_ROOT:-$(pwd)/checkpoints}/flux2/FLUX.2-klein-base-4B/flux-2-klein-base-4b.safetensors"
export FLUX2_AE_MODEL_PATH="${MODEL_ROOT:-$(pwd)/checkpoints}/flux2/FLUX.2-dev/ae.safetensors"
export FLUX2_QWEN3_MODEL_SPEC=Qwen/Qwen3-4BTo use the 9B variant, set FLUX2_VARIANT=9b and point FLUX2_MODEL_PATH to the corresponding 9B weights.
OmniGen2 ImageWAM is based on VectorSpaceLab/OmniGen2@18e6f9d5271b517fcb32e999f10df943ae9b8f20, with an additional patch required by ImageWAM.
The OmniGen2 variant uses transformers==4.51.3. If you previously switched versions for FLUX.2, switch back before running OmniGen2.
git clone https://github.com/yuyangalin/OmniGen2 third_party/OmniGen2
export OMNIGEN2_SRC="$(pwd)/third_party/OmniGen2"
export OMNIGEN2_MODEL_PATH=/path/to/OmniGen2/model
export QWEN_MODEL_PATH=/path/to/Qwen2.5-VL-3B-InstructThis repository keeps Ovis-U1 code under third_party/ovis_u1_hf.
Ovis-U1 scripts use the Hugging Face model ID AIDC-AI/Ovis-U1-3B by default:
export OVIS_U1_MODEL_PATH=AIDC-AI/Ovis-U1-3BYou can also set OVIS_U1_MODEL_PATH to a local weights directory.
For LIBERO and RoboTwin, we use the preprocessed datasets provided by FastWAM.
mkdir -p data/libero_mujoco3.3.2
huggingface-cli download yuanty/LIBERO-fastwam \
--repo-type dataset \
--local-dir data/libero_mujoco3.3.2After downloading the archives, extract them:
cd data/libero_mujoco3.3.2
for f in *.tar.gz; do
tar -xzf "$f"
done
cd ../..Expected directory structure:
data/libero_mujoco3.3.2/
├── libero_10_no_noops_lerobot/
├── libero_goal_no_noops_lerobot/
├── libero_object_no_noops_lerobot/
└── libero_spatial_no_noops_lerobot/
Set this when running LIBERO training or evaluation:
export DATA_ROOT="$(pwd)/data/libero_mujoco3.3.2"mkdir -p data/robotwin2.0
huggingface-cli download yuanty/robotwin2.0-fastwam \
--repo-type dataset \
--local-dir data/robotwin2.0After downloading all split archives, concatenate and extract them:
cd data/robotwin2.0
cat robotwin2.0.tar.gz.part-* | tar -xzf -
cd ../..Expected directory structure:
data/robotwin2.0/
└── robotwin2.0/
├── data/
├── meta/
└── videos/
Set these when running RoboTwin training or evaluation:
export DATA_ROOT="$(pwd)/data/robotwin2.0"
export ROBOTWIN_ROOT="${DATA_ROOT}/robotwin2.0"To filter no-op frames in RoboTwin, we use a precomputed JSON file. It can be generated with:
bash scripts/data/precompute_noops_lerobot.shBy default, this generates ${ROBOTWIN_ROOT}/nonidle_ranges.json.
Benchmark environments are only required for evaluation.
# LIBERO
bash scripts/setup/_install_libero_env.sh
# LIBERO-plus
bash scripts/setup/_install_libero_plus_env.shEvaluation scripts use the following variable to activate the worker environment, because workers are launched in separate processes:
export LIBERO_WORKER_ENV_SOURCE=/path/to/imagewam/.venv/bin/activateRoboTwin evaluation code is kept under third_party/RoboTwin, but assets and local simulator dependencies still need to be prepared on your machine.
bash scripts/setup/install_robotwin_env.sh
ln -sfn "$(pwd)/experiments/robotwin/imagewam_policy" "$(pwd)/third_party/RoboTwin/policy/imagewam_policy"For asset preparation details, see third_party/RoboTwin/README.vendor.md and the upstream RoboTwin documentation.
Training wrappers automatically generate ActionDiT initialization weights if ACTION_INIT does not exist. To force regeneration, set REBUILD_ACTION_INIT=true.
LIBERO:
export DATA_ROOT="$(pwd)/data/libero_mujoco3.3.2"
GPU_PER_NODE=8 \
TASK_TYPE=libero \
FLUX2_VARIANT=4b \
PRECOMPUTE_QWEN3_CACHE=true \
bash scripts/flux2/run_train_flux2_klein_imagewam.shRoboTwin:
export DATA_ROOT="$(pwd)/data/robotwin2.0"
export ROBOTWIN_ROOT="${DATA_ROOT}/robotwin2.0"
GPU_PER_NODE=8 \
TASK_TYPE=robotwin \
FLUX2_VARIANT=4b \
PRECOMPUTE_QWEN3_CACHE=true \
bash scripts/flux2/run_train_flux2_klein_imagewam.shCommon FLUX.2 overrides:
export FLUX2_VARIANT=4b # 4b or 9b
export ZERO_STAGE=1 # 1/zero1 or 2/zero2
export QWEN_CACHE_DIR=/path/to/qwen3/cache # Optional; generated automatically if unset.
export ACTION_INIT=/path/to/action_dit_flux2_init.pt # Optional; generated automatically if unset.LIBERO:
export DATA_ROOT="$(pwd)/data/libero_mujoco3.3.2"
GPU_PER_NODE=8 \
TASK_TYPE=libero \
PRECOMPUTE_QWEN_CACHE=true \
bash scripts/omnigen2/run_train_imagewam.shRoboTwin:
export DATA_ROOT="$(pwd)/data/robotwin2.0"
export ROBOTWIN_ROOT="${DATA_ROOT}/robotwin2.0"
GPU_PER_NODE=8 \
TASK_TYPE=robotwin \
PRECOMPUTE_QWEN_CACHE=true \
bash scripts/omnigen2/run_train_imagewam.shLIBERO:
export DATA_ROOT="$(pwd)/data/libero_mujoco3.3.2"
GPU_PER_NODE=8 \
TASK_TYPE=libero \
bash scripts/ovis_u1/run_train_ovis_u1_imagewam.shRoboTwin:
export DATA_ROOT="$(pwd)/data/robotwin2.0"
export ROBOTWIN_ROOT="${DATA_ROOT}/robotwin2.0"
GPU_PER_NODE=8 \
TASK_TYPE=robotwin \
bash scripts/ovis_u1/run_train_ovis_u1_imagewam.shEvaluation scripts support directly specifying a checkpoint:
export CKPT_PATH=/path/to/model.pt
export DATASET_STATS_PATH=/path/to/dataset_stats.jsonThey also support deriving paths from a training run directory and step:
export EXP_PATH=/path/to/runs/{task}/{run_id}
export EVAL_TRAIN_STEP=10000After setting EXP_PATH, the wrappers use:
CKPT_PATH=${EXP_PATH}/checkpoints/weights/step_${EVAL_TRAIN_STEP}.pt
DATASET_STATS_PATH=${EXP_PATH}/dataset_stats.json
Set the number of GPUs for evaluation with NUM_GPUS.
LIBERO:
NUM_GPUS=8 \
FLUX2_VARIANT=4b \
bash scripts/flux2/run_eval_flux2_libero.shLIBERO-plus:
NUM_GPUS=8 \
FLUX2_VARIANT=9b \
bash scripts/flux2/run_eval_flux2_libero_plus.shRoboTwin:
NUM_GPUS=8 \
FLUX2_VARIANT=4b \
bash scripts/flux2/run_eval_flux2_robotwin.shRoboTwin evaluation enables EVALUATION.skip_get_obs_within_replan=true by default to speed up evaluation. If you need to save fully rendered videos, set SKIP_GET_OBS_WITHIN_REPLAN=false.
LIBERO:
NUM_GPUS=8 bash scripts/omnigen2/run_eval_omnigen2_libero.shLIBERO-plus:
NUM_GPUS=8 bash scripts/omnigen2/run_eval_omnigen2_libero_plus.shRoboTwin:
NUM_GPUS=8 bash scripts/omnigen2/run_eval_omnigen2_robotwin.shLIBERO-plus:
NUM_GPUS=8 bash scripts/ovis_u1/run_eval_ovis_libero_plus.shThe following FLUX.2 ImageWAM checkpoints are available on Hugging Face:
yuyangalin/ImageWAM-FLUX.2-4B-LIBEROyuyangalin/ImageWAM-FLUX.2-4B-RoboTwinyuyangalin/ImageWAM-FLUX.2-9B-LIBERO
Checkpoints of other variants will be released later. Stay focused!
mkdir -p checkpoints/imagewam_release/libero/flux2_klein_4b
huggingface-cli download yuyangalin/ImageWAM-FLUX.2-4B-LIBERO \
--repo-type model \
--local-dir checkpoints/imagewam_release/libero/flux2_klein_4b
mkdir -p checkpoints/imagewam_release/robotwin/flux2_klein_4b
huggingface-cli download yuyangalin/ImageWAM-FLUX.2-4B-RoboTwin \
--repo-type model \
--local-dir checkpoints/imagewam_release/robotwin/flux2_klein_4b
mkdir -p checkpoints/imagewam_release/libero/flux2_klein_9b
huggingface-cli download yuyangalin/ImageWAM-FLUX.2-9B-LIBERO \
--repo-type model \
--local-dir checkpoints/imagewam_release/libero/flux2_klein_9bEach model directory is expected to contain model.pt, dataset_stats.json, and the original training config, usually train_config.yaml.
Example: evaluate the released FLUX.2 LIBERO checkpoint:
export CKPT_PATH="$(pwd)/checkpoints/imagewam_release/libero/flux2_klein_4b/model.pt"
export DATASET_STATS_PATH="$(pwd)/checkpoints/imagewam_release/libero/flux2_klein_4b/dataset_stats.json"
NUM_GPUS=8 FLUX2_VARIANT=4b bash scripts/flux2/run_eval_flux2_libero.shImageWAM is built on several codebases:
- Image-editing backbones built in or used by this repository: OmniGen2, FLUX.2, and Ovis-U1.
- This repository's code framework is based on FastWAM. We thank the authors for their excellent work.
- This codebase uses evaluation code from RoboTwin and LIBERO/LIBERO-plus.
If you find this repository helpful for your research, please cite our paper:
@misc{zhang2026imagewam,
title={ImageWAM: Do World Action Models Really Need Video Generation, or Just Image Editing?},
author={Yuyang Zhang and Wenyao Zhang and Zekun Qi and He Zhang and Haitao Lin and Jingbo Zhang and Yao Mu and Xiaokang Yang and Wenjun Zeng and Xin Jin},
year={2026},
eprint={2606.19531},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2606.19531},
}