prithivMLmods
commited on
Commit
•
26b93e7
1
Parent(s):
5321abb
Update README.md
Browse files
README.md
CHANGED
@@ -5,23 +5,78 @@ tags:
|
|
5 |
- diffusers
|
6 |
- template:diffusion-lora
|
7 |
widget:
|
8 |
-
- text: '-'
|
9 |
output:
|
10 |
-
url: images/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
base_model: black-forest-labs/FLUX.1-dev
|
12 |
instance_prompt: Creative Stocks
|
13 |
license: apache-2.0
|
14 |
---
|
15 |
-
|
16 |
|
17 |
<Gallery />
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
## Trigger words
|
21 |
|
22 |
You should use `Creative Stocks` to trigger the image generation.
|
23 |
|
24 |
-
|
25 |
## Download model
|
26 |
|
27 |
Weights for this model are available in Safetensors format.
|
|
|
5 |
- diffusers
|
6 |
- template:diffusion-lora
|
7 |
widget:
|
8 |
+
- text: 'Creative Stocks, A flat lay of four neatly folded blue fabric rolls arranged in a square pattern. Each roll has a white label reading "COMFY-COTTON" with a minimalist logo of a cotton plant. The backdrop is a soft beige fabric.'
|
9 |
output:
|
10 |
+
url: images/1.png
|
11 |
+
- text: 'Creative Stocks, a medium-sized cardboard box is positioned against a stark white backdrop. The box is adorned with black text that reads "HOCUME 2MO RESERVED" and "MOD SOCKS". The boxs design features a blue sock and a yellow sock. The text is written in a bold, black font.'
|
12 |
+
output:
|
13 |
+
url: images/2.png
|
14 |
+
- text: 'Creative Stocks, A medium shot of a brown cardboard box with the words "SCHROBELER" written in green on the top of the box. The box is placed on a white wooden surface. There is a yellow label on the box with a man and a dog on it. The man is wearing a yellow shirt and a hat. The dog is holding a black bottle with a black cap. The bottle has a black label with white letters that read "LEKKER" on the bottom of it.'
|
15 |
+
output:
|
16 |
+
url: images/3.png
|
17 |
+
- text: 'Creative Stocks, Captured at eye-level on a vibrant green backdrop, two red boxes, each with the word "Tomatier" written in white on the left side of the box. The box on the right side is labeled "Snack" in black letters, while the box in the middle has "TOMATIER" written on it in white letters. The boxes are identical, with the same design as the one on the bottom left corner. Each box has a black design on it, adding a pop of color to the otherwise monochromatic image.'
|
18 |
+
output:
|
19 |
+
url: images/4.png
|
20 |
+
- text: 'Creative Stocks, A stack of gray aluminum cans arranged neatly on a wooden table. Each can is labeled with the word "FUEL+BOOST" in bold red letters and features a small graphic of a lightning bolt. The background is softly blurred, showcasing warm orange tones.'
|
21 |
+
output:
|
22 |
+
url: images/5.png
|
23 |
+
- text: 'Creative Stocks, A medium shot of a kraft paper bag with the words "FRESHLY ROASTED BEANS" in bold green letters. The bag has a clear window revealing coffee beans inside. It is placed on a white marble surface with a small potted plant in the blurred background.'
|
24 |
+
output:
|
25 |
+
url: images/6.png
|
26 |
base_model: black-forest-labs/FLUX.1-dev
|
27 |
instance_prompt: Creative Stocks
|
28 |
license: apache-2.0
|
29 |
---
|
30 |
+
![sdfg.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/wvnRvvCYSPPcyFX0Gfdtu.png)
|
31 |
|
32 |
<Gallery />
|
33 |
|
34 |
+
# Model description for Flux-Creative-Stocks-LoRA
|
35 |
+
|
36 |
+
Image Processing Parameters
|
37 |
+
|
38 |
+
| Parameter | Value | Parameter | Value |
|
39 |
+
|---------------------------|--------|---------------------------|--------|
|
40 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
41 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
42 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
43 |
+
| Network Alpha | 32 | Repeat & Steps | 19 & 2370 |
|
44 |
+
| Epoch | 16 | Save Every N Epochs | 1 |
|
45 |
+
|
46 |
+
Labeling: florence2-en(natural language & English)
|
47 |
+
|
48 |
+
Total Images Used for Training : 24 [ Raw 8-bit ]
|
49 |
|
50 |
+
## Best Dimensions & Inference
|
51 |
+
|
52 |
+
| **Dimensions** | **Aspect Ratio** | **Recommendation** |
|
53 |
+
|-----------------|------------------|---------------------------|
|
54 |
+
| 1280 x 832 | 3:2 | Best |
|
55 |
+
| 1024 x 1024 | 1:1 | Default |
|
56 |
+
|
57 |
+
### Inference Range
|
58 |
+
|
59 |
+
- **Recommended Inference Steps:** 30–35
|
60 |
+
|
61 |
+
## Setting Up
|
62 |
+
```python
|
63 |
+
import torch
|
64 |
+
from pipelines import DiffusionPipeline
|
65 |
+
|
66 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
67 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
68 |
+
|
69 |
+
lora_repo = "strangerzonehf/Flux-Creative-Stocks-LoRA"
|
70 |
+
trigger_word = "Creative Stocks"
|
71 |
+
pipe.load_lora_weights(lora_repo)
|
72 |
+
|
73 |
+
device = torch.device("cuda")
|
74 |
+
pipe.to(device)
|
75 |
+
```
|
76 |
## Trigger words
|
77 |
|
78 |
You should use `Creative Stocks` to trigger the image generation.
|
79 |
|
|
|
80 |
## Download model
|
81 |
|
82 |
Weights for this model are available in Safetensors format.
|