Downloads · 30 days
0
Guereak/SatGen-CV
SatGen-CV is a image-to-image model from Guereak. Use it when you need one image transformed into another. The card lists the license as mit.
Semantic Image Synthesis for Satellite Imagery from Road and Building Segmentation Masks
Downloads · 30 days
0
Access
Public
Updated Jan 20, 2026
Repo size
686 MB
Likes
0
Public
Click a slice to open those files.
.pth686 MB · 100%
From the Hugging Face model README
Semantic Image Synthesis for Satellite Imagery from Road and Building Segmentation Masks
A Pix2Pix-based model for generating realistic satellite imagery from semantic segmentation masks containing roads and buildings.
# Download the model
huggingface-cli download Guereak/SatGen-CV --local-dir ./checkpoints
import torch
from src.models.generator import Generator
# Load checkpoint
checkpoint = torch.load("checkpoints/satgen-model.pth", map_location="cpu")
config = checkpoint["config"]
# Initialize generator
generator = Generator(
in_channels=config["input_channels"],
out_channels=config["output_channels"],
features=config["generator_features"]
)
generator.load_state_dict(checkpoint["generator_state_dict"])
generator.eval()