You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-10Lines changed: 11 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,14 +34,13 @@ There are some implement details with paper description, which maybe different w
34
34
-[x] metrics evaluation
35
35
-[x] multi-gpu support
36
36
-[x] resume training / pretrained model
37
+
-[x] validate alone script
37
38
38
39
39
40
40
41
## Results
41
42
42
-
We set the maximum reverse steps budget to 2000 now.
43
-
44
-
*Note:* Limited to model parameters in `Nvidia 1080Ti`, image noise and hue deviation occasionally appears in high-resolution images, resulting in low scores.
43
+
*Note:* We set the maximum reverse steps budget to 2000 now. Limited to model parameters in `Nvidia 1080Ti`, **image noise** and **hue deviation** occasionally appears in high-resolution images, resulting in low scores. There are a lot room to optimization.
@@ -68,8 +67,6 @@ We set the maximum reverse steps budget to 2000 now.
68
67
69
68
70
69
71
-
72
-
73
70
## Usage
74
71
75
72
### Pretrained Model
@@ -87,8 +84,6 @@ This paper is based on "Denoising Diffusion Probabilistic Models", and we build
87
84
"resume_state": [your pretrain model path]
88
85
```
89
86
90
-
We have not trained the model until converged for time reason, and reduced model parameters in order to run on a single GPU, which means there are a lot room to optimization.
# Edit json to add pretrain model path and run the evaluation
162
157
python sr.py -p val -c config/sr_sr3.json
158
+
159
+
# Quantitative evaluation alone using SSIM/PSNR metrics on given result root
160
+
python eval.py -p [result root]
163
161
```
164
162
165
-
### Evaluation Alone
163
+
### Inference Alone
164
+
165
+
Set the HR (vanilla high resolution images), SR (images need processed) image path like step in `Own Data`. HR directory contexts can be copy from SR, and LR directory is unnecessary.
166
+
166
167
```python
167
-
#Quantitative evaluation using SSIM/PSNR metrics on given dataset root
0 commit comments