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
File size: 1,741 Bytes
e733c0b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | ---
base_model:
- stabilityai/stable-diffusion-2
pipeline_tag: image-to-image
library_name: diffusers
tags:
- reflection-removal
- reflection-separation
- image-restoration
- diffusion
- stable-diffusion
- cvpr2026
---
# 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](https://github.com/Brian90709), [Zhixiang Wang](https://lightchaserx.github.io), [Yu-Lun Liu](https://yulunalexliu.github.io), [Yung-Yu Chuang](https://www.csie.ntu.edu.tw/~cyy/)
## 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](https://github.com/Brian90709/diff-reflection-separation-code):
```bash
huggingface-cli download Brian9999/diff-reflection-separation --repo-type model --local-dir ./checkpoints
```
## Citation
```bibtex
@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}
}
```
|