marklpd commited on
Commit
2b7eef2
·
verified ·
1 Parent(s): de8aa3b

Update model card

Browse files
Files changed (1) hide show
  1. README.md +10 -4
README.md CHANGED
@@ -18,9 +18,10 @@ datasets:
18
  - marklpd/PSRGAN-Sentinel-2
19
  base_model: xinntao/Real-ESRGAN
20
  metrics:
 
 
21
  - psnr
22
  - ssim
23
- - lpips
24
  model-index:
25
  - name: PSRGAN
26
  results:
@@ -32,15 +33,18 @@ model-index:
32
  name: PSRGAN Sentinel-2 Super-Resolution (test split)
33
  split: test
34
  metrics:
 
 
 
 
 
 
35
  - type: psnr
36
  value: 21.23
37
  name: PSNR (dB)
38
  - type: ssim
39
  value: 0.5556
40
  name: SSIM
41
- - type: lpips
42
- value: 0.1971
43
- name: LPIPS (AlexNet)
44
  ---
45
  ![PSRGAN grid](psrgan_grid.jpg)
46
 
@@ -124,6 +128,8 @@ All numbers are on the test split of [PSRGAN Sentinel-2](https://huggingface.co/
124
 
125
  PSRGAN beats Real-ESRGAN in PSNR on 98% of test patches and in LPIPS on 99.9%. Compared with the likelihood stage, the adversarial stage gives up 0.60 dB PSNR and changes LPIPS from 0.216 to 0.197 (lower is better). Bicubic upsampling keeps a higher PSNR than the final model on 74% of patches, because PSNR rewards smooth averages over sharp but slightly misplaced detail. LPIPS (lower is better), which follows perceived similarity, is lower for PSRGAN than for bicubic on 100% of patches.
126
 
 
 
127
  On the 128 test patches from Herzogenaurach, Wolfsburg and München:
128
 
129
  | method | PSNR (dB) ↑ | SSIM ↑ | LPIPS ↓ | VGG ↓ | OT ↓ |
 
18
  - marklpd/PSRGAN-Sentinel-2
19
  base_model: xinntao/Real-ESRGAN
20
  metrics:
21
+ - lpips
22
+ - vgg
23
  - psnr
24
  - ssim
 
25
  model-index:
26
  - name: PSRGAN
27
  results:
 
33
  name: PSRGAN Sentinel-2 Super-Resolution (test split)
34
  split: test
35
  metrics:
36
+ - type: lpips
37
+ value: 0.1971
38
+ name: LPIPS (AlexNet)
39
+ - type: vgg
40
+ value: 5.645
41
+ name: VGG19 perceptual loss
42
  - type: psnr
43
  value: 21.23
44
  name: PSNR (dB)
45
  - type: ssim
46
  value: 0.5556
47
  name: SSIM
 
 
 
48
  ---
49
  ![PSRGAN grid](psrgan_grid.jpg)
50
 
 
128
 
129
  PSRGAN beats Real-ESRGAN in PSNR on 98% of test patches and in LPIPS on 99.9%. Compared with the likelihood stage, the adversarial stage gives up 0.60 dB PSNR and changes LPIPS from 0.216 to 0.197 (lower is better). Bicubic upsampling keeps a higher PSNR than the final model on 74% of patches, because PSNR rewards smooth averages over sharp but slightly misplaced detail. LPIPS (lower is better), which follows perceived similarity, is lower for PSRGAN than for bicubic on 100% of patches.
130
 
131
+ In contrast to LPIPS, PSNR and SSIM are rather low, partly because of how the data was made. The HR targets were resampled with nearest neighbour from the 10 m Sentinel-2 grid onto a latitude-longitude grid (about 10 m × 15.6 m per pixel), so edges in the targets jump by up to one pixel in an irregular pattern that the 4x downsampling erases from the input. Plus, the random blur removes detail that no model can recover, so sharp detail a model adds rarely sits exactly where it is in the target, which both metrics count as error.
132
+
133
  On the 128 test patches from Herzogenaurach, Wolfsburg and München:
134
 
135
  | method | PSNR (dB) ↑ | SSIM ↑ | LPIPS ↓ | VGG ↓ | OT ↓ |