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 ---
2
+ license: other
3
+ base_model: "stabilityai/stable-diffusion-3.5-medium"
4
+ tags:
5
+ - sd3
6
+ - sd3-diffusers
7
+ - text-to-image
8
+ - diffusers
9
+ - simpletuner
10
+ - not-for-all-audiences
11
+ - lora
12
+ - template:sd-lora
13
+ - lycoris
14
+ inference: true
15
+ widget:
16
+ - text: 'unconditional (blank prompt)'
17
+ parameters:
18
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
19
+ output:
20
+ url: ./assets/image_0_0.png
21
+ - text: 'Alien planet, strange rock formations, glowing plants, bizarre creatures, surreal atmosphere'
22
+ parameters:
23
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
24
+ output:
25
+ url: ./assets/image_1_0.png
26
+ - text: 'Alien marketplace, bizarre creatures, exotic goods, vibrant colors, otherworldly atmosphere'
27
+ parameters:
28
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
29
+ output:
30
+ url: ./assets/image_2_0.png
31
+ - text: 'Child holding a balloon, happy expression, colorful balloons, sunny day, high detail'
32
+ parameters:
33
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
34
+ output:
35
+ url: ./assets/image_3_0.png
36
+ - text: 'a 4-panel comic strip showing an orange cat saying the words ''HELP'' and ''LASAGNA'''
37
+ parameters:
38
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
39
+ output:
40
+ url: ./assets/image_4_0.png
41
+ - text: 'a hand is holding a comic book with a cover that reads ''The Adventures of Superhero'''
42
+ parameters:
43
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
44
+ output:
45
+ url: ./assets/image_5_0.png
46
+ - text: 'Underground cave filled with crystals, glowing lights, reflective surfaces, fantasy environment, high detail'
47
+ parameters:
48
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
49
+ output:
50
+ url: ./assets/image_6_0.png
51
+ - text: 'Bustling cyberpunk bazaar, vendors, neon signs, advanced tech, crowded, high detail'
52
+ parameters:
53
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
54
+ output:
55
+ url: ./assets/image_7_0.png
56
+ - text: 'Cyberpunk hacker in a dark room, neon glow, multiple screens, intense focus, high detail'
57
+ parameters:
58
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
59
+ output:
60
+ url: ./assets/image_8_0.png
61
+ - text: 'a cybernetic anne of green gables with neural implant and bio mech augmentations'
62
+ parameters:
63
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
64
+ output:
65
+ url: ./assets/image_9_0.png
66
+ - text: 'Post-apocalyptic cityscape, ruined buildings, overgrown vegetation, dark and gritty, high detail'
67
+ parameters:
68
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
69
+ output:
70
+ url: ./assets/image_10_0.png
71
+ - text: 'Magical castle in a lush forest, glowing windows, fantasy architecture, high resolution, detailed textures'
72
+ parameters:
73
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
74
+ output:
75
+ url: ./assets/image_11_0.png
76
+ - text: 'Ruins of an ancient temple in an enchanted forest, glowing runes, mystical creatures, high detail'
77
+ parameters:
78
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
79
+ output:
80
+ url: ./assets/image_12_0.png
81
+ - text: 'Mystical forest, glowing plants, fairies, magical creatures, fantasy art, high detail'
82
+ parameters:
83
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
84
+ output:
85
+ url: ./assets/image_13_0.png
86
+ - text: 'Magical garden with glowing flowers, fairies, serene atmosphere, detailed plants, high resolution'
87
+ parameters:
88
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
89
+ output:
90
+ url: ./assets/image_14_0.png
91
+ - text: 'Whimsical garden filled with fairies, magical plants, sparkling lights, serene atmosphere, high detail'
92
+ parameters:
93
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
94
+ output:
95
+ url: ./assets/image_15_0.png
96
+ - text: 'Majestic dragon soaring through the sky, detailed scales, dynamic pose, fantasy art, high resolution'
97
+ parameters:
98
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
99
+ output:
100
+ url: ./assets/image_16_0.png
101
+ - text: 'Fantasy world, floating islands in the sky, waterfalls, lush vegetation, detailed landscape, high resolution'
102
+ parameters:
103
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
104
+ output:
105
+ url: ./assets/image_17_0.png
106
+ - text: 'Futuristic city skyline at night, neon lights, cyberpunk style, high contrast, sharp focus'
107
+ parameters:
108
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
109
+ output:
110
+ url: ./assets/image_18_0.png
111
+ - text: 'Space battle scene, starships fighting, laser beams, explosions, cosmic background'
112
+ parameters:
113
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
114
+ output:
115
+ url: ./assets/image_19_0.png
116
+ - text: 'Abandoned fairground at night, eerie rides, ghostly figures, fog, dark atmosphere, high detail'
117
+ parameters:
118
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
119
+ output:
120
+ url: ./assets/image_20_0.png
121
+ - text: 'Spooky haunted mansion on a hill, dark and eerie, glowing windows, ghostly atmosphere, high detail'
122
+ parameters:
123
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
124
+ output:
125
+ url: ./assets/image_21_0.png
126
+ - text: 'a hardcover physics textbook that is called PHYSICS FOR DUMMIES'
127
+ parameters:
128
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
129
+ output:
130
+ url: ./assets/image_22_0.png
131
+ - text: 'Epic medieval battle, knights in armor, dynamic action, detailed landscape, high resolution'
132
+ parameters:
133
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
134
+ output:
135
+ url: ./assets/image_23_0.png
136
+ - text: 'Bustling medieval market with merchants, knights, and jesters, vibrant colors, detailed'
137
+ parameters:
138
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
139
+ output:
140
+ url: ./assets/image_24_0.png
141
+ - text: 'Cozy medieval tavern, warm firelight, adventurers drinking, detailed interior, rustic atmosphere'
142
+ parameters:
143
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
144
+ output:
145
+ url: ./assets/image_25_0.png
146
+ - text: 'Futuristic city skyline at night, neon lights, cyberpunk style, high contrast, sharp focus'
147
+ parameters:
148
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
149
+ output:
150
+ url: ./assets/image_26_0.png
151
+ - text: 'Forest with neon-lit trees, glowing plants, bioluminescence, surreal atmosphere, high detail'
152
+ parameters:
153
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
154
+ output:
155
+ url: ./assets/image_27_0.png
156
+ - text: 'Bright neon sign in a busy city street, ''Open 24 Hours'', bold typography, glowing lights'
157
+ parameters:
158
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
159
+ output:
160
+ url: ./assets/image_28_0.png
161
+ - text: 'Vibrant neon sign, ''Bar'', bold typography, dark background, glowing lights, detailed design'
162
+ parameters:
163
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
164
+ output:
165
+ url: ./assets/image_29_0.png
166
+ - text: 'Pirate ship on the high seas, stormy weather, detailed sails, dramatic waves, photorealistic'
167
+ parameters:
168
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
169
+ output:
170
+ url: ./assets/image_30_0.png
171
+ - text: 'Pirate discovering a treasure chest, detailed gold coins, tropical island, dramatic lighting'
172
+ parameters:
173
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
174
+ output:
175
+ url: ./assets/image_31_0.png
176
+ - text: 'a photograph of a woman experiencing a psychedelic trip. trippy, 8k, uhd, fractal'
177
+ parameters:
178
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
179
+ output:
180
+ url: ./assets/image_32_0.png
181
+ - text: 'Cozy cafe on a rainy day, people sipping coffee, warm lights, reflections on wet pavement, photorealistic'
182
+ parameters:
183
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
184
+ output:
185
+ url: ./assets/image_33_0.png
186
+ - text: '1980s arcade, neon lights, vintage game machines, kids playing, vibrant colors, nostalgic atmosphere'
187
+ parameters:
188
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
189
+ output:
190
+ url: ./assets/image_34_0.png
191
+ - text: '1980s game room with vintage arcade machines, neon lights, vibrant colors, nostalgic feel'
192
+ parameters:
193
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
194
+ output:
195
+ url: ./assets/image_35_0.png
196
+ - text: 'Robot blacksmith forging metal, sparks flying, detailed workshop, futuristic and medieval blend'
197
+ parameters:
198
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
199
+ output:
200
+ url: ./assets/image_36_0.png
201
+ - text: 'Sleek robot performing a dance, futuristic theater, holographic effects, detailed, high resolution'
202
+ parameters:
203
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
204
+ output:
205
+ url: ./assets/image_37_0.png
206
+ - text: 'High-tech factory where robots are assembled, detailed machinery, futuristic setting, high detail'
207
+ parameters:
208
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
209
+ output:
210
+ url: ./assets/image_38_0.png
211
+ - text: 'Garden tended by robots, mechanical plants, colorful flowers, futuristic setting, high detail'
212
+ parameters:
213
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
214
+ output:
215
+ url: ./assets/image_39_0.png
216
+ - text: 'Cute robotic pet, futuristic home, sleek design, detailed features, friendly and animated'
217
+ parameters:
218
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
219
+ output:
220
+ url: ./assets/image_40_0.png
221
+ - text: 'cctv trail camera night time security picture of a wendigo in the woods'
222
+ parameters:
223
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
224
+ output:
225
+ url: ./assets/image_41_0.png
226
+ - text: 'Astronaut exploring an alien planet, detailed landscape, futuristic suit, cosmic background'
227
+ parameters:
228
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
229
+ output:
230
+ url: ./assets/image_42_0.png
231
+ - text: 'Futuristic space station orbiting a distant exoplanet, sleek design, detailed structures, cosmic backdrop'
232
+ parameters:
233
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
234
+ output:
235
+ url: ./assets/image_43_0.png
236
+ - text: 'a person holding a sign that reads ''SOON'''
237
+ parameters:
238
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
239
+ output:
240
+ url: ./assets/image_44_0.png
241
+ - text: 'Steampunk airship in the sky, intricate design, Victorian aesthetics, dynamic scene, high detail'
242
+ parameters:
243
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
244
+ output:
245
+ url: ./assets/image_45_0.png
246
+ - text: 'Steampunk inventor in a workshop, intricate gadgets, Victorian attire, mechanical arm, goggles'
247
+ parameters:
248
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
249
+ output:
250
+ url: ./assets/image_46_0.png
251
+ - text: 'Stormy ocean with towering waves, dramatic skies, detailed water, intense atmosphere, high resolution'
252
+ parameters:
253
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
254
+ output:
255
+ url: ./assets/image_47_0.png
256
+ - text: 'Dramatic stormy sea, lighthouse in the distance, lightning striking, dark clouds, high detail'
257
+ parameters:
258
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
259
+ output:
260
+ url: ./assets/image_48_0.png
261
+ - text: 'Graffiti artist creating a mural, vibrant colors, urban setting, dynamic action, high resolution'
262
+ parameters:
263
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
264
+ output:
265
+ url: ./assets/image_49_0.png
266
+ - text: 'Urban alleyway filled with vibrant graffiti art, tags and murals, realistic textures'
267
+ parameters:
268
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
269
+ output:
270
+ url: ./assets/image_50_0.png
271
+ - text: 'Urban street sign, ''Main Street'', bold typography, realistic textures, weathered look'
272
+ parameters:
273
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
274
+ output:
275
+ url: ./assets/image_51_0.png
276
+ - text: 'Classic car show with vintage vehicles, vibrant colors, nostalgic atmosphere, high detail'
277
+ parameters:
278
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
279
+ output:
280
+ url: ./assets/image_52_0.png
281
+ - text: 'Retro diner sign, ''Joe''s Diner'', classic 1950s design, neon lights, weathered look'
282
+ parameters:
283
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
284
+ output:
285
+ url: ./assets/image_53_0.png
286
+ - text: 'Vintage store sign with elaborate typography, ''Antique Shop'', hand-painted, weathered look'
287
+ parameters:
288
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
289
+ output:
290
+ url: ./assets/image_54_0.png
291
+ - text: 'A photo-realistic image of a cat'
292
+ parameters:
293
+ negative_prompt: 'ugly, cropped, blurry, low-quality, mediocre average'
294
+ output:
295
+ url: ./assets/image_55_0.png
296
+ ---
297
+
298
+ # sd35m-photo-SLG
299
+
300
+ This is a LyCORIS adapter derived from [stabilityai/stable-diffusion-3.5-medium](https://huggingface.co/stabilityai/stable-diffusion-3.5-medium).
301
+
302
+
303
+ The main validation prompt used during training was:
304
+
305
+
306
+
307
+ ```
308
+ A photo-realistic image of a cat
309
+ ```
310
+
311
+ ## Validation settings
312
+ - CFG: `4.5`
313
+ - CFG Rescale: `0.0`
314
+ - Steps: `30`
315
+ - Sampler: `None`
316
+ - Seed: `42`
317
+ - Resolution: `1024x1024`
318
+
319
+ Note: The validation settings are not necessarily the same as the [training settings](#training-settings).
320
+
321
+ You can find some example images in the following gallery:
322
+
323
+
324
+ <Gallery />
325
+
326
+ The text encoder **was not** trained.
327
+ You may reuse the base model text encoder for inference.
328
+
329
+
330
+ ## Training settings
331
+
332
+ - Training epochs: 10
333
+ - Training steps: 111000
334
+ - Learning rate: 0.0001
335
+ - Max grad norm: 0.01
336
+ - Effective batch size: 12
337
+ - Micro-batch size: 4
338
+ - Gradient accumulation steps: 1
339
+ - Number of GPUs: 3
340
+ - Prediction type: flow-matching
341
+ - Rescaled betas zero SNR: False
342
+ - Optimizer: adamw_bf16
343
+ - Precision: Pure BF16
344
+ - Quantised: No
345
+ - Xformers: Not used
346
+ - LyCORIS Config:
347
+ ```json
348
+ {
349
+ "bypass_mode": true,
350
+ "algo": "lokr",
351
+ "multiplier": 1.0,
352
+ "full_matrix": true,
353
+ "linear_dim": 10000,
354
+ "linear_alpha": 1,
355
+ "factor": 4,
356
+ "apply_preset": {
357
+ "target_module": [
358
+ "Attention",
359
+ "FeedForward"
360
+ ],
361
+ "module_algo_map": {
362
+ "FeedForward": {
363
+ "factor": 4
364
+ },
365
+ "JointTransformerBlock": {
366
+ "factor": 2
367
+ }
368
+ }
369
+ }
370
+ }
371
+ ```
372
+
373
+ ## Datasets
374
+
375
+ ### signs
376
+ - Repeats: 0
377
+ - Total number of images: ~420
378
+ - Total number of aspect buckets: 20
379
+ - Resolution: 1.048576 megapixels
380
+ - Cropped: False
381
+ - Crop style: None
382
+ - Crop aspect: None
383
+ - Used for regularisation data: No
384
+ ### moviecollection
385
+ - Repeats: 0
386
+ - Total number of images: ~1983
387
+ - Total number of aspect buckets: 35
388
+ - Resolution: 1.048576 megapixels
389
+ - Cropped: False
390
+ - Crop style: None
391
+ - Crop aspect: None
392
+ - Used for regularisation data: No
393
+ ### bookcovers
394
+ - Repeats: 0
395
+ - Total number of images: ~927
396
+ - Total number of aspect buckets: 26
397
+ - Resolution: 1.048576 megapixels
398
+ - Cropped: False
399
+ - Crop style: None
400
+ - Crop aspect: None
401
+ - Used for regularisation data: No
402
+ ### shutterstock
403
+ - Repeats: 0
404
+ - Total number of images: ~21111
405
+ - Total number of aspect buckets: 13
406
+ - Resolution: 1.048576 megapixels
407
+ - Cropped: False
408
+ - Crop style: None
409
+ - Crop aspect: None
410
+ - Used for regularisation data: No
411
+ ### cinemamix-1mp
412
+ - Repeats: 0
413
+ - Total number of images: ~7425
414
+ - Total number of aspect buckets: 3
415
+ - Resolution: 1.048576 megapixels
416
+ - Cropped: False
417
+ - Crop style: None
418
+ - Crop aspect: None
419
+ - Used for regularisation data: No
420
+ ### anatomy
421
+ - Repeats: 5
422
+ - Total number of images: ~16440
423
+ - Total number of aspect buckets: 2
424
+ - Resolution: 1.048576 megapixels
425
+ - Cropped: False
426
+ - Crop style: None
427
+ - Crop aspect: None
428
+ - Used for regularisation data: No
429
+
430
+
431
+ ## Inference
432
+
433
+
434
+ ```python
435
+ import torch
436
+ from diffusers import DiffusionPipeline
437
+ from lycoris import create_lycoris_from_weights
438
+
439
+ model_id = 'stabilityai/stable-diffusion-3.5-medium'
440
+ adapter_id = 'pytorch_lora_weights.safetensors' # you will have to download this manually
441
+ lora_scale = 1.0
442
+ wrapper, _ = create_lycoris_from_weights(lora_scale, adapter_id, pipeline.transformer)
443
+ wrapper.merge_to()
444
+
445
+ prompt = "A photo-realistic image of a cat"
446
+ negative_prompt = 'ugly, cropped, blurry, low-quality, mediocre average'
447
+ pipeline.to('cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu')
448
+ image = pipeline(
449
+ prompt=prompt,
450
+ negative_prompt=negative_prompt,
451
+ num_inference_steps=30,
452
+ generator=torch.Generator(device='cuda' if torch.cuda.is_available() else 'mps' if torch.backends.mps.is_available() else 'cpu').manual_seed(1641421826),
453
+ width=1024,
454
+ height=1024,
455
+ guidance_scale=4.5,
456
+ ).images[0]
457
+ image.save("output.png", format="PNG")
458
+ ```
459
+