Instructions to use GeneralAwareness/MirrorMask with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use GeneralAwareness/MirrorMask with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("GeneralAwareness/MirrorMask", 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`. (#5)
- Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (e753e5210580bf51709ea8e28c7d99d583de6ef3) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>7f6cf12
-
Add `scale_factor` to vae config. (#4)
- Add `scale_factor` to vae config. (dd1b162504f5df479df3f9b8675d61626ec55cfc) Co-authored-by: Suraj Patil <valhalla@users.noreply.huggingface.co>b760820
-
Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#3)
- Add `clip_sample=False` to scheduler to make model compatible with DDIM. (88722ad23ce7d9a9684eea8629e9d45711623ac6) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>22bb16f
-
Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (#2)
- Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (6143cce1accd1ac99845f235c239bd83734c9443) Co-authored-by: Patrick von Platen <patrickvonplaten@users.noreply.huggingface.co>aa975e7
-
Add Diffusers weights (#1)
- Add Diffusers weights (b9424d26be8517c4ac55416a609540c12f232601)f3925ec -
Upload 14 files
4e6fb41 -
Upload model_index.json
20b32e5 -
Update README.md
7b4d712 -
Upload mirrormask.ckpt
b25a40d -
Update README.md
1108cb1 -
Upload 12 files
508eb32 -
Update README.md
5f0b3b6 -
Update README.md
73764e7 -
Update README.md
867a12e -
Upload README.md
9e28a0b -
initial commit
15bd44c