Instructions to use Min-Jaewon/DA-Flow with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
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] - Notebooks
- Google Colab
- Kaggle
|
Download README.md from Min-Jaewon/DA-Flow: direct link, hf CLI and curl.
- Browser
- Download file 1.27 kB
-
https://huggingface.co/Min-Jaewon/DA-Flow/resolve/main/README.md
- Command line
-
hf download hf://Min-Jaewon/DA-Flow/README.md
-
curl -L -o README.md https://huggingface.co/Min-Jaewon/DA-Flow/resolve/main/README.md
1.27 kB
metadata
license: other
license_name: stabilityai-ai-community
license_link: >-
https://huggingface.co/stabilityai/stable-diffusion-3.5-medium/blob/main/LICENSE.md
base_model: stabilityai/stable-diffusion-3.5-medium
pipeline_tag: image-to-image
tags:
- optical-flow
- diffusion
DA-Flow
Pretrained weights for DA-Flow: Degradation-Aware Optical Flow Estimation with Image Restoration Diffusion Features.
Paper | Code | Project Page
Files
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.
Citation
@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}
}