463465810cz commited on
Commit
4599c2f
·
1 Parent(s): c6be8c5

add DAT-light

Browse files

Former-commit-id: da2e2e80fab282e45cfaf29d2ee118d353a68b3d

Files changed (1) hide show
  1. README.md +25 -6
README.md CHANGED
@@ -58,11 +58,12 @@ Download training and testing datasets and put them into the corresponding folde
58
 
59
  ## Models
60
 
61
- | Method | Params (M) | FLOPs (G) | Dataset | PSNR (dB) | SSIM | Model Zoo | Visual Results |
62
- | :----- | :--------: | :-------: | :------: | :-------: | :----: | :----------------------------------------------------------: | :----------------------------------------------------------: |
63
- | DAT-S | 11.21 | 203.3 | Urban100 | 27.68 | 0.8300 | [Google Drive](https://drive.google.com/drive/folders/1hM0v3fUg5u6GjkI7dduxShyGgGfEwQXO?usp=drive_link) | [Google Drive](https://drive.google.com/file/d/1x1ixMswxw5w-zeZ_Rap5Nk4Tr46MIjAw/view?usp=drive_link) |
64
- | DAT | 14.80 | 275.8 | Urban100 | 27.87 | 0.8343 | [Google Drive](https://drive.google.com/drive/folders/14VG5mw5ie8RrR4jjypeHynXDZYWL8w-r?usp=drive_link) | [Google Drive](https://drive.google.com/file/d/1K43CTsXpoX5St5fed4kEW9gu2KMR6hLu/view?usp=drive_link) |
65
- | DAT-2 | 11.21 | 216.93 | Urban100 | 27.86 | 0.8341 | [Google Drive](https://drive.google.com/drive/folders/1yV9LMhr2tYM_eHEIVY4Jw9X3bWGgorbD?usp=drive_link) | [Google Drive](https://drive.google.com/file/d/1TQRZIg8at5HX87OCu3GYytZhYGperkuN/view?usp=drive_link) |
 
66
 
67
  The performance is reported on Urban100 (x4). The test input size of FLOPs is 128 x 128.
68
 
@@ -87,6 +88,11 @@ The performance is reported on Urban100 (x4). The test input size of FLOPs is 12
87
  python -m torch.distributed.launch --nproc_per_node=4 --master_port=4321 basicsr/train.py -opt options/Train/train_DAT_2_x2.yml --launcher pytorch
88
  python -m torch.distributed.launch --nproc_per_node=4 --master_port=4321 basicsr/train.py -opt options/Train/train_DAT_2_x3.yml --launcher pytorch
89
  python -m torch.distributed.launch --nproc_per_node=4 --master_port=4321 basicsr/train.py -opt options/Train/train_DAT_2_x4.yml --launcher pytorch
 
 
 
 
 
90
  ```
91
 
92
  - The training experiment is in `experiments/`.
@@ -97,7 +103,7 @@ The performance is reported on Urban100 (x4). The test input size of FLOPs is 12
97
 
98
  - Download the pre-trained [models](https://drive.google.com/drive/folders/1iBdf_-LVZuz_PAbFtuxSKd_11RL1YKxM?usp=drive_link) and place them in `experiments/pretrained_models/`.
99
 
100
- We provide pre-trained models for image SR: DAT-S, DAT, and DAT-2 (x2, x3, x4).
101
 
102
  - Download [testing](https://drive.google.com/file/d/1yMbItvFKVaCT93yPWmlP3883XtJ-wSee/view?usp=sharing) (Set5, Set14, BSD100, Urban100, Manga109) datasets, place them in `datasets/`.
103
 
@@ -121,6 +127,11 @@ The performance is reported on Urban100 (x4). The test input size of FLOPs is 12
121
  python basicsr/test.py -opt options/Test/test_DAT_2_x2.yml
122
  python basicsr/test.py -opt options/Test/test_DAT_2_x3.yml
123
  python basicsr/test.py -opt options/Test/test_DAT_2_x4.yml
 
 
 
 
 
124
  ```
125
 
126
  - The output is in `results/`.
@@ -168,6 +179,14 @@ We achieved state-of-the-art performance. Detailed results can be found in the p
168
  </p>
169
 
170
 
 
 
 
 
 
 
 
 
171
 
172
  - visual comparison (x4) in the main paper
173
 
 
58
 
59
  ## Models
60
 
61
+ | Method | Params (M) | FLOPs (G) | Dataset | PSNR (dB) | SSIM | Model Zoo | Visual Results |
62
+ | :-------- | :--------: | :-------: | :------: | :-------: | :----: | :----------------------------------------------------------: | :----------------------------------------------------------: |
63
+ | DAT-S | 11.21 | 203.3 | Urban100 | 27.68 | 0.8300 | [Google Drive](https://drive.google.com/drive/folders/1hM0v3fUg5u6GjkI7dduxShyGgGfEwQXO?usp=drive_link) | [Google Drive](https://drive.google.com/file/d/1x1ixMswxw5w-zeZ_Rap5Nk4Tr46MIjAw/view?usp=drive_link) |
64
+ | DAT | 14.80 | 275.8 | Urban100 | 27.87 | 0.8343 | [Google Drive](https://drive.google.com/drive/folders/14VG5mw5ie8RrR4jjypeHynXDZYWL8w-r?usp=drive_link) | [Google Drive](https://drive.google.com/file/d/1K43CTsXpoX5St5fed4kEW9gu2KMR6hLu/view?usp=drive_link) |
65
+ | DAT-2 | 11.21 | 216.93 | Urban100 | 27.86 | 0.8341 | [Google Drive](https://drive.google.com/drive/folders/1yV9LMhr2tYM_eHEIVY4Jw9X3bWGgorbD?usp=drive_link) | [Google Drive](https://drive.google.com/file/d/1TQRZIg8at5HX87OCu3GYytZhYGperkuN/view?usp=drive_link) |
66
+ | DAT-light | | | Urban100 | | | [Google Drive](https://drive.google.com/drive/folders/105JRMN5VJbJ7EMQJdqmhDVMAFCaKYDl8?usp=drive_link) | [Google Drive](https://drive.google.com/file/d/1xKxK6_UcqAWK2m5znQX_LssWndmN-End/view?usp=drive_link) |
67
 
68
  The performance is reported on Urban100 (x4). The test input size of FLOPs is 128 x 128.
69
 
 
88
  python -m torch.distributed.launch --nproc_per_node=4 --master_port=4321 basicsr/train.py -opt options/Train/train_DAT_2_x2.yml --launcher pytorch
89
  python -m torch.distributed.launch --nproc_per_node=4 --master_port=4321 basicsr/train.py -opt options/Train/train_DAT_2_x3.yml --launcher pytorch
90
  python -m torch.distributed.launch --nproc_per_node=4 --master_port=4321 basicsr/train.py -opt options/Train/train_DAT_2_x4.yml --launcher pytorch
91
+
92
+ # DAT-light, input=64x64, 4 GPUs
93
+ python -m torch.distributed.launch --nproc_per_node=4 --master_port=4321 basicsr/train.py -opt options/Train/train_DAT_light_x2.yml --launcher pytorch
94
+ python -m torch.distributed.launch --nproc_per_node=4 --master_port=4321 basicsr/train.py -opt options/Train/train_DAT_light_x3.yml --launcher pytorch
95
+ python -m torch.distributed.launch --nproc_per_node=4 --master_port=4321 basicsr/train.py -opt options/Train/train_DAT_light_x4.yml --launcher pytorch
96
  ```
97
 
98
  - The training experiment is in `experiments/`.
 
103
 
104
  - Download the pre-trained [models](https://drive.google.com/drive/folders/1iBdf_-LVZuz_PAbFtuxSKd_11RL1YKxM?usp=drive_link) and place them in `experiments/pretrained_models/`.
105
 
106
+ We provide pre-trained models for image SR: DAT-S, DAT, DAT-2, and DAT-light (x2, x3, x4).
107
 
108
  - Download [testing](https://drive.google.com/file/d/1yMbItvFKVaCT93yPWmlP3883XtJ-wSee/view?usp=sharing) (Set5, Set14, BSD100, Urban100, Manga109) datasets, place them in `datasets/`.
109
 
 
127
  python basicsr/test.py -opt options/Test/test_DAT_2_x2.yml
128
  python basicsr/test.py -opt options/Test/test_DAT_2_x3.yml
129
  python basicsr/test.py -opt options/Test/test_DAT_2_x4.yml
130
+
131
+ # DAT-light, reproduces results in Table 2 of the supplementary material
132
+ python basicsr/test.py -opt options/Test/test_DAT_light_x2.yml
133
+ python basicsr/test.py -opt options/Test/test_DAT_light_x3.yml
134
+ python basicsr/test.py -opt options/Test/test_DAT_light_x4.yml
135
  ```
136
 
137
  - The output is in `results/`.
 
179
  </p>
180
 
181
 
182
+ - results in Table 2 of the supplementary material
183
+
184
+ <p align="center">
185
+ <img width="900" src="figs/Table-3.png">
186
+ </p>
187
+
188
+
189
+
190
 
191
  - visual comparison (x4) in the main paper
192