Model card: FlowPilot-DST FastViT-T12 and DUNE ViT-B/14
Browse files
README.md
CHANGED
|
@@ -1,3 +1,74 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
library_name: visnavkit
|
| 4 |
+
pipeline_tag: robotics
|
| 5 |
+
tags:
|
| 6 |
+
- visual-navigation
|
| 7 |
+
- flow-matching
|
| 8 |
+
- onnx
|
| 9 |
+
- robotics
|
| 10 |
---
|
| 11 |
+
|
| 12 |
+
# Visual Navigation Model Checkpoints
|
| 13 |
+
|
| 14 |
+
Pretrained navigation policies trained with [VisNavKit](https://github.com/VAIL-UCLA/visnavkit).
|
| 15 |
+
Each folder holds one model: the Lightning checkpoint, its ONNX export, the export metadata
|
| 16 |
+
(shapes, anchor times, SHA-256 of both files, PyTorch/ONNX parity) and a sample input batch.
|
| 17 |
+
|
| 18 |
+
| Folder | VisNavKit config | Model | Params | Val top-1 ADE@1/2/4 s (m) | Val top-1 FDE (m) |
|
| 19 |
+
| --- | --- | --- | --- | --- | --- |
|
| 20 |
+
| [`flowpilot-dst-small`](flowpilot-dst-small) | `experiment=flowpilot_dst_clips1k` | FastViT-T12 on frame pairs -> anchored flow DiT (256-d) | 21.4M | 0.093 / 0.193 / 0.422 | 0.897 |
|
| 21 |
+
| [`flowpilot-dst-dune`](flowpilot-dst-dune) | `experiment=flowpilot_dune_dst_clips1k` | frozen DUNE ViT-B/14 -> anchored flow DiT (1024-d) | 208.2M | 0.080 / 0.168 / 0.364 | 0.769 |
|
| 22 |
+
|
| 23 |
+
Both are FlowPilot-DST policies trained on clips1k (20 Hz, 4 s horizon, point goal with 50%
|
| 24 |
+
dropout, frozen route VAE, 64 k-means anchors, 4 flow steps). Metrics are on the VisNavKit
|
| 25 |
+
clips1k validation split, decoded from zero noise. ONNX: fp32, opset 17, batch 1, top-6 plans;
|
| 26 |
+
PyTorch/ONNX parity is within 1e-5.
|
| 27 |
+
|
| 28 |
+
## Files
|
| 29 |
+
|
| 30 |
+
```
|
| 31 |
+
<folder>/flowpilot_dst_<encoder>.ckpt # Lightning checkpoint (weights + optimizer state)
|
| 32 |
+
<folder>/flowpilot_dst_<encoder>.onnx # deployment graph
|
| 33 |
+
<folder>/flowpilot_dst_<encoder>.metadata.json # shapes, anchor times, hashes, parity
|
| 34 |
+
<folder>/flowpilot_dst_<encoder>.inputs.npz # traced sample inputs for a smoke run
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
## Usage
|
| 38 |
+
|
| 39 |
+
ONNX, no VisNavKit needed:
|
| 40 |
+
|
| 41 |
+
```python
|
| 42 |
+
import numpy as np, onnxruntime as ort
|
| 43 |
+
from huggingface_hub import hf_hub_download
|
| 44 |
+
|
| 45 |
+
repo, stem = "UCLA-VAIL/Visual-Navigation-Model-Checkpoints", "flowpilot-dst-small/flowpilot_dst_fastvit_t12"
|
| 46 |
+
session = ort.InferenceSession(hf_hub_download(repo, f"{stem}.onnx"), providers=["CUDAExecutionProvider", "CPUExecutionProvider"])
|
| 47 |
+
feeds = dict(np.load(hf_hub_download(repo, f"{stem}.inputs.npz"))) # replace with live data
|
| 48 |
+
modes, probs, speed = session.run(["modes", "probs", "speed"], feeds)
|
| 49 |
+
x, y, yaw, v, w = modes[0, 0].T # best plan: 80 steps at 0.05 s, ego frame (x forward, y left)
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
Inputs are the last 20 frames (1, 20, 3, 216, 384) RGB in [0, 1], route patches, goal, ego
|
| 53 |
+
speed/yaw rate and action bounds. The full contract, including frame preparation, is in
|
| 54 |
+
[FlowPilot-DST ONNX IO](https://github.com/VAIL-UCLA/visnavkit/blob/dev/docs/flowpilot_dst_onnx.md).
|
| 55 |
+
|
| 56 |
+
Re-export from the checkpoint with VisNavKit:
|
| 57 |
+
|
| 58 |
+
```bash
|
| 59 |
+
uv run visnavkit-export-dst checkpoint=flowpilot_dst_fastvit_t12.ckpt output=flowpilot_dst_fastvit_t12.onnx
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
## Citation
|
| 63 |
+
|
| 64 |
+
```bibtex
|
| 65 |
+
@Misc{visnavkit2026,
|
| 66 |
+
author = {Honglin He and Bolei Zhou},
|
| 67 |
+
title = {{VisNavKit}: a composable toolkit for visual navigation policies},
|
| 68 |
+
howpublished = {\url{https://github.com/VAIL-UCLA/visnavkit}},
|
| 69 |
+
year = {2026},
|
| 70 |
+
}
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
FlowPilot: [arXiv:2606.12603](https://arxiv.org/abs/2606.12603). The DUNE variant uses the
|
| 74 |
+
[DUNE](https://github.com/naver/dune) ViT-B/14 encoder.
|