项目 / facebookresearch/jepa-wms
Code, data and weights for the paper **What drives success in physical planning with Joint-Embedding Predictive World Models?**
本站整理,非 GitHub 官方 description。
官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。
以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。
该项目用conda装FFmpeg、uv管理Python依赖,支持分布式与单GPU训练,并可选训练跨环境或域内解码头用于可视化和轻量评估。
仓库为 DROID / RoboCasa、Metaworld、Push-T、PointMaze、Wall 等环境提供预训练的 JEPA-WM 权重,以及相应的对照模型。可选的 VM2M 解码头用于可视化和 rollout 解码,源文写明训练世界模型或做规划评测时并非必需。安装使用 conda 管理 FFmpeg 等系统依赖,再用 uv 安装 Python 包;配置数据、日志和检查点路径后即可按仓库说明训练或评测。
来自 GitHub 仓库 README / 主页介绍正文,正文较长,已截断:保留前 20000 字符(原始 29,498 字节),完整内容见 GitHub 仓库。
<h1 align="center">
<p>🌍 <b>JEPA-WMs</b></p>
</h1>
<h2 align="center">
<p><i>What Drives Success in Physical Planning with <br> Joint-Embedding Predictive World Models?</i></p>
</h2>
<div align="center" style="line-height: 1;">
<a href="https://github.com/facebookresearch/jepa-wms" target="_blank" style="margin: 2px;"><img alt="Github" src="https://img.shields.io/badge/Github-facebookresearch/jepa--wms-black?logo=github" style="display: inline-block; vertical-align: middle;"/></a>
<a href="https://huggingface.co/datasets/facebook/jepa-wms" target="_blank" style="margin: 2px;"><img alt="HuggingFace Dataset" src="https://img.shields.io/badge/🤗%20Dataset-facebook/jepa--wms-ffc107" style="display: inline-block; vertical-align: middle;"/></a>
<a href="https://huggingface.co/facebook/jepa-wms" target="_blank" style="margin: 2px;"><img alt="HuggingFace Models" src="https://img.shields.io/badge/🤗%20Models-facebook/jepa--wms-ffc107" style="display: inline-block; vertical-align: middle;"/></a>
<a href="https://www.arxiv.org/abs/2512.24497" target="_blank" style="margin: 2px;"><img alt="ArXiv" src="https://img.shields.io/badge/arXiv-2512.24497-b5212f?logo=arxiv" style="display: inline-block; vertical-align: middle;"/></a>
</div>
<br>
<p align="center">
<b><a href="https://ai.facebook.com/research/">Meta AI Research, FAIR</a></b>
</p>
<p align="center">
<a href="https://x.com/BasileTerv987">Basile Terver</a>,
Tsung-Yen Yang,
Jean Ponce,
Adrien Bardes,
Yann LeCun
</p>
<p align="center">
PyTorch implementation, data and pretrained models for <b>JEPA-WMs</b>.
</p>
<p align="center">
<img src="assets/train_plan_schema.png" alt="JEPA-WMs diagram" width="800">
</p>
---
## 🎯 Pretrained Models
We provide pretrained [JEPA-WMs](https://arxiv.org/abs/2512.24497), as well as [DINO-WM](https://arxiv.org/abs/2411.04983) and [V-JEPA-2-AC(fixed)](https://arxiv.org/abs/2506.09985) baseline models for various environments.
> **Download options**: Models are available on [🤗 Hugging Face Hub](https://huggingface.co/facebook/jepa-wms) (recommended) or via direct download from fbaipublicfiles.
### JEPA-WM Models
| Environment | Resolution | Encoder | Pred. Depth | Weights |
|-------------|------------|---------|-------------|---------|
| DROID & RoboCasa | 256×256 | DINOv3 ViT-L/16 | 12 | [🤗 HF](https://huggingface.co/facebook/jepa-wms/blob/main/jepa_wm_droid.pth.tar) / [direct](https://dl.fbaipublicfiles.com/jepa-wms/droid_jepa-wm_noprop.pth.tar) |
| Metaworld | 224×224 | DINOv2 ViT-S/14 | 6 | [🤗 HF](https://huggingface.co/facebook/jepa-wms/blob/main/jepa_wm_metaworld.pth.tar) / [direct](https://dl.fbaipublicfiles.com/jepa-wms/mw_jepa-wm.pth.tar) |
| Push-T | 224×224 | DINOv2 ViT-S/14 | 6 | [🤗 HF](https://huggingface.co/facebook/jepa-wms/blob/main/jepa_wm_pusht.pth.tar) / [direct](https://dl.fbaipublicfiles.com/jepa-wms/pt_jepa-wm.pth.tar) |
| PointMaze | 224×224 | DINOv2 ViT-S/14 | 6 | [🤗 HF](https://huggingface.co/facebook/jepa-wms/blob/main/jepa_wm_pointmaze.pth.tar) / [direct](https://dl.fbaipublicfiles.com/jepa-wms/mz_jepa-wm.pth.tar) |
| Wall | 224×224 | DINOv2 ViT-S/14 | 6 | [🤗 HF](https://huggingface.co/facebook/jepa-wms/blob/main/jepa_wm_wall.pth.tar) / [direct](https://dl.fbaipublicfiles.com/jepa-wms/wall_jepa-wm.pth.tar) |
### DINO-WM Baseline Models
| Environment | Resolution | Encoder | Pred. Depth | Weights |
|-------------|------------|---------|-------------|---------|
| DROID & RoboCasa | 224×224 | DINOv2 ViT-S/14 | 6 | [🤗 HF](https://huggingface.co/facebook/jepa-wms/blob/main/dino_wm_droid.pth.tar) / [direct](https://dl.fbaipublicfiles.com/jepa-wms/droid_dino-wm_noprop.pth.tar) |
| Metaworld | 224×224 | DINOv2 ViT-S/14 | 6 | [🤗 HF](https://huggingface.co/facebook/jepa-wms/blob/main/dino_wm_metaworld.pth.tar) / [direct](https://dl.fbaipublicfiles.com/jepa-wms/mw_dino-wm.pth.tar) |
| Push-T | 224×224 | DINOv2 ViT-S/14 | 6 | [🤗 HF](https://huggingface.co/facebook/jepa-wms/blob/main/dino_wm_pusht.pth.tar) / [direct](https://dl.fbaipublicfiles.com/jepa-wms/pt_dino-wm.pth.tar) |
| PointMaze | 224×224 | DINOv2 ViT-S/14 | 6 | [🤗 HF](https://huggingface.co/facebook/jepa-wms/blob/main/dino_wm_pointmaze.pth.tar) / [direct](https://dl.fbaipublicfiles.com/jepa-wms/mz_dino-wm.pth.tar) |
| Wall | 224×224 | DINOv2 ViT-S/14 | 6 | [🤗 HF](https://huggingface.co/facebook/jepa-wms/blob/main/dino_wm_wall.pth.tar) / [direct](https://dl.fbaipublicfiles.com/jepa-wms/wall_dino-wm.pth.tar) |
### V-JEPA-2-AC(fixed) Baseline Model
| Environment | Resolution | Encoder | Pred. Depth | Weights |
|-------------|------------|---------|-------------|---------|
| DROID & RoboCasa | 256×256 | V-JEPA-2 ViT-G/16 | 24 | [🤗 HF](https://huggingface.co/facebook/jepa-wms/blob/main/vjepa2_ac_droid.pth.tar) / [direct](https://dl.fbaipublicfiles.com/jepa-wms/droid_vj2ac_noprop.pth.tar) |
### VM2M Decoder Heads (optional)
Decoder heads enable visualization and rollout decoding. They are **not required** for training world models or running planning evaluations.
| Decoder | Encoder | Resolution | Weights |
|---------|---------|------------|---------|
| dinov2_vits_224 (05norm) | DINOv2 ViT-S/14 | 224×224 | [🤗 HF](https://huggingface.co/facebook/jepa-wms/blob/main/dinov2_vits_224.pth.tar) / [direct](https://dl.fbaipublicfiles.com/jepa-wms/vm2m_lpips_dv2vits_vitldec_224_05norm.pth.tar) |
| dinov2_vits_224_INet | DINOv2 ViT-S/14 | 224×224 | [🤗 HF](https://huggingface.co/facebook/jepa-wms/blob/main/dinov2_vits_224_INet.pth.tar) / [direct](https://dl.fbaipublicfiles.com/jepa-wms/vm2m_lpips_dv2vits_vitldec_224_INet.pth.tar) |
| dinov3_vitl_256_INet | DINOv3 ViT-L/16 | 256×256 | [🤗 HF](https://huggingface.co/facebook/jepa-wms/blob/main/dinov3_vitl_256_INet.pth.tar) / [direct](https://dl.fbaipublicfiles.com/jepa-wms/vm2m_lpips_dv3vitl_256_INet.pth.tar) |
| vjepa2_vitg_256_INet | V-JEPA-2 ViT-G/16 | 256×256 | [🤗 HF](https://huggingface.co/facebook/jepa-wms/blob/main/vjepa2_vitg_256_INet.pth.tar) / [direct](https://dl.fbaipublicfiles.com/jepa-wms/vm2m_lpips_vj2vitgnorm_vitldec_dup_256_INet.pth.tar) |
> **Decoder assignment:** DINO-WM uses `dinov2_vits_224` (05norm), JEPA-WM uses INet variants (`dinov2_vits_224_INet` for sim envs, `dinov3_vitl_256_INet` for real-robot), VJ2AC uses `vjepa2_vitg_256_INet`.
<details>
<summary><b>🔌 Loading Models with PyTorch Hub</b></summary>
```python
import torch
# Load our best pretrained JEPA-WMs
model, preprocessor = torch.hub.load('facebookresearch/jepa-wms', 'jepa_wm_droid')
model, preprocessor = torch.hub.load('facebookresearch/jepa-wms', 'jepa_wm_metaworld')
model, preprocessor = torch.hub.load('facebookresearch/jepa-wms', 'jepa_wm_pusht')
model, preprocessor = torch.hub.load('facebookresearch/jepa-wms', 'jepa_wm_pointmaze')
model, preprocessor = torch.hub.load('facebookresearch/jepa-wms', 'jepa_wm_wall')
# Load reproduced DINO-WM baseline models
model, preprocessor = torch.hub.load('facebookresearch/jepa-wms', 'dino_wm_droid')
model, preprocessor = torch.hub.load('facebookresearch/jepa-wms', 'dino_wm_metaworld')
model, preprocessor = torch.hub.load('facebookresearch/jepa-wms', 'dino_wm_pusht')
model, preprocessor = torch.hub.load('facebookresearch/jepa-wms', 'dino_wm_pointmaze')
model, preprocessor = torch.hub.load('facebookresearch/jepa-wms', 'dino_wm_wall')
# Load fixed V-JEPA-2-AC baseline model
model, preprocessor = torch.hub.load('facebookresearch/jepa-wms', 'vjepa2_ac_droid')
# Load V-JEPA-2-AC official ckpt from https://github.com/facebookresearch/vjepa2
model, preprocessor = torch.hub.load('facebookresearch/jepa-wms', 'vjepa2_ac_oss')
```
</details>
<details>
<summary><b>🤗 Loading Models with Hugging Face Hub</b></summary>
```python
from huggingface_hub import hf_hub_download
import torch
# Download a specific checkpoint
checkpoint_path = hf_hub_download(
repo_id="facebook/jepa-wms",
filename="jepa_wm_droid.pth.tar"
)
# Load the checkpoint
checkpoint = torch.load(checkpoint_path, map_location="cpu")
# Or use directly with torch.hub (automatically tries HF Hub first)
model, preprocessor = torch.hub.load('facebookresearch/jepa-wms', 'jepa_wm_droid')
```
**Available model files on HF Hub:**
- `jepa_wm_droid.pth.tar`, `jepa_wm_metaworld.pth.tar`, `jepa_wm_pusht.pth.tar`, `jepa_wm_pointmaze.pth.tar`, `jepa_wm_wall.pth.tar`
- `dino_wm_droid.pth.tar`, `dino_wm_metaworld.pth.tar`, `dino_wm_pusht.pth.tar`, `dino_wm_pointmaze.pth.tar`, `dino_wm_wall.pth.tar`
- `vjepa2_ac_droid.pth.tar`, `vjepa2_ac_oss.pth.tar`
- Decoder heads: `dinov2_vits_224.pth.tar`, `dinov2_vits_224_INet.pth.tar`, `dinov3_vitl_256_INet.pth.tar`, `vjepa2_vitg_256_INet.pth.tar`
</details>
---
## 🚀 Getting Started
### Installation
We use **conda** for system dependencies (FFmpeg) and **uv** for fast Python package management.
```bash
# 1. Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh
# 2. Create conda environment with FFmpeg
conda create -n jepa-wms python=3.10 ffmpeg=7 -c conda-forge -y
conda activate jepa-wms
# 3. Clone and install
git clone git@github.com:facebookresearch/jepa-wms.git
cd jepa-wms
uv pip install -e .
# Optional: Install dev dependencies
uv pip install -e ".[dev]"
# 4. Verify installation
python -c "import torchcodec; print('✓ torchcodec works')"
```
### ⚙️ Configuration
Set these environment variables in your `~/.bashrc` or `~/.zshrc`:
```bash
export JEPAWM_DSET=/path/to/your/datasets
export JEPAWM_LOGS=/desired_path/to/your/train_logs_and_planning_eval_logs
export JEPAWM_HOME=/path/to/your/workspace # dir where you cloned this repo
export JEPAWM_CKPT=/desired_path/to/your/saved_checkpoints # Optional
export JEPAWM_OSSCKPT=/path/to/your/pretrained_opensource_encoders # Optional
```
> **Note on config paths**: In training configs (`configs/vjepa_wm/`), the `folder` field (using `${JEPAWM_LOGS}`) stores train / validation logs and planning eval outputs, while `checkpoint_folder` (using `${JEPAWM_CKPT}`) stores saved model checkpoints. If `checkpoint_folder` is omitted, it defaults to `folder`.
Then run:
```bash
source ~/.bashrc && cd $JEPAWM_HOME/jepa-wms && python setup_macros.py && conda activate jepa-wms
```
<details>
<summary><b>📁 Repository structure under JEPAWM_HOME</b></summary>
```
$JEPAWM_HOME/
├── jepa-wms/ # This repository
├── dinov3/ # DINOv3 repository (optional)
├── robocasa/ # RoboCasa repository (optional)
└── robosuite/ # RoboSuite repository (optional)
```
</details>
<details>
<summary><b>🧠 Pretrained Encoders</b></summary>
**DINOv2** is automatically downloaded via TorchHub when first used. Other encoders require manual setup.
| Encoder | TorchHub | Manual Download Required |
|---------|----------|-------------------------|
| **DINOv2** | ✅ `facebookresearch/dinov2` | No |
| **DINOv3** | ❌ Requires local repo | Yes |
| **V-JEPA v2** | ⚠️ Manual preferred | Yes (recommended) |
| **V-JEPA v1** | ❌ Not available | Yes |
> **Why manual download for V-JEPA v2?** We centralize all model architectures around our own `src/models/` for clarity. TorchHub loading can cause import conflicts since both repos share similar file structures.
Organize checkpoints in `$JEPAWM_OSSCKPT`:
```
$JEPAWM_OSSCKPT/
├── vjepa1_opensource/ # V-JEPA v1 checkpoints
│ └── vitl16.pth.tar
├── vjepa2_opensource/ # V-JEPA v2 checkpoints
│ ├── vjepa2_vit_large.pth
│ └── vjepa2_vit_giant.pth
└── dinov3/ # DINOv3 checkpoints
├── dinov3_vits16_pretrain_lvd1689m.pth
└── dinov3_vitl16_pretrain_lvd1689m-<hashkey>.pth
```
Download from:
- **V-JEPA v1**: [facebookresearch/jepa](https://github.com/facebookresearch/jepa) → [ViT-L/16](https://dl.fbaipublicfiles.com/jepa/vitl16/vitl16.pth.tar)
- **V-JEPA v2**: [facebookresearch/vjepa2](https://github.com/facebookresearch/vjepa2) → [ViT-L/16](https://dl.fbaipublicfiles.com/vjepa2/vitl.pt) or [ViT-G/16](https://dl.fbaipublicfiles.com/vjepa2/vitg.pt)
- **DINOv3**: [facebookresearch/dinov3](https://github.com/facebookresearch/dinov3) → Download weights and clone repo to `$JEPAWM_HOME/dinov3/`
</details>
<details>
<summary><b>🤖 MuJoCo 2.1 for PointMaze</b></summary>
Only required for PointMaze (uses `d4rl` → `mujoco-py`). Other environments use the modern `mujoco` package.
```bash
# Download MuJoCo 2.1.0
mkdir -p ~/.mujoco && cd ~/.mujoco
wget https://mujoco.org/download/mujoco210-linux-x86_64.tar.gz
tar -xzvf mujoco210-linux-x86_64.tar.gz
# Add to ~/.bashrc
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/.mujoco/mujoco210/bin
source ~/.bashrc # or ~/.zshrc
# Verify installation
python -c "import mujoco_py; print('mujoco-py works!')"
```
</details>
<details>
<summary><b>🏠 RoboCasa install (optional)</b></summary>
Required for RoboCasa/RoboSuite environments:
```bash
# Install RoboSuite
git clone https://github.com/Basile-Terv/robosuite.git && cd robosuite
uv pip install -e . && cd ..
# Install RoboCasa
git clone https://github.com/Basile-Terv/robocasa.git && cd robocasa
uv pip install -e .
python robocasa/scripts/download_kitchen_assets.py # Caution: Assets to be downloaded are around 20GB.
python robocasa/scripts/setup_macros.py && cd ..
```
</details>
---
## 📦 Downloading Data
All datasets are available on 🤗 HuggingFace: [facebook/jepa-wms](https://huggingface.co/datasets/facebook/jepa-wms)
```bash
# Download all datasets
python src/scripts/download_data.py
# Download specific dataset(s)
python src/scripts/download_data.py --dataset pusht pointmaze wall
# List available datasets
python src/scripts/download_data.py --list
```
| Dataset | Description |
|---------|-------------|
| `pusht` | Push-T environment trajectories* |
| `pointmaze` | PointMaze navigation trajectories* |
| `wall` | Wall environment trajectories* |
| `metaworld` | 42 Metaworld tasks (100 episodes each) |
| `robocasa` | RoboCasa kitchen manipulation |
| `franka` | Franka robot trajectories |
> *\* The `pusht`, `pointmaze`, and `wall` datasets are sourced from the [DINO-WM project](https://github.com/apple/ml-dino-wm) without modification. We re-host them on our HuggingFace repository for convenience.*
<details>
<summary><b>🤖 DROID dataset (optional)</b></summary>
DROID requires separate download via `gsutil`:
Download the DROID dataset following the [instructions](https://droid-dataset.github.io/droid/the-droid-dataset). This requires `uv pip install gsutil`.
We only use the left camera and not the SVO cam files hence you can run the second of the two below commands to obtain the raw dataset of full-HD resolution (720 x 1280) MP4 files.
```bash
# Raw DROID dataset in stereo HD, stored as MP4 videos (8.7TB)
gsutil -m cp -r gs://gresearch/robotics/droid_raw <path_to_your_target_dir>
# Raw DROID dataset, non-stereo HD video only (5.6TB, excluding stereo video & raw SVO cam files)
gsutil -m rsync -r -x ".*SVO.*|.*stereo.*\.mp4$" "gs://gresearch/robotics/droid_raw" <path_to_your_target_dir>
```
After downloading, generate the paths CSV file required by the dataloader:
```bash
python src/scripts/generate_droid_paths.py \
--droid_root <path_to_your_target_dir>/droid_raw/1.0.1 \
--output_path $JEPAWM_DSET/DROID/droid_paths.csv \
--num_workers 16 \
```
This script scans the dataset directory structure in parallel and creates a CSV file listing all valid episode paths.
</details>
<details>
<summary><b>📂 Dataset directory structure</b></summary>
```
$JEPAWM_DSET/
├── pusht_noise/ # Push-T dataset
├── point_maze/ # PointMaze dataset
├── wall_single/ # Wall dataset
├── Metaworld/ # Metaworld dataset
│ └── data/
│ └── train-00000-of-00001.parquet
├── robocasa/ # RoboCasa dataset
│ └── combine_all_im256.hdf5
├── franka_custom/ # Franka custom dataset
│ └── data/
│ ├── folding/
│ ├── pick/
│ └── push/
│ ├── brownboxpush_v0/
│ │ └── run_0001/
│ │ ├── episode.h5
│ │ └── trajectory.hdf5
│ └── push_various_objects/
├── DROID/ # DROID dataset
│ └── droid_paths.csv
├── kinetics400/ # Kinetics-400 dataset (optional)
│ ├── k400_train_paths.csv
│ └── k400_val_paths.csv
├── kinetics710/ # Kinetics-710 dataset (optional)
│ ├── k710_train_paths.csv
│ └── k710_val_paths.csv
├── ssv2/ # Something-Something-v2 dataset (optional)
│ ├── ssv2_train_paths.csv
│ └── ssv2_val_paths.csv
└── howto100m/ # HowTo100M dataset (optional)
└── howto100m_paths.csv
```
</details>
---
## 💡 Common Concepts
### 🐛 The `--debug` Flag
Use `--debug` with `app.main` or `evals.main` to run in **single-process mode** on the current node:
```bash
python -m app.main --fname <config.yaml> --debug
```
This is useful for:
- **Interactive debugging** with `pdb` breakpoints
- **Single-GPU runs** without distributed overhead
> ⚠️ **Don't confuse** with `meta.quick_debug` in config files, which reduces dataset size and iterations for quick sanity checks.
### 🔄 Automatic Evaluation During Training
The training script automatically launches planning evaluations every `meta.eval_freq` epochs:
1. **Config generation**: Merges your training settings with eval templates from `configs/online_plan_evals/`
2. **Job submission**: Launches eval jobs for each generated config
The `evals.separate` option controls how evals are executed:
| Value | Behavior |
|-------|----------|
| `true` *(default)* | Submit as **separate SLURM jobs** via sbatch |
| `false` | Run evals **on rank 0** of the training job |
---
## 🏋️ Training
### Quick Start
**Distributed training** (from login node):
```bash
python -m app.main_distributed --fname configs/vjepa_wm/<env>_sweep/<model>.yaml --account <account> --qos <qos> --time <time>
```
**Single-GPU training** (interactive session):
```bash
python -m app.main --fname configs/vjepa_wm/<env>_sweep/<model>.yaml --debug
```
<details>
<summary><b>📋 Paper Configs</b></summary>
| Model | Environment | Config Path |
|-------|-------------|-------------|
| **JEPA-WM** | Metaworld | `mw_final_sweep/mw_4f_fsk5_ask1_r224_pred_AdaLN_ftprop_depth6_repro_2roll_save.yaml` |
| **JEPA-WM** | PointMaze | `mz_sweep/mz_4f_fsk5_ask1_r224_vjtranoaug_predAdaLN_ftprop_depth6_repro_2roll_save_2n.yaml` |
| **JEPA-WM** | Push-T | `pt_sweep/pt_4f_fsk5_ask1_r224_vjtranoaug_predAdaLN_ftprop_depth6_repro_2roll_save.yaml` |
| **JEPA-WM** | Wall | `wall_sweep/wall_4f_fsk5_ask1_r224_vjtranoaug_predAdaLN_ftprop_depth6_repro_2roll_save_2n.yaml` |
| **JEPA-WM** | RoboCasa | `droid_final_sweep/droid_4fpcs_fps4_r256_dv3vitl_asp1_pred_AdaLN_depth12_noprop_repro_2roll_4n.yaml` |
| **JEPA-WM** | DROID (offline) | `droid_final_sweep/droid_4fpcs_fps4_r256_dv3vitl_asp1_pred_AdaLN_depth12_noprop_repro_2roll_4n.yaml` |
| **DINO-WM** | Any | `<env>_sweep/<env>_4f_fsk5_ask1_r224_pred_dino_wm_depth6_repro_1roll_save` |
All configs under `configs/vjepa_wm/`.
</details>
<details>
<summary><b>🎨 Training Decoder Heads (optional)</b></summary>
Decoder heads enable visualization and light evals (rollout decoding via `val_rollout()` in the training loop). See [VM2M Decoder Heads](#vm2m-decoder-heads-optional) for pretrained weights.
> **Note**: Decoder heads are **not required** for training world models or running planning evaluations. The training configs in `configs/vjepa_wm/*_sweep/` have `heads_cfg: null` by default.
**Two training strategies:**
- **Cross-environment** (recommended if datasets available): Train one decoder on VideoMix2M (HowTo100M + SSv2 + K400) — works across all environments. See configs in `configs/vjepa_wm/vm2m/open_source_decs/`.
- **In-domain**: Train one decoder per encoder per environment on environment-specific data
```bash
# Cross-environment decoder (recommended)
python -m app.main --fname configs/vjepa_wm/vm2m/open_source_decs/step2_lpips_vm2m_<enc>_<params>.yaml --debug
# State head (environment-specific)
python -m app.main --fname co