-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodels_config.py
127 lines (127 loc) · 3.98 KB
/
models_config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
MODLES = {
'classicalSR s48 x2': {
'task': 'classical_sr',
'scale': 2,
'training_patch_size': 48,
'path': 'model_zoo/swinir/001_classicalSR_DIV2K_s48w8_SwinIR-M_x2.pth',
},
'classicalSR s48 x3': {
'task': 'classical_sr',
'scale': 3,
'training_patch_size': 48,
'path': 'model_zoo/swinir/001_classicalSR_DIV2K_s48w8_SwinIR-M_x3.pth',
},
'classicalSR s48 x4': {
'task': 'classical_sr',
'scale': 4,
'training_patch_size': 48,
'path': 'model_zoo/swinir/001_classicalSR_DIV2K_s48w8_SwinIR-M_x4.pth',
},
'classicalSR s48 x8': {
'task': 'classical_sr',
'scale': 8,
'training_patch_size': 48,
'path': 'model_zoo/swinir/001_classicalSR_DIV2K_s48w8_SwinIR-M_x8.pth',
},
'classicalSR s64 x2': {
'task': 'classical_sr',
'scale': 2,
'training_patch_size': 64,
'path': 'model_zoo/swinir/001_classicalSR_DF2K_s64w8_SwinIR-M_x2.pth',
},
'classicalSR s64 x3': {
'task': 'classical_sr',
'scale': 3,
'training_patch_size': 64,
'path': 'model_zoo/swinir/001_classicalSR_DF2K_s64w8_SwinIR-M_x3.pth',
},
'classicalSR s64 x4': {
'task': 'classical_sr',
'scale': 4,
'training_patch_size': 64,
'path': 'model_zoo/swinir/001_classicalSR_DF2K_s64w8_SwinIR-M_x4.pth',
},
'classicalSR s64 x8': {
'task': 'classical_sr',
'scale': 8,
'training_patch_size': 64,
'path': 'model_zoo/swinir/001_classicalSR_DF2K_s64w8_SwinIR-M_x8.pth',
},
'lightweightSR x2': {
'task': 'lightweight_sr',
'scale': 2,
'path': 'model_zoo/swinir/002_lightweightSR_DIV2K_s64w8_SwinIR-S_x2.pth',
},
'lightweightSR x3': {
'task': 'lightweight_sr',
'scale': 3,
'path': 'model_zoo/swinir/002_lightweightSR_DIV2K_s64w8_SwinIR-S_x3.pth',
},
'lightweightSR x4': {
'task': 'lightweight_sr',
'scale': 4,
'path': 'model_zoo/swinir/002_lightweightSR_DIV2K_s64w8_SwinIR-S_x4.pth',
},
'realSR M x4': {
'task': 'real_sr',
'model_size': 'm',
'scale': 4,
'path': 'model_zoo/swinir/003_realSR_BSRGAN_DFO_s64w8_SwinIR-M_x4_GAN.pth',
},
'realSR L x4': {
'task': 'real_sr',
'model_size': 'l',
'scale': 4,
'path': 'model_zoo/swinir/003_realSR_BSRGAN_DFOWMFC_s64w8_SwinIR-L_x4_GAN.pth',
},
'gray denoise 15': {
'task': 'gray_dn',
'scale': 1,
'path': 'model_zoo/swinir/004_grayDN_DFWB_s128w8_SwinIR-M_noise15.pth',
},
'gray denoise 25': {
'task': 'gray_dn',
'scale': 1,
'path': 'model_zoo/swinir/004_grayDN_DFWB_s128w8_SwinIR-M_noise25.pth',
},
'gray denoise 50': {
'task': 'gray_dn',
'scale': 1,
'path': 'model_zoo/swinir/004_grayDN_DFWB_s128w8_SwinIR-M_noise50.pth',
},
'color denoise 15': {
'task': 'color_dn',
'scale': 1,
'path': 'model_zoo/swinir/005_colorDN_DFWB_s128w8_SwinIR-M_noise15.pth',
},
'color denoise 25': {
'task': 'color_dn',
'scale': 1,
'path': 'model_zoo/swinir/005_colorDN_DFWB_s128w8_SwinIR-M_noise25.pth',
},
'color denoise 50': {
'task': 'color_dn',
'scale': 1,
'path': 'model_zoo/swinir/005_colorDN_DFWB_s128w8_SwinIR-M_noise50.pth',
},
'de-jpeg 10': {
'task': 'jpeg_car',
'scale': 1,
'path': 'model_zoo/swinir/006_CAR_DFWB_s126w7_SwinIR-M_jpeg10.pth',
},
'de-jpeg 20': {
'task': 'jpeg_car',
'scale': 1,
'path': 'model_zoo/swinir/006_CAR_DFWB_s126w7_SwinIR-M_jpeg20.pth',
},
'de-jpeg 30': {
'task': 'jpeg_car',
'scale': 1,
'path': 'model_zoo/swinir/006_CAR_DFWB_s126w7_SwinIR-M_jpeg30.pth',
},
'de-jpeg 40': {
'task': 'jpeg_car',
'scale': 1,
'path': 'model_zoo/swinir/006_CAR_DFWB_s126w7_SwinIR-M_jpeg40.pth',
},
}