Views
No views yet


| Path | Model / arch | Size | Train steps | What it's for |
|---|---|---|---|---|
main/superresolution/main_B16/sr-full-tile-stage3-step0800000.ckpt | SR · JiT-B/16 | 3.3 GB | 800k | Main SR (DINOv3 + LPIPS), 256→512 |
main/superresolution/main_H16/sr-full-tile-stage3-step0800000.ckpt | SR · JiT-H/16 | 23 GB | 800k | Main SR, largest model (quick-start default) |
main/outpainting/main_B16/op-new-stage3-step0800000.ckpt | OP · JiT-B/16 | 3.6 GB | 800k | Main outpainting (no-DINO, quadrant masks) |
main/outpainting/main_H16/op-new-stage3-step0800000.ckpt | OP · JiT-H/16 | 26 GB | 800k | Main outpainting, largest model (quick-start default) |
shared/git10m_quad_meta.json | metadata | 1.7 GB | — | Git-10M split metadata (paper eval) |
shared/hierarchy_index_quad.pkl | metadata | 0.6 GB | — | Parent↔child quadtree index (paper eval) |
dinov3_vitl16_pretrain_sat493m-eadcf0ff.pth | DINOv3 ViT-L/16 (SAT-493M) | 1.2 GB | — | Frozen conditioning encoder for SR |
ablations/ folder holds additional checkpoints used only to reproduce the paper's ablation
table (see the code repo's docs/EVALUATION.md).1git clone https://github.com/mvrl/genesis && cd genesis
2uv sync && source .venv/bin/activate # Python 3.13, torch 2.8 cu128H16→B16
in the two checkpoint paths for a lighter 7 GB variant:1import os, sys
2sys.path.insert(0, "src"); sys.path.insert(0, "demos")
3
4from huggingface_hub import hf_hub_download
5from PIL import Image
6from utils.genesis_common import (fetch_tile_at_zoom, inference_device,
7 load_sr_denoiser, load_op_denoiser,
8 outpaint_context_white_holes_preview,
9 run_superresolution, run_outpainting)
10
11device = inference_device() # cuda if available, else cpu
12out = "logs/example_sr_op"; os.makedirs(out, exist_ok=True)
13
14sr_ckpt = hf_hub_download("MVRL/genesis", "main/superresolution/main_H16/sr-full-tile-stage3-step0800000.ckpt")
15op_ckpt = hf_hub_download("MVRL/genesis", "main/outpainting/main_H16/op-new-stage3-step0800000.ckpt")
16dino = hf_hub_download("MVRL/genesis", "dinov3_vitl16_pretrain_sat493m-eadcf0ff.pth")
17
18tile = fetch_tile_at_zoom(lon=12.9062, lat=48.6529, zoom=16) # a real 256×256 tile (Bavarian village)
19tile.save(f"{out}/01_original_tile.png")
20
21# SR: z16 parent → 512×512 mosaic of its four z17 children.
22# Showcase config = the paper's pyramid-engine SR settings (cfg 2.5 + bicubic
23# warm start); the engine reads `cfg_scale`, so set the attribute (not args.cfg).
24tile.save(f"{out}/02_sr_input.png")
25tile.resize((512, 512), Image.BICUBIC).save(f"{out}/03_sr_bicubic_512.png") # baseline SR starts from
26sr_model, _ = load_sr_denoiser(sr_ckpt, "JiT-H/16", dino_weights=dino, device=device)
27sr_model.cfg_scale = 2.5
28sr_model.args.bicubic_init = True
29sr_model.args.bicubic_init_t_start = 0.4
30run_superresolution(sr_model, tile, device, target_zoom=17).save(f"{out}/04_sr_output.png")
31
32# OP: keep the upper-left quadrant real, outpaint the other three (white = hole)
33mask = Image.new("L", (256, 256), 255); mask.paste(0, (0, 0, 128, 128))
34op_model, _ = load_op_denoiser(op_ckpt, "JiT-H/16", dino_weights="", device=device)
35outpaint_context_white_holes_preview(tile, mask).save(f"{out}/05_op_masked_input.png")
36run_outpainting(op_model, tile, mask, device, tile_zoom=16).save(f"{out}/06_op_output.png")logs/example_sr_op/, numbered in pipeline order — original
tile, SR input / bicubic baseline / SR output, masked OP input, outpainted OP output. The SR
pass technically starts from the bicubic upsample (the warm start anchors on it), so comparing
03_sr_bicubic_512.png against 04_sr_output.png shows exactly what the model adds beyond
plain interpolation.demos/example_sr_op.py:python demos/example_sr_op.pyLive imagery: Esri World Imagery — Source: Esri, Maxar, Earthstar Geographics, and the GIS User Community.
demos/README.md.
The main one is the full-pyramid builder (demos/app_pyramid_unified.py): click a satellite
map to drop sparse seed tiles and watch Genesis complete an entire 4-level quadtree live,
tile-by-tile, with a stitched-PNG download. Companion apps cover single-tile 256→512 SR, quadrant
outpainting, a large lateral-outpainting grid, a deep 6-level pyramid, and no-model interpolation
baselines.docs/EVALUATION.md
in the code repo:
bash src/eval/run_all_sr.sh · run_all_op.sh · run_all_ablation.sh · run_all_dense500.sh,
each with the paper-exact defaults baked in.1@inproceedings{khanal2026genesis,
2 title = {{Genesis}: A Generative Engine for Hierarchical Satellite Image Synthesis},
3 author = {Khanal, Subash and Cui, Yangzhi and Cher, Daniel and Xing, Eric and
4 Wei, Brian and Sastry, Srikumar and Jacobs, Nathan},
5 booktitle = {ACM SIGSPATIAL International Conference on Advances in
6 Geographic Information Systems (SIGSPATIAL)},
7 year = {2026},
8}dinov3_vitl16_pretrain_sat493m-eadcf0ff.pth is the satellite-pretrained (SAT-493M) ViT-L/16
encoder from Meta AI's DINOv3 release, redistributed
here unmodified for convenience; it remains governed by Meta's DINOv3 license, not MIT. At
inference the SR model loads it via torch.hub.load('facebookresearch/dinov3', 'dinov3_vitl16', weights=...).