End of training
Browse files
README.md
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: stabilityai/stable-diffusion-3-medium-diffusers
|
3 |
+
library_name: diffusers
|
4 |
+
license: openrail++
|
5 |
+
instance_prompt: 'a photo of TOK traffic sign '
|
6 |
+
widget: []
|
7 |
+
tags:
|
8 |
+
- text-to-image
|
9 |
+
- diffusers-training
|
10 |
+
- diffusers
|
11 |
+
- lora
|
12 |
+
- sd3
|
13 |
+
- sd3-diffusers
|
14 |
+
- template:sd-lora
|
15 |
+
---
|
16 |
+
|
17 |
+
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
18 |
+
should probably proofread and complete it, then remove this comment. -->
|
19 |
+
|
20 |
+
|
21 |
+
# SD3 DreamBooth LoRA - Nyanmaru/TS_LoRA_sd3_general-warning-sign
|
22 |
+
|
23 |
+
<Gallery />
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
These are Nyanmaru/TS_LoRA_sd3_general-warning-sign DreamBooth LoRA weights for stabilityai/stable-diffusion-3-medium-diffusers.
|
28 |
+
|
29 |
+
The weights were trained using [DreamBooth](https://dreambooth.github.io/) with the [SD3 diffusers trainer](https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_sd3.md).
|
30 |
+
|
31 |
+
Was LoRA for the text encoder enabled? False.
|
32 |
+
|
33 |
+
## Trigger words
|
34 |
+
|
35 |
+
You should use `a photo of TOK traffic sign ` to trigger the image generation.
|
36 |
+
|
37 |
+
## Download model
|
38 |
+
|
39 |
+
[Download the *.safetensors LoRA](Nyanmaru/TS_LoRA_sd3_general-warning-sign/tree/main) in the Files & versions tab.
|
40 |
+
|
41 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
42 |
+
|
43 |
+
```py
|
44 |
+
from diffusers import AutoPipelineForText2Image
|
45 |
+
import torch
|
46 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('stabilityai/stable-diffusion-3-medium-diffusers', torch_dtype=torch.float16).to('cuda')
|
47 |
+
pipeline.load_lora_weights('Nyanmaru/TS_LoRA_sd3_general-warning-sign', weight_name='pytorch_lora_weights.safetensors')
|
48 |
+
image = pipeline('a photo of TOK traffic sign ').images[0]
|
49 |
+
```
|
50 |
+
|
51 |
+
### Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
|
52 |
+
|
53 |
+
- **LoRA**: download **[`diffusers_lora_weights.safetensors` here 💾](/Nyanmaru/TS_LoRA_sd3_general-warning-sign/blob/main/diffusers_lora_weights.safetensors)**.
|
54 |
+
- Rename it and place it on your `models/Lora` folder.
|
55 |
+
- On AUTOMATIC1111, load the LoRA by adding `<lora:your_new_name:1>` to your prompt. On ComfyUI just [load it as a regular LoRA](https://comfyanonymous.github.io/ComfyUI_examples/lora/).
|
56 |
+
|
57 |
+
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|
58 |
+
|
59 |
+
## License
|
60 |
+
|
61 |
+
Please adhere to the licensing terms as described [here](https://huggingface.co/stabilityai/stable-diffusion-3-medium/blob/main/LICENSE).
|
62 |
+
|
63 |
+
|
64 |
+
## Intended uses & limitations
|
65 |
+
|
66 |
+
#### How to use
|
67 |
+
|
68 |
+
```python
|
69 |
+
# TODO: add an example code snippet for running this diffusion pipeline
|
70 |
+
```
|
71 |
+
|
72 |
+
#### Limitations and bias
|
73 |
+
|
74 |
+
[TODO: provide examples of latent issues and potential remediations]
|
75 |
+
|
76 |
+
## Training details
|
77 |
+
|
78 |
+
[TODO: describe the data used to train the model]
|