Text-to-Image
Diffusers
lora
template:diffusion-lora
prithivMLmods commited on
Commit
32d3332
·
verified ·
1 Parent(s): 275b48a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +41 -2
README.md CHANGED
@@ -31,15 +31,54 @@ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICE
31
  ---
32
  ![sjdsnlsdv.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/QnjkYX51lVnkZJwHxS695.png)
33
 
34
-
35
  <Gallery />
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
  ## Trigger words
39
 
40
  You should use `Qd-Sketch` to trigger the image generation.
41
 
42
-
43
  ## Download model
44
 
45
  Weights for this model are available in Safetensors format.
 
31
  ---
32
  ![sjdsnlsdv.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/QnjkYX51lVnkZJwHxS695.png)
33
 
 
34
  <Gallery />
35
 
36
+ # Model description for Qd-Sketch
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 | 26 & 3830 |
45
+ | Epoch | 20 | Save Every N Epochs | 1 |
46
+
47
+ Labeling: florence2-en(natural language & English)
48
+
49
+ Total Images Used for Training : 23
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/Qd-Sketch"
71
+ trigger_word = "Qd-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 `Qd-Sketch` to trigger the image generation.
81
 
 
82
  ## Download model
83
 
84
  Weights for this model are available in Safetensors format.