prithivMLmods
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -29,18 +29,56 @@ license: other
|
|
29 |
license_name: flux-1-dev-non-commercial-license
|
30 |
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
31 |
---
|
32 |
-
|
33 |
![xxxxxxxxxxxxxxxxxxx.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/Jz6tu97RBtvL_SZTnEgJ1.png)
|
34 |
|
35 |
-
|
36 |
<Gallery />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
## Trigger words
|
40 |
|
41 |
You should use `Qc-Sketch` to trigger the image generation.
|
42 |
|
43 |
-
|
44 |
## Download model
|
45 |
|
46 |
Weights for this model are available in Safetensors format.
|
|
|
29 |
license_name: flux-1-dev-non-commercial-license
|
30 |
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
31 |
---
|
|
|
32 |
![xxxxxxxxxxxxxxxxxxx.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/Jz6tu97RBtvL_SZTnEgJ1.png)
|
33 |
|
|
|
34 |
<Gallery />
|
35 |
+
# Model description for Qc-Sketch
|
36 |
+
|
37 |
+
Image Processing Parameters
|
38 |
+
|
39 |
+
| Parameter | Value | Parameter | Value |
|
40 |
+
|---------------------------|--------|---------------------------|--------|
|
41 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
42 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
43 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
44 |
+
| Network Alpha | 32 | Repeat & Steps | 16 & 2230 |
|
45 |
+
| Epoch | 17 | Save Every N Epochs | 1 |
|
46 |
+
|
47 |
+
Labeling: florence2-en(natural language & English)
|
48 |
+
|
49 |
+
Total Images Used for Training : 18
|
50 |
+
|
51 |
+
## Best Dimensions & Inference
|
52 |
+
|
53 |
+
| **Dimensions** | **Aspect Ratio** | **Recommendation** |
|
54 |
+
|-----------------|------------------|---------------------------|
|
55 |
+
| 1280 x 832 | 3:2 | Best |
|
56 |
+
| 1024 x 1024 | 1:1 | Default |
|
57 |
|
58 |
+
### Inference Range
|
59 |
+
|
60 |
+
- **Recommended Inference Steps:** 30–35
|
61 |
+
|
62 |
+
## Setting Up
|
63 |
+
```python
|
64 |
+
import torch
|
65 |
+
from pipelines import DiffusionPipeline
|
66 |
+
|
67 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
68 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
69 |
+
|
70 |
+
lora_repo = "strangerzonehf/Qc-Sketch"
|
71 |
+
trigger_word = "Qc-Sketch"
|
72 |
+
pipe.load_lora_weights(lora_repo)
|
73 |
+
|
74 |
+
device = torch.device("cuda")
|
75 |
+
pipe.to(device)
|
76 |
+
```
|
77 |
|
78 |
## Trigger words
|
79 |
|
80 |
You should use `Qc-Sketch` to trigger the image generation.
|
81 |
|
|
|
82 |
## Download model
|
83 |
|
84 |
Weights for this model are available in Safetensors format.
|