MURL-SR / README.md
kooroshrh's picture
Wordmark
4b5620d verified
|
Raw History Blame Contribute Delete
1.98 kB
---
license: apache-2.0
library_name: pytorch
pipeline_tag: image-to-image
tags:
- super-resolution
- image-restoration
base_model: CSWRY/VOSR
---
<div align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://huggingface.co/kooroshrh/MURL-SR/resolve/main/assets/wordmark_dark.png">
<img src="https://huggingface.co/kooroshrh/MURL-SR/resolve/main/assets/wordmark_light.png" width="420" alt="MURL-SR">
</picture>
### Hallucination-Aware Preference Learning with Multimodal Unified Representations for Perceptual Image Super-Resolution
<a href="https://github.com/KooroshRH/MURL-SR"><img src="https://img.shields.io/badge/GitHub-MURL--SR-181717?logo=github" alt="GitHub"></a>
<img src="https://img.shields.io/badge/arXiv-coming%20soon-b31b1b.svg" alt="arXiv (coming soon)">
<img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" alt="License">
<img src="https://huggingface.co/kooroshrh/MURL-SR/resolve/main/assets/teaser.jpg" width="640" alt="Segmentation, depth and cross-modal discrepancy maps of generative SR outputs">
</div>
**MURL-SR** suppresses hallucinated details in generative super-resolution. A Multimodal Unified Representation (MURL) of visual appearance, segmentation and depth measures hallucinations, and guides the training of a one-step flow SR model through direct supervision and hallucination-aware DPO. MURL is used only during training, so inference is a single network evaluation.
This repository holds the model weights: [VOSR-1.4B one-step](https://github.com/cswry/VOSR) fine-tuned with MURL-SR, in VOSR's checkpoint format (`args.json` + `ema_model.safetensors`).
## Usage
```bash
git clone https://github.com/KooroshRH/MURL-SR.git && cd MURL-SR
pip install -r requirements.txt
python scripts/inference.py -i path/to/lr_images -o results
```
The weights are downloaded automatically. Method, results and training code: [github.com/KooroshRH/MURL-SR](https://github.com/KooroshRH/MURL-SR).