Views
No views yet
PSD 12 angles → 4 angles:
- 0° → idx-01 (direct)
- 45° → interpolate(idx-02, idx-03)
- 90° → idx-04 (direct)
- 135° → interpolate(idx-05, idx-06)stage1/
├── net_g_100000.pth # Generator (72MB)
└── net_le_100000.pth # Latent Encoder (2.5MB)
stage2/
├── net_g_50000.pth # Generator (72MB)
├── net_le_dm_50000.pth # Latent Encoder DM (2.4MB)
└── net_d_50000.pth # Denoising Network (10MB)| Stage | Iteration | PSNR (dB) | SSIM |
|---|---|---|---|
| Stage 1 | 100,000 | 34.85 | 0.9918 |
| Stage 2 | 50,000 | 34.45 | 0.9914 |
| Stage | GPU (RTX 6000) | CPU |
|---|---|---|
| Stage 1 | 325 ms | ~31 sec |
| Stage 2 | 271 ms | ~22 sec |
1from huggingface_hub import hf_hub_download
2import torch
3
4# Download Stage 1 weights
5net_g_path = hf_hub_download(
6 repo_id="nawta/PolarFree-PSD-4ch-weights",
7 filename="stage1/net_g_100000.pth"
8)
9
10# Load
11checkpoint = torch.load(net_g_path)
12model.load_state_dict(checkpoint["params"])