Ir para o conteúdo
ModelListadosExterno
Baixar

FlowSR

polyform-noncommercial-1.0.0

TipoOtherModelo baseManojb/stable-diffusion-2-1-baseVersãoVersion 1Cnota

Fonte do modelo

Tipo
Other
Tamanho do arquivo
124 MB
Modelo base
Manojb/stable-diffusion-2-1-base
Versão
vVersion 1
Atualizado
9 de out. de 2026
Fonte
Hugging Face

Descrição da fonte

FlowSR — Fast Image Super-Resolution via Consistency Rectified Flow

This repository hosts the reproduced model checkpoint for FlowSR, a single-step real-world image super-resolution model based on the ICCV 2025 paper "Fast Image Super-Resolution via Consistency Rectified Flow."

FlowSR reformulates super-resolution as a rectified flow that bridges low-resolution (LR) and high-resolution (HR) images, and uses HR-regularized consistency learning with a fast–slow time scheduling strategy to deliver high-quality results in as few as one inference step.

FlowSR teaser

Files

  • flowsr.safetensors — the model checkpoint. It stores LoRA adapter weights (rank 32) for the UNet on top of a Stable Diffusion 2.1-base backbone, together with the FlowSR-specific metadata needed to rebuild the adapters at load time.

How to use

The checkpoint is consumed by the FlowSR inference package. Download the weights into a local checkpoints/ directory:

pip install -U huggingface_hub
hf download chunjie-spring/FlowSR flowsr.safetensors --local-dir checkpoints

Then run single-image or folder inference (see the inference repository for full setup):

python -m flowsr.infer \
  --input path/to/lr.png \
  --output outputs \
  --checkpoint checkpoints/flowsr.safetensors

Hardware: the model targets a CUDA GPU. A single image runs in roughly 0.14 s at 4× upscaling to a 512×512 resolution on a modern GPU.

Model details

  • Backbone: Stable Diffusion 2.1-base (Manojb/stable-diffusion-2-1-base, a re-upload of the original stabilityai/stable-diffusion-2-1-base weights, which were removed from the Hub).
  • Scheduler: FlowMatchEulerDiscreteScheduler (rectified flow).
  • Adapters: PEFT LoRA, rank 32, injected into the UNet.
  • Default inference: 1 step, scale ×4, guidance_scale = 1.0, wavelet color correction.
  • Training data: LSDIR + the first 10K FFHQ face images, with LR–HR pairs synthesized via the Real-ESRGAN degradation pipeline; image-quality captions generated with Qwen2-VL.

Evaluation

Quantitative comparison on RealSR and DRealSR (StableSR real-world test sets). FlowSR runs in a single step:

DatasetStepsPSNR ↑SSIM ↑LPIPS ↓DISTS ↓FID ↓NIQE ↓MUSIQ ↑MANIQA ↑CLIPIQA ↑
RealSR125.540.74340.27280.2013112.605.2869.220.64860.6701
DRealSR128.500.78590.29750.2115130.306.1365.460.61720.7074

Metrics follow common SR conventions (PSNR/SSIM on the Y channel in YCbCr). Evaluation test sets: Iceclear/StableSR-TestSets.

Limitations

  • Trained for 4× real-world super-resolution; other scales/degradations are out of distribution.
  • Requires a GPU; CPU inference is not a supported path.

License

This checkpoint is released under the PolyForm Noncommercial License 1.0.0 for non-commercial research use. For commercial use, please contact the authors.

Citation

If you find FlowSR useful, please cite the paper:

@inproceedings{xu2025fast,
  title={Fast Image Super-Resolution via Consistency Rectified Flow},
  author={Xu, Jiaqi and Li, Wenbo and Sun, Haoze and Li, Fan and Wang, Zhixin and Peng, Long and Ren, Jingjing and Yang, Haoran and Hu, Xiaowei and Pei, Renjing and Heng, Pheng-Ann},
  booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
  pages={11755--11765},
  year={2025}
}

Fontes

1 fonte
Hugging FacePrimárioVersão dd968aa578d4a5b2bd14bdbde84fe979a01a43ed
huggingface.co/chunjie-spring/FlowSR/tree/dd968aa578d4a5b2bd14bdbde84fe979a01a43ed

Verificado 9 de out.

Artefatos de modelo

1 artefato

flowsr.safetensors

safetensors · 124 MB · SHA-256 8bb6bca8cadb…6aa1 · Hugging Face

Baixar

Trechos de fonte

2 trechos

--- license: other license_name: polyform-noncommercial-1.0.0 license_link: https://polyformproject.org/licenses/noncommercial/1.0.0 pipeline_tag: image-to-image base_model: Manojb/stable-diffusion-2-1-base tags: - super-resolution - image-super-resolution - real-world-super-resolution - rectified-flow - consistency-models - diffusion - stable-diffusion language: - en --- # FlowSR — Fast Image Super-Resolution via Consistency Rectified Flow This repository hosts the reproduced **model checkpoint** for **FlowSR**, a single-step real-world image super-resolution model based on the ICCV 2025 paper *"Fast Image Super-Resolution via Consistency Rectified Flow."* FlowSR reformulates super-resolution as a **rectified flow** that bridges low-resolution (LR) and high-resolution (HR) images, and uses **HR-regularized consistency learning** with a **fast–slow time scheduling** strategy to deliver high-quality results in **as few as one inference step**. ![FlowSR teaser](https://github.com/springXIACJ/FlowSR/blob/main/assets/teaser.jpg?raw=true) - 📄 **Paper (ICCV 2025):** [openaccess.thecvf.com](https://openaccess.thecvf.com/content/ICCV2025/html/Xu_Fast_Image_Super-Resolution_via_Consistency_Rectified_Flow_ICCV_2025_paper.html) - 📚 **arXiv:** [arxiv.org/abs/2605.12377](https://arxiv.org/abs/2605.12377) - 💻 **Inference code:** [github.com/springXIACJ/FlowSR](https://github.com/springXIACJ/FlowSR) *(unofficial third-party implementation)* ## Files - **`flowsr.safetensors`** — the model checkpoint. It stores LoRA adapter weights (rank 32) for the UNet on top of a *Stable Diffusion 2.1-base* backbone, together with the FlowSR-specific metadata needed to rebuild the adapters at load time. ## How to use The checkpoint is consumed by the FlowSR inference package. Download the weights into a local `checkpoints/` directory: ```bash pip install -U huggingface_hub hf download chunjie-spring/FlowSR flowsr.safetensors --local-dir checkpoints ``` Then run single-image or folder inference (see the [inference repository](https://github.com/springXIACJ/FlowSR) for full setup): ```bash python -m flowsr.infer \ --input path/to/lr.png \ --output outputs \ --checkpoint checkpoints/flowsr.safetensors ``` > **Hardware:** the model targets a CUDA GPU. A single image runs in roughly **0.14 s** at 4× upscaling to a 512×512 resolution on a modern GPU. ## Model deta...

Source context: 0 downloads · 0 likes · Pipeline image-to-image · Repo chunjie-spring/FlowSR