File size: 2,471 Bytes
ecc7e3b
bd9f112
ecc7e3b
 
 
 
 
 
 
 
bd9f112
ecc7e3b
 
eaa59a3
 
 
ecc7e3b
 
 
704700a
 
 
 
 
 
ecc7e3b
 
4ab5f56
ecc7e3b
4ab5f56
 
ecc7e3b
 
 
1387e4d
ecc7e3b
 
 
 
 
 
 
 
 
 
1387e4d
ecc7e3b
 
18144a2
 
 
 
 
 
 
 
 
 
 
 
 
 
eaa59a3
 
 
 
18144a2
bd9f112
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
license: apache-2.0
base_model: Qwen/Qwen-Image-2.1
pipeline_tag: image-to-image
tags:
- rawmoment
- raw-to-rgb
- motion-deblurring
- lora
---

# RawMoment: Recovering the Sharp Moment via Generative RAW-to-RGB Deblurring

[![arXiv](https://img.shields.io/badge/arXiv-2611.35700-b31b1b?logo=arxiv&logoColor=white)](https://arxiv.org/abs/2611.35700)

Trained checkpoints accompanying the [paper](https://arxiv.org/pdf/2611.35700).

[Code](https://github.com/script-Yang/rawmoment) · [Dataset](https://huggingface.co/datasets/yscript/RawMoment)

## Method overview

![RawMoment framework](https://huggingface.co/yscript/RawMoment/resolve/main/assets/visuals/framework.jpg)

RawMoment adapts a RAW encoder to the pretrained RGB latent space, then restores sharp RGB images with spatial and sensor-physics conditioning.

## Checkpoints

| Training resolution | VAE | DiT |
| --- | --- | --- |
| 512 × 512 | [stage1-vae](512/stage1-vae.safetensors) | [stage2-dit](512/stage2-dit.safetensors) |
| 1024 × 1024 | [stage1-vae](1024/stage1-vae.safetensors) | [stage2-dit](1024/stage2-dit.safetensors) |

All four checkpoints are from 100,000 training steps and stored in FP32.

`stage1-vae` contains the trained RAW encoder and quantization convolution. `stage2-dit` contains the attention LoRA and RAW/physical conditioning modules. The frozen backbone and shared RGB VAE are loaded from [Qwen-Image-2.1](https://huggingface.co/Qwen/Qwen-Image-2.1).

## Usage

From the code repository, download the checkpoints into `weights/`:

```bash
hf download yscript/RawMoment --repo-type model --local-dir weights \
  --include '512/*' '1024/*'
```

Use a `stage1-vae`/`stage2-dit` pair trained at the same resolution. Follow the [code README](https://github.com/script-Yang/rawmoment#inference) for installation and inference.

Checkpoint details are listed in `manifest.json`; file hashes are in `SHA256SUMS`.

## Acknowledgments

We thank the [Qwen-Image team](https://huggingface.co/Qwen/Qwen-Image-2.1) for making the pretrained model available.

## Citation

If you use RawMoment in your research, please cite:

```bibtex
@misc{yang2026rawmoment,
  title={{RawMoment}: Recovering the Sharp Moment via Generative {RAW}-to-{RGB} Deblurring},
  author={Sicheng Yang and Song Fei and Tian Ye and Jianan Sun and Bin Chen and Yu Wang and Lei Zhu},
  year={2026},
  eprint={2611.35700},
  archivePrefix={arXiv},
  primaryClass={cs.CV},
  url={https://arxiv.org/abs/2611.35700}
}
```