Update app.py
Browse files
app.py
CHANGED
@@ -71,8 +71,7 @@ def load_network(net, load_path, strict=True, param_key='params'):
|
|
71 |
net.load_state_dict(load_net, strict=strict)
|
72 |
|
73 |
CONFIG = "configs/SMFANet_plus_x4SR.yml"
|
74 |
-
|
75 |
-
MODEL_NAME = "pth/SMFANet_DF2K_100w_x4SR.pth"
|
76 |
|
77 |
# parse config file
|
78 |
with open(os.path.join(CONFIG), "r") as f:
|
@@ -91,19 +90,11 @@ load_network(model, MODEL_NAME, strict=True, param_key='params')
|
|
91 |
|
92 |
|
93 |
title = "See More Details"
|
94 |
-
description = ''' ###
|
95 |
|
96 |
-
#### [
|
97 |
|
98 |
-
####
|
99 |
-
#### **<sup>*</sup> Corresponding authors**
|
100 |
-
|
101 |
-
<details>
|
102 |
-
<summary> <b> Abstract</b> (click me to read)</summary>
|
103 |
-
<p>
|
104 |
-
Reconstructing high-resolution (HR) images from low-resolution (LR) inputs poses a significant challenge in image super-resolution (SR). While recent approaches have demonstrated the efficacy of intricate operations customized for various objectives, the straightforward stacking of these disparate operations can result in a substantial computational burden, hampering their practical utility. In response, we introduce **S**eemo**R**e, an efficient SR model employing expert mining. Our approach strategically incorporates experts at different levels, adopting a collaborative methodology. At the macro scale, our experts address rank-wise and spatial-wise informative features, providing a holistic understanding. Subsequently, the model delves into the subtleties of rank choice by leveraging a mixture of low-rank experts. By tapping into experts specialized in distinct key factors crucial for accurate SR, our model excels in uncovering intricate intra-feature details. This collaborative approach is reminiscent of the concept of **see more**, allowing our model to achieve an optimal performance with minimal computational costs in efficient settings
|
105 |
-
</p>
|
106 |
-
</details>
|
107 |
|
108 |
|
109 |
#### Drag the slider on the super-resolution image left and right to see the changes in the image details. SeemoRe performs x4 upscaling on the input image.
|
@@ -111,19 +102,18 @@ Reconstructing high-resolution (HR) images from low-resolution (LR) inputs poses
|
|
111 |
<br>
|
112 |
|
113 |
<code>
|
114 |
-
@inproceedings{
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
}
|
121 |
</code>
|
122 |
<br>
|
123 |
'''
|
124 |
|
125 |
|
126 |
-
article = "<p style='text-align: center'><a href='https://
|
127 |
|
128 |
#### Image,Prompts examples
|
129 |
examples = [
|
|
|
71 |
net.load_state_dict(load_net, strict=strict)
|
72 |
|
73 |
CONFIG = "configs/SMFANet_plus_x4SR.yml"
|
74 |
+
MODEL_NAME = "pth/SMFANet_plus_DF2K_100w_x4SR.pth"
|
|
|
75 |
|
76 |
# parse config file
|
77 |
with open(os.path.join(CONFIG), "r") as f:
|
|
|
90 |
|
91 |
|
92 |
title = "See More Details"
|
93 |
+
description = ''' ### [ECCV 2024] SMFANet: A Lightweight Self-Modulation Feature Aggregation Network for Efficient Image Super-Resolution
|
94 |
|
95 |
+
#### [Mingjun Zheng](https://github.com/Zheng-MJ), [Long Sun](https://github.com/sunny2109), [Jiangxin Dong](https://scholar.google.com/citations?user=ruebFVEAAAAJ&hl=zh-CN&oi=ao), and [Jinshan Pan](https://jspan.github.io/)
|
96 |
|
97 |
+
#### [IMAG Lab](https://imag-njust.net/), Nanjing University of Science and Technology
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
|
99 |
|
100 |
#### Drag the slider on the super-resolution image left and right to see the changes in the image details. SeemoRe performs x4 upscaling on the input image.
|
|
|
102 |
<br>
|
103 |
|
104 |
<code>
|
105 |
+
@inproceedings{smfanet,
|
106 |
+
title={SMFANet: A Lightweight Self-Modulation Feature Aggregation Network for Efficient Image Super-Resolution},
|
107 |
+
author={Zheng, Mingjun and Sun, Long and Dong, Jiangxin and Pan, Jinshan},
|
108 |
+
booktitle={Proceedings of the European Conference on Computer Vision (ECCV)},
|
109 |
+
year={2024}
|
110 |
+
}
|
|
|
111 |
</code>
|
112 |
<br>
|
113 |
'''
|
114 |
|
115 |
|
116 |
+
article = "<p style='text-align: center'><a href='https://raw.githubusercontent.com/Zheng-MJ/SMFANet' target='_blank'>SMFANet: A Lightweight Self-Modulation Feature Aggregation Network for Efficient Image Super-Resolution </a></p>"
|
117 |
|
118 |
#### Image,Prompts examples
|
119 |
examples = [
|