GANPaint: church (outdoor) data
Everything the GANPaint reimplementation server needs to paint trees, grass, doors, sky, clouds, brick and domes into GAN-generated churches.
| file | what |
|---|---|
churchoutdoor/generator.safetensors |
the ProGAN generator trained on LSUN outdoor churches, converted from the original churchoutdoor_lsun.pth |
churchoutdoor/ganpaint.json |
the layer4 (512 x 8 x 8) unit configuration: quantiles, thresholds and the per-concept unit rankings |
Painting edits units of layer4: a stroke becomes x * (1 - a) + v * a on the units that match the brush.
Usage
The server downloads these files on first start:
cd server
uv run uvicorn --factory ganpaint_server.app:app_from_env --port 8000
or fetch them yourself:
from huggingface_hub import snapshot_download
snapshot_download("hen/ganpaint-churchoutdoor", local_dir="data")
Provenance and use
The generator comes from GAN Dissection and was trained on the LSUN church-outdoor category. Please use it for research.
@inproceedings{bau2019gandissect,
title={GAN Dissection: Visualizing and Understanding Generative Adversarial Networks},
author={Bau, David and Zhu, Jun-Yan and Strobelt, Hendrik and Zhou, Bolei and Tenenbaum, Joshua B. and Freeman, William T. and Torralba, Antonio},
booktitle={Proceedings of the International Conference on Learning Representations (ICLR)},
year={2019}
}