Mars Surface GAN (WGAN-GP)
A 141M-parameter generator trained from scratch with WGAN-GP on 1,202 calibrated color Mastcam photos from NASA's Curiosity rover (sols 1087 to 1312). It generates 512×512 Martian ground texture and smooth looping latent-walk videos.
Code, training recipe and video examples: github.com/ardagurer11/mars-surface-gan
Usage
pip install git+https://github.com/ardagurer11/mars-surface-gan.git
mars-generate -n 16 --seed 0 -o mars.png
mars-video --frames 600 --seed 1 -o mars_loop.mp4
from mars_gan import MarsGAN
gan = MarsGAN.from_pretrained("ardagurer/mars_surface_wgan_gp")
gan.generate(4, seed=0)[0].save("mars.png")
Files
| File | Contents |
|---|---|
model.safetensors |
generator weights after 300 epochs, fp32 (565 MB), used for inference |
mars_latest.pt |
full training checkpoint with critic and optimizer states (3.8 GB), for resuming training |
config.json |
architecture details |
Training
WGAN with gradient penalty (λ = 10), 5 critic steps per generator step, Adam lr 5e-5 with betas (0, 0.9), batch 16, 300 epochs, fp32, on one NVIDIA DGX Spark (GB10). Training samples are random 512×512 views of 1024 px photos (random flips, ±180° rotation with mirrored padding, center crop).
Limitations
Close-up ground texture only (no horizons). Some samples show faint PixelShuffle checkerboard artefacts. About 8 % of random latents decode to a near-white image, which the package filters out by default.
Credits
Training images: NASA/JPL-Caltech/MSSS, via the NASA Planetary Data System. The code and weights are MIT licensed.
- Downloads last month
- 28
