Views
No views yet
| Property | Value |
|---|---|
| Architecture | U-Net (8 encoder levels, 7 decoder + final) |
| Parameters | ~55M |
| Input | 1-channel SAR VV, 256×256, normalized to [-1, 1] |
| Output | 3-channel RGB, 256×256, Tanh activation in [-1, 1] |
| Training data | SEN1-2 (16,000 paired patches, 4 terrain classes) |
| Training duration | 200 epochs |
| Loss | L1 (λ=100) + adversarial (BCE) |
1import torch
2from models import UNetGenerator
3
4G = UNetGenerator(in_channels=1, out_channels=3)
5state = torch.load("gen_best.pth", map_location="cuda", weights_only=True)
6G.load_state_dict(state)
7G.eval()
8
9# SAR tensor: [1, 1, 256, 256] normalized to [-1, 1]
10with torch.no_grad():
11 eo = G(sar_tensor) # [1, 3, 256, 256] in [-1, 1]| Metric | Validation | Test |
|---|---|---|
| LPIPS ↓ | 0.3824 | 0.3848 |
| FID ↓ | 94.83 | 96.33 |
| SSIM ↑ | 0.2768 | 0.2740 |
| PSNR ↑ (dB) | 17.76 | 17.59 |
gen_best.pth — Generator weights (best by validation L1, epoch 180)