DA-Flow: Degradation-Aware Optical Flow Estimation with Diffusion Models
Paper • 2603.23499 • Published • 51
How to use Min-Jaewon/DA-Flow with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
from diffusers.utils import load_image
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Min-Jaewon/DA-Flow", dtype=torch.bfloat16, device_map="cuda")
prompt = "Turn this cat into a dog"
input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
image = pipe(image=input_image, prompt=prompt).images[0]import torch
from diffusers import DiffusionPipeline
from diffusers.utils import load_image
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Min-Jaewon/DA-Flow", dtype=torch.bfloat16, device_map="cuda")
prompt = "Turn this cat into a dog"
input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
image = pipe(image=input_image, prompt=prompt).images[0]Pretrained weights for DA-Flow: Degradation-Aware Optical Flow Estimation with Image Restoration Diffusion Features.
Paper | Code | Project Page
transformer/: lifted DiT4SR transformer (stage 1)daflow_flow.pth: DA-Flow flow network (stage 2)The VAE and scheduler of Stable Diffusion 3.5 Medium are also required. See the code repository for usage.
@article{min2026daflow,
title = {DA-Flow: Degradation-Aware Optical Flow Estimation with Image Restoration Diffusion Features},
author = {Min, Jaewon and Lee, Jaeeun and Choi, Yeji and Cho, Paul Hyunbin and Kim, Jin Hyeon and Lee, Tae-Young and Ahn, Jongsik and Lee, Hwayeong and Park, Seonghyun and Kim, Seungryong},
journal = {arXiv preprint arXiv:2603.23499},
year = {2026}
}
Base model
stabilityai/stable-diffusion-3.5-medium