Instructions to use songkey/hm_reference with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use songkey/hm_reference with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("songkey/hm_reference", 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,4 +1,23 @@
|
|
| 1 |
-
---
|
| 2 |
-
library_name: diffusers
|
| 3 |
-
license: mit
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: diffusers
|
| 3 |
+
license: mit
|
| 4 |
+
base_model:
|
| 5 |
+
- stable-diffusion-v1-5/stable-diffusion-v1-5
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
Model of [HelloMeme](https://songkey.github.io/hellomeme/)
|
| 9 |
+
|
| 10 |
+
**BibTeX:**
|
| 11 |
+
|
| 12 |
+
```bibtex
|
| 13 |
+
@misc{zhang2024hellomemeintegratingspatialknitting,
|
| 14 |
+
title={HelloMeme: Integrating Spatial Knitting Attentions to Embed High-Level and Fidelity-Rich Conditions in Diffusion Models},
|
| 15 |
+
author={Shengkai Zhang and Nianhong Jiao and Tian Li and Chaojie Yang and Chenhui Xue and Boya Niu and Jun Gao},
|
| 16 |
+
year={2024},
|
| 17 |
+
eprint={2410.22901},
|
| 18 |
+
archivePrefix={arXiv},
|
| 19 |
+
primaryClass={cs.CV},
|
| 20 |
+
url={https://arxiv.org/abs/2410.22901},
|
| 21 |
+
}
|
| 22 |
+
```
|
| 23 |
+
|