Skip to content

Commit 7c4ffa1

Browse files
committed
update web, tables, replicate
1 parent 8a0684e commit 7c4ffa1

File tree

8 files changed

+63
-29
lines changed

8 files changed

+63
-29
lines changed

README.md

Lines changed: 47 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
[![Hugging Face](https://img.shields.io/badge/Demo-%F0%9F%A4%97%20Hugging%20Face-blue)](https://huggingface.co/spaces/marcosv/InstructIR)
77
[![Replicate](https://img.shields.io/badge/Demo-%F0%9F%9A%80%20Replicate-blue)](https://replicate.com/mv-lab/instructir)
88
[![Paper page](https://huggingface.co/datasets/huggingface/badges/resolve/main/paper-page-sm.svg)](https://huggingface.co/papers/2401.16468)
9-
[![Model on HF](https://huggingface.co/datasets/huggingface/badges/resolve/main/model-on-hf-sm.svg)](https://huggingface.co/marcosv/InstructIR)
10-
[![Open in Spaces](https://huggingface.co/datasets/huggingface/badges/resolve/main/open-in-hf-spaces-md.svg)](https://huggingface.co/spaces/marcosv/InstructIR)
119

1210

1311
[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)
@@ -31,11 +29,13 @@ Image restoration is a fundamental problem that involves recovering a high-quali
3129

3230
### TODO / News 🔥
3331

34-
- [x] Replicate Demo
3532
- [ ] Upload all test results for comparisons (ETA 1st Feb)
36-
- [x] Upload models to HF 🤗 [(download the models here)](https://huggingface.co/marcosv/InstructIR)
37-
- [x] 🤗 [Hugging Face Demo](https://huggingface.co/spaces/marcosv/InstructIR) try it now
38-
- [x] [Colab Tutorial](https://colab.research.google.com/drive/1OrTvS-i6uLM2Y8kIkq8ZZRwEQxQFchfq?usp=sharing) (check [demo.ipynb](demo.ipynb))
33+
- [x] [Replicate Demo](https://replicate.com/mv-lab/instructir)
34+
- [x] Upload models to HF 🤗 [(download the models here)](https://huggingface.co/marcosv/InstructIR) [![Model on HF](https://huggingface.co/datasets/huggingface/badges/resolve/main/model-on-hf-sm.svg)](https://huggingface.co/marcosv/InstructIR)
35+
- [x] 🤗 [Hugging Face Demo](https://huggingface.co/spaces/marcosv/InstructIR) try it now [![Open in Spaces](https://huggingface.co/datasets/huggingface/badges/resolve/main/open-in-hf-spaces-sm.svg)](https://huggingface.co/spaces/marcosv/InstructIR)
36+
37+
38+
- [x] [Google Colab Tutorial](https://colab.research.google.com/drive/1OrTvS-i6uLM2Y8kIkq8ZZRwEQxQFchfq?usp=sharing) (check [demo.ipynb](demo.ipynb))
3939

4040
### Try it / Tutorial
4141

@@ -44,24 +44,26 @@ Image restoration is a fundamental problem that involves recovering a high-quali
4444

4545
🚀 You can start with the [demo tutorial](demo.ipynb). We also host the same tutorial on [google colab](https://colab.research.google.com/drive/1OrTvS-i6uLM2Y8kIkq8ZZRwEQxQFchfq?usp=sharing) so you can run it using free GPUs!.
4646

47-
<center>
48-
<a href="https://mv-lab.github.io/InstructIR/"><img src="images/instructir_teaser.gif" alt="InstructIR App" width=50%></a>
49-
</center>
50-
<br>
5147

52-
#### Gradio Demo
48+
| | |
49+
|----------|:-------------:
50+
| <a href="https://mv-lab.github.io/InstructIR/"><img src="images/instructir_teaser.gif" alt="InstructIR App"></a> | <a href="https://mv-lab.github.io/InstructIR/"><img src="static/replicate.png" alt="InstructIR App"></a> |
51+
52+
53+
### Gradio Demo
5354
We made a simple [Gradio demo](app.py) you can run (locally) on your machine [here](app.py). You need Python>=3.9 and [these requirements](requirements_gradio.txt) for it: `pip install -r requirements_gradio.txt`
5455

5556
```
5657
python app.py
5758
```
5859

59-
<center>
6060
<br>
61-
<a href="https://huggingface.co/spaces/marcosv/InstructIR"> <img src="images/gradio.png" alt="InstructIR Gradio" width=90%> </a>
62-
</center>
61+
<a href="https://huggingface.co/spaces/marcosv/InstructIR">
62+
<img src="images/gradio.png" alt="InstructIR Gradio">
63+
</a>
64+
6365

64-
### Results
66+
## Results
6567

6668
You can download the paper results from here. We test InstructIR in the following benchmarks:
6769

@@ -76,6 +78,35 @@ You can download the paper results from here. We test InstructIR in the followin
7678

7779
TODO: Add download links for all the benchmarks.
7880

81+
82+
<img src="static/tables/table1.png" width=100%>
83+
84+
<br>
85+
86+
<details>
87+
<summary> <b> Multi-task Results on Dehazing, Deraining, Denoising </b> </summary>
88+
<img src="static/tables/table-3d.png" width=100%>
89+
</details>
90+
91+
<details>
92+
<summary> <b> Denoising Results (click to read) </b> </summary>
93+
<img src="static/tables/table-dn.png" width=100%>
94+
</details>
95+
96+
<details>
97+
<summary> <b> Low-light Image Enhancement (LOL) Results (click to read) </b> </summary>
98+
<img src="static/tables/table-lol.png" width=100%>
99+
</details>
100+
101+
<details>
102+
<summary> <b> Color Image Enhancement (MIT5K) Results (click to read) </b> </summary>
103+
<img src="static/tables/table-mit5k.png" width=100%>
104+
</details>
105+
106+
<br>
107+
108+
--------
109+
79110
### Control and Interact
80111

81112
Sometimes the blur, rain, or film grain noise are pleasant effects and part of the **"aesthetics"**. Here we show a simple example on how to interact with InstructIR.
@@ -107,7 +138,7 @@ The final result looks indeed stunning 🤗 You can do it yourself in the [demo
107138

108139
### FAQS
109140

110-
> Disclaimer: please remember this is not a product, thus, you will notice some limitations.
141+
> Disclaimer: please remember this is not a product, thus, you will notice some limitations. As most all-in-one restoration methods, it struggles to generalize on real-world images -- we are working on improving it.
111142
112143
- ***How should I start?*** Check our [demo Tutorial](demo.ipynb) and also our [google collab](https://colab.research.google.com/drive/1OrTvS-i6uLM2Y8kIkq8ZZRwEQxQFchfq?usp=sharing) notebook.
113144

index.html

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,26 @@ <h2 class="title is-3">TL;DR & Abstract </h2>
236236
<div class="columns is-centered has-text-centered">
237237
<div class="column is-six-fifths">
238238
<h2 class="title is-3"> Examples of InstructIR</h2>
239-
<img src="images/instructir_teaser.png" width="60%">
239+
<img src="images/instructir_teaser.png" width="50%">
240240
</div>
241241
</div>
242242

243243

244+
<center>
245+
<br>
246+
<br>
247+
<h2 class="title">Demo App 🤗</h2>
248+
249+
<iframe
250+
src="https://marcosv-instructir.hf.space"
251+
frameborder="0"
252+
width="850"
253+
height="450"
254+
></iframe>
255+
256+
</center>
257+
258+
244259
<div class="container mt-5">
245260
<!-- <h2 class="text-center mb-5">Who's GPT-4's favorite? Battles between State-of-the-Art Chatbots</h2> -->
246261
<!-- Selection -->
@@ -269,18 +284,6 @@ <h2 class="title is-3"> Examples of InstructIR</h2>
269284

270285
</div>
271286
</section>
272-
273-
<section class="section" id="Demo App">
274-
<center>
275-
<h2 class="title">Demo App 🤗</h2>
276-
<a href="https://huggingface.co/spaces/marcosv/InstructIR">
277-
<b> CLICK to run it on HF Gradio </b> https://huggingface.co/spaces/marcosv/InstructIR
278-
</a>
279-
<br>
280-
<a href="https://huggingface.co/spaces/marcosv/InstructIR"> <img src="images/gradio.png" alt="InstructIR Gradio" width=90%> </a>
281-
</center>
282-
283-
</section>
284287

285288

286289
<section class="section" id="BibTeX">

static/replicate.png

636 KB
Loading

static/tables/table-3d.png

289 KB
Loading

static/tables/table-dn.png

333 KB
Loading

static/tables/table-lol.png

169 KB
Loading

static/tables/table-mit5k.png

79.4 KB
Loading

static/tables/table1.png

389 KB
Loading

0 commit comments

Comments
 (0)