Update README.md
Browse files
README.md
CHANGED
@@ -14,11 +14,26 @@
|
|
14 |
- Python packages: `pip install numpy opencv-python pandas tqdm fast_pytorch_kmeans`
|
15 |
|
16 |
## Demo
|
17 |
-
We
|
18 |
-
|
|
|
|
|
|
|
19 |
```
|
20 |
-
python demo.py
|
21 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
## Citation
|
24 |
```
|
@@ -30,7 +45,4 @@ python demo.py
|
|
30 |
year={2025},
|
31 |
organization={Springer}
|
32 |
}
|
33 |
-
```
|
34 |
-
|
35 |
-
## Acknowledgement
|
36 |
-
This repo is based on [LIIF](https://github.com/yinboc/liif) and [KAIR](https://github.com/cszn/KAIR).
|
|
|
14 |
- Python packages: `pip install numpy opencv-python pandas tqdm fast_pytorch_kmeans`
|
15 |
|
16 |
## Demo
|
17 |
+
We provide a demo that performs 4x super-resolution on a single input LR image (supports only 4x scaling and .png format).
|
18 |
+
```
|
19 |
+
git clone https://huggingface.co/3587jjh/pcsr_carn
|
20 |
+
```
|
21 |
+
and then, specify your LR image path and output path like:
|
22 |
```
|
23 |
+
python demo.py --lr_path comic.png --output_path results
|
24 |
```
|
25 |
+
Output: flops: 66.3G (63.6 %) | max_flops: 104.1G (100 %)
|
26 |
+
<div style="display: flex;">
|
27 |
+
<figure style="margin: 0; text-align: center;">
|
28 |
+
<img src="assets/output_vis.png" style="width: 280px; height: 184px; object-fit: cover;"/>
|
29 |
+
<figcaption>Classification</figcaption>
|
30 |
+
</figure>
|
31 |
+
<figure style="margin: 0; text-align: center;">
|
32 |
+
<img src="assets/output.png" style="width: 280px; height: 184px; object-fit: cover;"/>
|
33 |
+
<figcaption>SR Result (X4)</figcaption>
|
34 |
+
</figure>
|
35 |
+
</div>
|
36 |
+
For a detailed demo and information, please refer to [our GitHub page](https://github.com/3587jjh/PCSR).
|
37 |
|
38 |
## Citation
|
39 |
```
|
|
|
45 |
year={2025},
|
46 |
organization={Springer}
|
47 |
}
|
48 |
+
```
|
|
|
|
|
|