|
Download README.md from sar-image-colorizer/NASAR-SARImageColorization: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/spaces/sar-image-colorizer/NASAR-SARImageColorization/resolve/main/README.md
- Command line
-
hf download hf://spaces/sar-image-colorizer/NASAR-SARImageColorization/README.md
-
curl -L -o README.md https://huggingface.co/spaces/sar-image-colorizer/NASAR-SARImageColorization/resolve/main/README.md
1.03 kB
| title: SAR Image Colorization | |
| emoji: 🛰️ | |
| colorFrom: blue | |
| colorTo: green | |
| sdk: gradio | |
| sdk_version: 6.0.2 | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| models: | |
| - custom | |
| # SAR Image Colorization | |
| Terrain-conditioned SAR-to-RGB image translation using UNet + PatchGAN. | |
| ## Model Architecture | |
| - **Generator**: UNet with terrain conditioning at bottleneck | |
| - **Discriminator**: PatchGAN with terrain injection | |
| - **Losses**: LSGAN (MSE) + L1 + VGG Perceptual | |
| - **Classifier**: ResNet-34 (99.94% accuracy) | |
| ## Performance Metrics | |
| - FID: 108.18 | |
| - PSNR: 19 dB | |
| - SSIM: 0.36 | |
| - Inception Score: 3.07 | |
| ## Training Details | |
| - 16,000 SAR-RGB image pairs | |
| - 4 terrain types: urban, grassland, agriculture, barrenland | |
| - Trained within 1.5GB VRAM limit using mixed precision | |
| ## Usage | |
| Upload a SAR image and the model will: | |
| 1. Predict the terrain type (ResNet-34 classifier) | |
| 2. Generate a colorized RGB image (conditional UNet generator) | |
| Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference |