tonyassi commited on
Commit
aa5e563
1 Parent(s): 30461f7

Upload 2 files

Browse files
Files changed (2) hide show
  1. README.md +93 -0
  2. pytorch_lora_weights.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - stable-diffusion-xl
5
+ - stable-diffusion-xl-diffusers
6
+ - text-to-image
7
+ - diffusers
8
+ - lora
9
+ - template:sd-lora
10
+
11
+ base_model: stabilityai/stable-diffusion-xl-base-1.0
12
+ instance_prompt: Mugler FW97 style
13
+ license: openrail++
14
+ ---
15
+
16
+ # SDXL LoRA DreamBooth - tonyassi/mugler-fw97-fashion-lora
17
+
18
+ by [Tony Assi](https://www.tonyassi.com/)
19
+
20
+ Dreambooth Lora style based on the [Mugler FW97](https://www.vogue.com/fashion-shows/fall-1997-couture/mugler) collection.
21
+
22
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/mlNLvWxZzSGrgIy56ztJR.png)
23
+
24
+ ## Trigger words
25
+ Use **Mugler FW97 style** in the prompt to trigger the style.
26
+
27
+ ## How to use
28
+ ```bash
29
+ pip install diffusers accelerate
30
+ ```
31
+
32
+ ```python
33
+ import torch
34
+ from diffusers import DiffusionPipeline, AutoencoderKL
35
+
36
+ # Load the pipeline
37
+ vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
38
+ pipe = DiffusionPipeline.from_pretrained(
39
+ "stabilityai/stable-diffusion-xl-base-1.0",
40
+ vae=vae,
41
+ torch_dtype=torch.float16,
42
+ variant="fp16",
43
+ use_safetensors=True
44
+ )
45
+ pipe.load_lora_weights("tonyassi/mugler-fw97-fashion-lora")
46
+ pipe.to("cuda")
47
+
48
+ # Generate image
49
+ prompt = "Mugler FW97 style, megan fox wearing a gold mesh dress with crystals"
50
+ image = pipe(prompt=prompt,
51
+ height=1024,
52
+ width=1024,
53
+ num_inference_steps=50,
54
+ negative_prompt="ugly, deformed face, deformed body").images[0]
55
+ image
56
+
57
+ ```
58
+
59
+ ## Examples
60
+
61
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/9z33q9rNhbMRm1y_3_6tR.png)
62
+ **Mugler FW97 style, Bettie Page holding a whip**
63
+
64
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/YMBNN_QekZ9S3-6Sdyix0.png)
65
+ **Mugler FW97 style, Spock, Star Trek**
66
+
67
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/2zZ08zz60womCgoadmrjS.png)
68
+ **Mugler FW97 style, John Travolta**
69
+
70
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/5TsVsqSLgzNHiFlpJEqj_.png)
71
+ **Mugler FW97 style, Bettie Page**
72
+
73
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/t84UeB2_mpwf7helJ-6YS.png)
74
+ **Mugler FW97 style, Emma Stone**
75
+
76
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/rX8lju_0gemMAFiBOocIz.png)
77
+ **Mugler FW97 style, Emma Stone**
78
+
79
+
80
+ ## Model description
81
+ These are tonyassi/mugler-fw97-fashion-lora LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.
82
+
83
+ The weights were trained using [DreamBooth](https://dreambooth.github.io/).
84
+
85
+ LoRA for the text encoder was enabled: False.
86
+
87
+ Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.
88
+
89
+ ## Download model
90
+ Weights for this model are available in Safetensors format.
91
+
92
+ [Download](https://huggingface.co/tonyassi/mugler-fw97-fashion-lora/tree/main) them in the Files & versions tab.
93
+
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2788a2e39d59ebd0d495ef7c7c2d49fbd2ce0faa69bc1415b7c88742536bf2c
3
+ size 170539828