prithivMLmods commited on
Commit
bc352ff
1 Parent(s): 8fd2061

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -2
README.md CHANGED
@@ -27,16 +27,56 @@ base_model: black-forest-labs/FLUX.1-dev
27
  instance_prompt: Sketch Scribble
28
  license: apache-2.0
29
  ---
30
- # Flux-Sketch-Scribble-LoRA
31
 
32
  <Gallery />
33
 
 
34
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  ## Trigger words
36
 
37
  You should use `Sketch Scribble` to trigger the image generation.
38
 
39
-
40
  ## Download model
41
 
42
  Weights for this model are available in Safetensors format.
 
27
  instance_prompt: Sketch Scribble
28
  license: apache-2.0
29
  ---
30
+ ![zdvdfvzfdv.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/r9jUP44WHr63K6gVgNkzx.png)
31
 
32
  <Gallery />
33
 
34
+ # Model description for Flux-Sketch-Scribble-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 | 21 & 2790 |
44
+ | Epoch | 16 | Save Every N Epochs | 1 |
45
+
46
+ Labeling: florence2-en(natural language & English)
47
+
48
+ Total Images Used for Training : 20
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-Sketch-Scribble-LoRA"
70
+ trigger_word = "Sketch Scribble"
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 `Sketch Scribble` to trigger the image generation.
79
 
 
80
  ## Download model
81
 
82
  Weights for this model are available in Safetensors format.