HiCo: Hierarchical Controllable Diffusion Model for Layout-to-image Generation
Paper • 2410.14324 • Published
How to use qihoo360/HiCo_T2I with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("qihoo360/HiCo_T2I", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]This repository is the official implementation of HiCo.
HiCo: Hierarchical Controllable Diffusion Model for Layout-to-image Generation
Bo Cheng, Yuhang Ma, Liebucha Wu, Shanyuan Liu, Ao Ma, Xiaoyu Wu, Dawei Leng†, Yuhui Yin(✝Corresponding Author)
@misc{cheng2024hicohierarchicalcontrollablediffusion,
title={HiCo: Hierarchical Controllable Diffusion Model for Layout-to-image Generation},
author={Bo Cheng and Yuhang Ma and Liebucha Wu and Shanyuan Liu and Ao Ma and Xiaoyu Wu and Dawei Leng and Yuhui Yin},
year={2024},
eprint={2410.14324},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2410.14324},
}
This project is licensed under the Apache License (Version 2.0).