Text-to-Image
Diffusers
Safetensors
English
StableDiffusionPipeline
stable-diffusion
cvpr
image-generation
compositionality
Instructions to use mlpc-lab/TokenCompose_SD14_B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mlpc-lab/TokenCompose_SD14_B with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mlpc-lab/TokenCompose_SD14_B", 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
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -108,12 +108,12 @@ image.save("cat_and_wine_glass.png")
|
|
| 108 |
|
| 109 |
# 📰 Citation
|
| 110 |
```bibtex
|
| 111 |
-
@
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
}
|
| 119 |
```
|
|
|
|
| 108 |
|
| 109 |
# 📰 Citation
|
| 110 |
```bibtex
|
| 111 |
+
@InProceedings{Wang2024TokenCompose,
|
| 112 |
+
author = {Wang, Zirui and Sha, Zhizhou and Ding, Zheng and Wang, Yilin and Tu, Zhuowen},
|
| 113 |
+
title = {TokenCompose: Text-to-Image Diffusion with Token-level Supervision},
|
| 114 |
+
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
|
| 115 |
+
month = {June},
|
| 116 |
+
year = {2024},
|
| 117 |
+
pages = {8553-8564}
|
| 118 |
}
|
| 119 |
```
|