prithivMLmods
commited on
Commit
•
fd21d0c
1
Parent(s):
0acab3b
Update README.md
Browse files
README.md
CHANGED
@@ -24,6 +24,58 @@ license: apache-2.0
|
|
24 |
<Gallery />
|
25 |
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
## Trigger words
|
28 |
|
29 |
You should use `textile pattern` to trigger the image generation.
|
|
|
24 |
<Gallery />
|
25 |
|
26 |
|
27 |
+
Image Processing Parameters
|
28 |
+
|
29 |
+
| Parameter | Value | Parameter | Value |
|
30 |
+
|---------------------------|--------|---------------------------|--------|
|
31 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
32 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
33 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
34 |
+
| Network Alpha | 32 | Repeat | 30 |
|
35 |
+
| Epoch | 09 | Save Every N Epochs | 1 |
|
36 |
+
|
37 |
+
Total Steps: 1080
|
38 |
+
|
39 |
+
## SETTING-UP
|
40 |
+
|
41 |
+
```py
|
42 |
+
pipe = StableDiffusionXLPipeline.from_pretrained(
|
43 |
+
"-------------xxxxxxxxx----------",
|
44 |
+
torch_dtype=torch.float16,
|
45 |
+
use_safetensors=True,
|
46 |
+
)
|
47 |
+
(or)
|
48 |
+
-----------------------------------------------------------
|
49 |
+
pipe = StableDiffusionXLPipeline.from_pretrained(
|
50 |
+
"stabilityai/stable-diffusion-xl-base-1.0",
|
51 |
+
torch_dtype=torch.float16,
|
52 |
+
use_safetensors=True,
|
53 |
+
)
|
54 |
+
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
55 |
+
|
56 |
+
pipe.load_lora_weights("prithivMLmods/Canopus-Textile-Pattern-adp-LoRA", weight_name="Canopus-Textile-Pattern-adp-LoRA.safetensors", adapter_name="tpl")
|
57 |
+
pipe.set_adapters("tpl")
|
58 |
+
pipe.to("cuda")
|
59 |
+
```
|
60 |
+
|
61 |
+
|
62 |
+
## Trigger prompts
|
63 |
+
|
64 |
+
Kalamkari textile pattern, 4K
|
65 |
+
|
66 |
+
|
67 |
+
Ikat textile pattern, 4K
|
68 |
+
|
69 |
+
|
70 |
+
Floral textile pattern, 4K
|
71 |
+
|
72 |
+
|
73 |
+
| Parameter | Value |
|
74 |
+
|-----------------|---------------------------------------------------------------------------------------|
|
75 |
+
| Prompt | Floral textile pattern, 4K |
|
76 |
+
| Sampler | euler |
|
77 |
+
|
78 |
+
|
79 |
## Trigger words
|
80 |
|
81 |
You should use `textile pattern` to trigger the image generation.
|