Text-to-Image
Diffusers
lora
template:diffusion-lora
prithivMLmods commited on
Commit
23b81ee
·
verified ·
1 Parent(s): 0d6e08a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +44 -0
README.md CHANGED
@@ -35,6 +35,50 @@ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICE
35
 
36
  <Gallery />
37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  ## Trigger words
39
 
40
  You should use `Qs Sketch` to trigger the image generation.
 
35
 
36
  <Gallery />
37
 
38
+ # Model description for Qs Sketch
39
+
40
+ Image Processing Parameters
41
+
42
+ | Parameter | Value | Parameter | Value |
43
+ |---------------------------|--------|---------------------------|--------|
44
+ | LR Scheduler | constant | Noise Offset | 0.03 |
45
+ | Optimizer | AdamW | Multires Noise Discount | 0.1 |
46
+ | Network Dim | 64 | Multires Noise Iterations | 10 |
47
+ | Network Alpha | 32 | Repeat & Steps | 18 & 2530 |
48
+ | Epoch | 15 | Save Every N Epochs | 1 |
49
+
50
+ Labeling: florence2-en(natural language & English)
51
+
52
+ Total Images Used for Training : 26
53
+
54
+ ## Best Dimensions & Inference
55
+
56
+ | **Dimensions** | **Aspect Ratio** | **Recommendation** |
57
+ |-----------------|------------------|---------------------------|
58
+ | 1280 x 832 | 3:2 | Best |
59
+ | 1024 x 1024 | 1:1 | Default |
60
+
61
+ ### Inference Range
62
+
63
+ - **Recommended Inference Steps:** 30–35
64
+
65
+ ## Setting Up
66
+ ```python
67
+ import torch
68
+ from pipelines import DiffusionPipeline
69
+
70
+ base_model = "black-forest-labs/FLUX.1-dev"
71
+ pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
72
+
73
+ lora_repo = "strangerzonehf/Qs-Sketch"
74
+ trigger_word = "Qs Sketch"
75
+ pipe.load_lora_weights(lora_repo)
76
+
77
+ device = torch.device("cuda")
78
+ pipe.to(device)
79
+ ```
80
+
81
+
82
  ## Trigger words
83
 
84
  You should use `Qs Sketch` to trigger the image generation.