File size: 2,088 Bytes
07db377
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
414fa11
 
 
 
 
 
 
07db377
 
 
 
 
 
 
 
 
 
 
 
 
e0851d1
07db377
 
 
 
 
e0851d1
07db377
 
 
 
 
 
 
 
 
3a215cd
07db377
3a215cd
07db377
 
3a215cd
 
07db377
3a215cd
4f39d23
07db377
e0851d1
 
 
3a215cd
07db377
e0851d1
 
 
 
3a215cd
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
---
base_model: stabilityai/stable-diffusion-xl-base-1.0
library_name: diffusers
license: openrail++
instance_prompt: an icon of trpfrog
widget:
- text: an icon of trpfrog eating ramen
  output:
    url: image_0.png
- text: an icon of trpfrog eating ramen
  output:
    url: image_1.png
- text: an icon of trpfrog eating ramen
  output:
    url: image_2.png
- text: an icon of trpfrog eating ramen
  output:
    url: image_3.png
- text: an icon of trpfrog eating ramen
  output:
    url: image_4.png
- text: an icon of trpfrog eating ramen
  output:
    url: image_5.png
- text: an icon of trpfrog eating ramen
  output:
    url: image_6.png
- text: an icon of trpfrog eating ramen
  output:
    url: image_7.png
tags:
- text-to-image
- diffusers-training
- diffusers
- lora
- template:sd-lora
- stable-diffusion-xl
- stable-diffusion-xl-diffusers
- text-to-image
- text-to-image
- diffusers-training
- diffusers
- lora
- template:sd-lora
- stable-diffusion-xl
- stable-diffusion-xl-diffusers
---

<!-- This model card has been generated automatically according to the information the training script had access to. You
should probably proofread and complete it, then remove this comment. -->


# SDXL LoRA DreamBooth - Prgckwb/trpfrog-sdxl-lora

<Gallery />

## Model description

These are Prgckwb/trpfrog-sdxl-lora LoRA adaption weights for stabilityai/stable-diffusion-xl-base-1.0.

The weights were trained  using [DreamBooth](https://dreambooth.github.io/).

LoRA for the text encoder was enabled: False.

Special VAE used for training: madebyollin/sdxl-vae-fp16-fix.

## Trigger words

You should use an icon of "trpfrog" to trigger the image generation.

## How to use

```python
from diffusers import DiffusionPipeline
import torch

base_model_id = 'stabilityai/stable-diffusion-xl-base-1.0'
lora_model_id = 'Prgckwb/trpfrog-sdxl-lora'

pipe = DiffusionPipeline.from_pretrained(
  base_model_id, torch_dtype=torch.float16
).to("cuda")
pipe.load_lora_weights(lora_model_id)

image = pipe(
  "an icon of trpfrog",
  num_inference_steps=25
).images[0]
image.save('trpfrog.png')
```