UrbanDreamer Pretrained
Pretrained UrbanDreamer checkpoints for three SUMO networks:
| Run | Network | Pretrain windows | Optimizer updates | World-model train loss (last) | Codec count MAE (validation) | Codec speed MAE (validation) |
|---|---|---|---|---|---|---|
coulommiers |
Coulommiers | 2,673,259 | 5,222 | 5.263e-4 | 0.00868 | 0.0507 m/s |
montereau_fault_yonne |
Montereau-Fault-Yonne | 2,733,672 | 2,670 | 4.260e-4 | 0.00715 | 0.0598 m/s |
ingolstadt_custom |
Ingolstadt (custom) | 2,677,906 | 41,843 | 1.783e-3 | 0.01380 | 0.2164 m/s |
All three runs completed one offline pretraining epoch with
status=pretrained, pretrain_epochs_completed=1, and codec_ready=1.
The checkpoints contain the schema-10 training state at phase
online_training / unit 0: the accepted codec, pretrained world model,
optimizers, replay state, RNG state, metrics, and environment cursor. No online
policy-training episodes had been completed when these files were exported.
Contents
Each city directory contains:
<city>/
βββ checkpoints/latest.pt
βββ pretrain_summary.json
βββ resolved_config.json
βββ migration.json
βββ backend_migration.json
Checkpoint SHA-256:
b61cfec8b777fdbe04614e787c03c5358bc698598076e8c2af3dd6c61a9298ff coulommiers/checkpoints/latest.pt
19866d1d21814640edfc0d36f0b1e9264531b5d7ee22bf5d349ff89b7d815d3b montereau_fault_yonne/checkpoints/latest.pt
2b92196c64f1a5421b983416dd36fc6a97c7894afb9f298df938a8365ec44db8 ingolstadt_custom/checkpoints/latest.pt
Training setup
- Explicit SUMO mesoscopic simulation through
libsumo - One-second event observations and 30-second world-model transitions
- Single-step flow matching (
method.fm_training_mode = "single_step") - Euler solver with 100 inference steps
- BF16 pretraining on one offline pass over each city's compatible archives
- Codec warm-started from an accepted pretraining checkpoint and revalidated
- Deterministic seed
42
The full resolved settings, archive identities, codec acceptance values, and training counters are stored in the JSON files next to each checkpoint.
Download
hf download psyduck1/UrbanDreamer-pretrained \
--repo-type model \
--local-dir UrbanDreamer-pretrained
From networks where only the Hugging Face mirror is reachable, set
HF_ENDPOINT=https://hf-mirror.com before running the command.
Loading
The checkpoint is a full PyTorch training-state dictionary rather than a
standalone state_dict:
import torch
checkpoint = torch.load(
"coulommiers/checkpoints/latest.pt",
map_location="cpu",
weights_only=False,
)
print(checkpoint["phase"]) # online_training
print(checkpoint["training_state"]["metrics"])
Use the matching resolved_config.json and the UrbanDreamer codebase when
restoring the run. Loading a city checkpoint with another city's configuration
or semantic input manifest is not supported.
Scope and limitations
These are offline-pretrained research checkpoints. They have not been evaluated as deployed routing policies, and no online policy-training result is claimed here. Performance is tied to the corresponding SUMO network, demand, archive manifest, and resolved configuration.