castorini/daam
Diffusion attentive attribution maps for interpreting Stable Diffusion.
Extracts cross-attention weights from the diffusion process to generate per-word attribution heatmaps, enabling fine-grained visualization of which image regions each token influences. Supports both Stable Diffusion and SDXL via the Hugging Face Diffusers library, with a Python API for programmatic use and CLI tools for quick generation and serialization of attribution experiments.
788 stars and 348 monthly downloads. No commits in the last 6 months. Available on PyPI.
Stars
788
Forks
69
Language
Jupyter Notebook
License
MIT
Category
Last pushed
Apr 05, 2024
Monthly downloads
348
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/diffusion/castorini/daam"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related models
huggingface/diffusers
🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.
bghira/SimpleTuner
A general fine-tuning kit geared toward image/video/audio diffusion models.
mcmonkeyprojects/SwarmUI
SwarmUI (formerly StableSwarmUI), A Modular Stable Diffusion Web-User-Interface, with an...
nateraw/stable-diffusion-videos
Create 🔥 videos with Stable Diffusion by exploring the latent space and morphing between text prompts
AUTOMATIC1111/stable-diffusion-webui
Stable Diffusion web UI