FreeFlow-L
Collection
[ECCV'26] FreeFlow: A Bias-free Hierarchical Transformer for Optical Flow Estimation • 7 items • Updated • 1
Cross-view pretraining · 211,677,376 parameters
Clone the code repository and install the package (Python ≥3.10, PyTorch ≥2.5):
git clone https://github.com/msu-video-group/freeflow.git
cd freeflow
python -m pip install -e ".[examples]"
See the README for uv/Conda setup and CUDA installation. The examples below use a CUDA-enabled PyTorch build.
import torch
from freeflow import FreeFlowPretraining, normalize_images
model = FreeFlowPretraining.from_pretrained("a-yakovenko/FreeFlow-L-pretrain").eval().cuda()
# Two RGB views, resized to 224 × 224; random pixels for a minimal example.
images = normalize_images(torch.randint(0, 256, (1, 2, 3, 224, 224))).cuda()
with torch.inference_mode(), torch.autocast("cuda", dtype=torch.bfloat16):
reconstruction, mask, target = model(images[:, 0], images[:, 1])
Returns reconstructed 8×8 patches, a sampled mask, and target patches. This checkpoint does not estimate optical flow.
@inproceedings{bargatin2026freeflow,
title={FreeFlow: A Bias-free Hierarchical Transformer for Optical Flow Estimation},
author={Bargatin, Vladislav and Yakovenko, Alexander and Abud, Khaled and Vatolin, Dmitriy},
booktitle={European Conference on Computer Vision (ECCV)},
year={2026}
}