prithivMLmods commited on
Commit
def4383
·
verified ·
1 Parent(s): 326f198

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -1
README.md CHANGED
@@ -43,11 +43,52 @@ license: creativeml-openrail-m
43
 
44
  <Gallery />
45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  ## Trigger words
47
 
48
  You should use `Sketch Sized` to trigger the image generation.
49
 
50
-
51
  ## Download model
52
 
53
  Weights for this model are available in Safetensors format.
 
43
 
44
  <Gallery />
45
 
46
+ # Model description for Sketch Sized
47
+
48
+ Image Processing Parameters
49
+
50
+ | Parameter | Value | Parameter | Value |
51
+ |---------------------------|--------|---------------------------|--------|
52
+ | LR Scheduler | constant | Noise Offset | 0.03 |
53
+ | Optimizer | AdamW | Multires Noise Discount | 0.1 |
54
+ | Network Dim | 64 | Multires Noise Iterations | 10 |
55
+ | Network Alpha | 32 | Repeat & Steps | 27 & 3490 |
56
+ | Epoch | 20 | Save Every N Epochs | 1 |
57
+
58
+ Labeling: florence2-en(natural language & English)
59
+
60
+ Total Images Used for Training : 30 [ 14 bit raw ]
61
+
62
+ ## Best Dimensions & Inference
63
+
64
+ | **Dimensions** | **Aspect Ratio** | **Recommendation** |
65
+ |-----------------|------------------|---------------------------|
66
+ | 1280 x 832 | 3:2 | Best |
67
+ | 1024 x 1024 | 1:1 | Default |
68
+
69
+ ### Inference Range
70
+
71
+ - **Recommended Inference Steps:** 30–35
72
+
73
+ ## Setting Up
74
+ ```python
75
+ import torch
76
+ from pipelines import DiffusionPipeline
77
+
78
+ base_model = "black-forest-labs/FLUX.1-dev"
79
+ pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
80
+
81
+ lora_repo = "strangerzonehf/Flux-Sketch-Sized-LoRA"
82
+ trigger_word = "Sketch Sized"
83
+ pipe.load_lora_weights(lora_repo)
84
+
85
+ device = torch.device("cuda")
86
+ pipe.to(device)
87
+ ```
88
  ## Trigger words
89
 
90
  You should use `Sketch Sized` to trigger the image generation.
91
 
 
92
  ## Download model
93
 
94
  Weights for this model are available in Safetensors format.