Text-to-Image
Diffusers
English
StableDiffusionPipeline
Asian
China
Character
stable-diffusion
aiart
Instructions to use DGSpitzer/Guan-Yu-Diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use DGSpitzer/Guan-Yu-Diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("DGSpitzer/Guan-Yu-Diffusion", 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
Commit History
-
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`.
Hey DGSpitzer 👋, Your model repository seems to contain logic to load a feature extractor that is deprecated, which you should notice by seeing the warning: ``` transformers/models/clip/feature_extraction_clip.py:28: FutureWarning: The class CLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use CLIPImageProcessor instead. warnings.warn( ``` when running `pipe = DiffusionPipeline.from_pretrained(DGSpitzer/Guan-Yu-Diffusion)`.This PR makes sure that the warning does not show anymore by replacing `CLIPFeatureExtractor` with `CLIPImageProcessor`. This will certainly not change or break your checkpoint, but onlymake sure that everything is up to date. Best, the 🧨 Diffusers team.187888c
-
Add `scale_factor` to vae config. (#1)
- Add `scale_factor` to vae config. (a3f2ccdadb6601231a910e595800ad7348515787) Co-authored-by: Suraj Patil <valhalla@users.noreply.huggingface.co>f28cb22
-
Update README.md
a388d44 -
Update README.md
3e62588 -
Update README.md
e34fbfa -
Update README.md
cb6acf8 -
Update README.md
9534680 -
Update README.md
b73b19d -
Update README.md
b5ce908 -
Update README.md
8779d5e -
Update README.md
387bfe5 -
Update README.md
e806a94 -
Upload 0.jpg
593056a -
Update README.md
113449b -
Update README.md
ff6f913 -
Update README.md
e06f1ac -
Update README.md
ff0d530 -
Update README.md
d6d2d09 -
Upload 1.jpg
09ea85d -
Update README.md
e86d260 -
Delete img/2.png
5680be7 -
Upload 2.jpg
bf170e0 -
Update README.md
4ffd8e4 -
Update README.md
cf5031e -
Delete img/2
8489bb1 -
Upload 2.png
4af0066 -
Create img/2
cca64ed -
Delete 2.png
0d6045a -
Upload 2.png
4e3f7f0 -
Delete img/1
ff3258e -
Create img/1
11beaba -
Update README.md
a3b875c -
Update README.md
4a40e66 -
Update README.md
0306d2f -
Update unet/config.json
d45f504 -
Update scheduler/scheduler_config.json
ec368b3 -
Update README.md
6282826 -
Update README.md
b21f646
-
Upload diffusion_pytorch_model.bin
99469b5 -
Upload diffusion_pytorch_model.bin
4e67d28 -
Upload pytorch_model.bin
ae60095 -
Update configs
1ee8ac9 -
Upload diffusion_pytorch_model.bin
042cbaf -
Upload pytorch_model.bin
eb39163 -
Upload pytorch_model.bin
203c9c6 -
Upload diffusion_pytorch_model.bin
bb79ec0 -
Upload Guan-Yu-Diffusion.ckpt
69cf098 -
Add config files
cd59aef -
Init Push
674bcb7 -
initial commit
15191c0