Image-to-Image
LibreYOLO
optical-flow
waft
libreflow

Run this model with HF Jobs

Run LibreYOLO/LibreWAFTs-flow-dav2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/LibreYOLO/LibreWAFTs-flow-dav2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/LibreYOLO/LibreWAFTs-flow-dav2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

LibreWAFTs-flow-dav2

WAFT (a2, Depth Anything V2 Small encoder, 56.9 M parameters) optical flow weights, repackaged for LibreYOLO. Backbone variant dav2 of LibreWAFT size s.

Source

Derived from princeton-vl/WAFT at commit b152ff1, file waftv2-ckpts/dav2/zero-shot.pth of the upstream Google Drive model zoo (zero-shot training schedule: TartanAir, then FlyingChairs, then FlyingThings3D). Copyright (c) 2025, Princeton Vision & Learning Lab. Licensed under the BSD 3-Clause License. The upstream model zoo publishes no separate weights license; LibreYOLO hosts the checkpoint under the repository's BSD 3-Clause License.

The encoder parameters come from Depth Anything V2 Small (Apache License 2.0).

Paper: Yihan Wang and Jia Deng, "WAFT: Warping-Alone Field Transforms for Optical Flow", ICLR 2026, arXiv:2506.21526.

Modifications

Checkpoint metadata wrapping only. Learned parameters and their names are unchanged. See weights/convert_waft_weights.py in the LibreYOLO source repository.

Usage

from libreyolo import LibreYOLO

model = LibreYOLO("LibreWAFTs-flow-dav2.pt")
results = model(["frame_000.png", "frame_001.png"])  # N frames give N - 1 flows
flow = results[0].flow.data                           # (H, W, 2), pixels, (dx, dy)

License

BSD 3-Clause License (WAFT) together with the Apache License 2.0 (Depth Anything V2 Small encoder). The combined LICENSE file contains both texts; see also NOTICE.

Downloads last month
28
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Paper for LibreYOLO/LibreWAFTs-flow-dav2