Views
No views yet
[!WARNING] we do not have a full checkpoint conversion validation, if you encounter pipeline loading failure and unsidered output, please contact me via bili_sakura@zju.edu.cn
| Component | Path |
|---|---|
| Pipeline | pipeline.py |
| UNet | unet/ |
| VAE | vae/ |
| Text encoder | text_encoder/ |
| Condition encoder | condition_encoder/ |
| Scheduler | scheduler/ |
| Config | model_index.json |
pip install diffusers transformers torch einops safetensors pyyaml1from diffusers import DiffusionPipeline
2import torch
3
4pipe = DiffusionPipeline.from_pretrained(
5 "BiliSakura/AeroGen",
6 custom_pipeline="pipeline.py",
7 trust_remote_code=True,
8)
9pipe = pipe.to("cuda")| Input | Shape | Description |
|---|---|---|
bboxes | (B, N, 8) | Rotated box corners [x1,y1,x2,y2,x3,y3,x4,y4], normalized |
bboxes | (B, N, 4) | Axis-aligned [x1,y1,x2,y2], normalized |
category_conditions | (B, N, 768) | CLIP text embeddings per object (e.g. encode class name) |
mask_conditions | (B, N, 64, 64) | Spatial mask per object (64×64 for 512px output) |
mask_vector | (B, N) | 1 = valid object, 0 = padding |
1@inproceedings{tangAeroGenEnhancingRemote2025,
2 title = {{{AeroGen}}: {{Enhancing Remote Sensing Object Detection}} with {{Diffusion-Driven Data Generation}}},
3 shorttitle = {{{AeroGen}}},
4 booktitle = {{{CVPR}}},
5 author = {Tang, Datao and Cao, Xiangyong and Wu, Xuan and Li, Jialin and Yao, Jing and Bai, Xueru and Jiang, Dongsheng and Li, Yin and Meng, Deyu},
6 year = 2025,
7 pages = {3614--3624},
8 urldate = {2025-11-20}
9}