Text-to-Image
Diffusers
Safetensors
English
AeroGenPipeline
aerogen
remote-sensing
object-detection
latent-diffusion
bounding-box
Instructions to use BiliSakura/AeroGen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use BiliSakura/AeroGen with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("BiliSakura/AeroGen", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download vae/config.json from BiliSakura/AeroGen: direct link, hf CLI and curl.
- Browser
- Download file 492 Bytes
-
https://huggingface.co/BiliSakura/AeroGen/resolve/main/vae/config.json
- Command line
-
hf download hf://BiliSakura/AeroGen/vae/config.json
-
curl -L -o config.json https://huggingface.co/BiliSakura/AeroGen/resolve/main/vae/config.json
492 Bytes
| { | |
| "target": "ldm.models.autoencoder.AutoencoderKL", | |
| "params": { | |
| "embed_dim": 4, | |
| "monitor": "val/rec_loss", | |
| "ddconfig": { | |
| "double_z": true, | |
| "z_channels": 4, | |
| "resolution": 256, | |
| "in_channels": 3, | |
| "out_ch": 3, | |
| "ch": 128, | |
| "ch_mult": [ | |
| 1, | |
| 2, | |
| 4, | |
| 4 | |
| ], | |
| "num_res_blocks": 2, | |
| "attn_resolutions": [], | |
| "dropout": 0.0 | |
| }, | |
| "lossconfig": { | |
| "target": "torch.nn.Identity" | |
| } | |
| } | |
| } |