Image-to-Image
Diffusers
reflection-removal
reflection-separation
image-restoration
diffusion
stable-diffusion
cvpr2026
Instructions to use Brian9999/diff-reflection-separation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Brian9999/diff-reflection-separation 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("Brian9999/diff-reflection-separation", 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
Reflection Separation from a Single Image via Joint Latent Diffusion
Pre-trained checkpoints for the CVPR 2026 paper. Given a single photo taken through glass, the model jointly generates the transmission and reflection layers.
- ๐ Project page: https://brian90709.github.io/diff-reflection-separation/
- ๐ป Code: https://github.com/Brian90709/diff-reflection-separation-code
- ๐ Paper: arXiv (coming soon)
Zheng-Hui Huang, Zhixiang Wang, Yu-Lun Liu, Yung-Yu Chuang
Files
| File | Size | Description |
|---|---|---|
iter_016000/unet/diffusion_pytorch_model.bin |
~3.5 GB | Trained layer-separation UNet. |
fuse_blocks.bin |
~264 MB | CFW refiner for the VAE decoder. |
lrm/iter_008000/aux_net.bin |
~1.3 MB | Latent composition module (LRM), used by --optimization. |
Usage
Download the weights into ./checkpoints, then follow the
code repository:
huggingface-cli download Brian9999/diff-reflection-separation --repo-type model --local-dir ./checkpoints
Citation
@inproceedings{huang2026reflection,
title = {Reflection Separation from a Single Image via Joint Latent Diffusion},
author = {Huang, Zheng-Hui and Wang, Zhixiang and Liu, Yu-Lun and Chuang, Yung-Yu},
booktitle = {CVPR},
year = {2026}
}
- Downloads last month
- 16
Model tree for Brian9999/diff-reflection-separation
Base model
stabilityai/stable-diffusion-2