thanks to marcosv ❤
Browse files- README.md +45 -0
- im_instructir-7d.pt +3 -0
- lm_instructir-7d.pt +3 -0
README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
pipeline_tag: image-to-image
|
| 4 |
+
tags:
|
| 5 |
+
- photography
|
| 6 |
+
- image restoration
|
| 7 |
+
- image enhancement
|
| 8 |
+
- computer vision
|
| 9 |
+
- multimodal
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# InstructIR ✏️🖼️
|
| 13 |
+
|
| 14 |
+
[High-Quality Image Restoration Following Human Instructions](https://arxiv.org/abs/2401.16468) (arxiv version)
|
| 15 |
+
|
| 16 |
+
[Marcos V. Conde](https://scholar.google.com/citations?user=NtB1kjYAAAAJ&hl=en), [Gregor Geigle](https://scholar.google.com/citations?user=uIlyqRwAAAAJ&hl=en), [Radu Timofte](https://scholar.google.com/citations?user=u3MwH5kAAAAJ&hl=en)
|
| 17 |
+
|
| 18 |
+
Computer Vision Lab, University of Wuerzburg | Sony PlayStation, FTG
|
| 19 |
+
|
| 20 |
+
### TL;DR: quickstart
|
| 21 |
+
InstructIR takes as input an image and a human-written instruction for how to improve that image. The neural model performs all-in-one image restoration. InstructIR achieves state-of-the-art results on several restoration tasks including image denoising, deraining, deblurring, dehazing, and (low-light) image enhancement.
|
| 22 |
+
|
| 23 |
+
**🚀 You can start with the [demo tutorial](https://github.com/mv-lab/InstructIR/blob/main/demo.ipynb)**
|
| 24 |
+
|
| 25 |
+
<details>
|
| 26 |
+
<summary> <b> Abstract</b> (click me to read)</summary>
|
| 27 |
+
<p>
|
| 28 |
+
Image restoration is a fundamental problem that involves recovering a high-quality clean image from its degraded observation. All-In-One image restoration models can effectively restore images from various types and levels of degradation using degradation-specific information as prompts to guide the restoration model. In this work, we present the first approach that uses human-written instructions to guide the image restoration model. Given natural language prompts, our model can recover high-quality images from their degraded counterparts, considering multiple degradation types. Our method, InstructIR, achieves state-of-the-art results on several restoration tasks including image denoising, deraining, deblurring, dehazing, and (low-light) image enhancement. InstructIR improves +1dB over previous all-in-one restoration methods. Moreover, our dataset and results represent a novel benchmark for new research on text-guided image restoration and enhancement.
|
| 29 |
+
</p>
|
| 30 |
+
</details>
|
| 31 |
+
|
| 32 |
+
### Contacts
|
| 33 |
+
For any inquiries contact Marcos V. Conde: <a href="mailto:[email protected]">marcos.conde [at] uni-wuerzburg.de</a>
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
### Citation BibTeX
|
| 37 |
+
|
| 38 |
+
```
|
| 39 |
+
@misc{conde2024instructir,
|
| 40 |
+
title={High-Quality Image Restoration Following Human Instructions},
|
| 41 |
+
author={Marcos V. Conde, Gregor Geigle, Radu Timofte},
|
| 42 |
+
year={2024},
|
| 43 |
+
journal={arXiv preprint},
|
| 44 |
+
}
|
| 45 |
+
```
|
im_instructir-7d.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f28d8f0f66ff57449ebe2be52241dfdd53a3dfab1003d63e65493f96ea152fd0
|
| 3 |
+
size 63627895
|
lm_instructir-7d.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b239e5d5dbc811813a90e709f9647dead0e35a96a294a7d6c5263da549016fe6
|
| 3 |
+
size 403275
|