prithivMLmods commited on
Commit
236b03f
·
verified ·
1 Parent(s): 0a28756

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +43 -1
README.md CHANGED
@@ -25,11 +25,53 @@ license: creativeml-openrail-m
25
 
26
  <Gallery />
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  ## Trigger words
29
 
30
  You should use `st portrait` to trigger the image generation.
31
 
32
-
33
  ## Download model
34
 
35
  Weights for this model are available in Safetensors format.
 
25
 
26
  <Gallery />
27
 
28
+ # Model description for Flux-St-Shot
29
+
30
+ Image Processing Parameters
31
+
32
+ | Parameter | Value | Parameter | Value |
33
+ |---------------------------|--------|---------------------------|--------|
34
+ | LR Scheduler | constant | Noise Offset | 0.03 |
35
+ | Optimizer | AdamW | Multires Noise Discount | 0.1 |
36
+ | Network Dim | 64 | Multires Noise Iterations | 10 |
37
+ | Network Alpha | 32 | Repeat & Steps | 18 & 2530 |
38
+ | Epoch | 15 | Save Every N Epochs | 1 |
39
+
40
+ Labeling: florence2-en(natural language & English)
41
+
42
+ Total Images Used for Training : 22
43
+
44
+ ## Best Dimensions & Inference
45
+
46
+ | **Dimensions** | **Aspect Ratio** | **Recommendation** |
47
+ |-----------------|------------------|---------------------------|
48
+ | 1280 x 832 | 3:2 | Best |
49
+ | 1024 x 1024 | 1:1 | Default |
50
+
51
+ ### Inference Range
52
+
53
+ - **Recommended Inference Steps:** 30–35
54
+
55
+ ## Setting Up
56
+ ```python
57
+ import torch
58
+ from pipelines import DiffusionPipeline
59
+
60
+ base_model = "black-forest-labs/Flux-St-Shot"
61
+ pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
62
+
63
+ lora_repo = "strangerzonehf/Flux-St-Shot"
64
+ trigger_word = "st portrait"
65
+ pipe.load_lora_weights(lora_repo)
66
+
67
+ device = torch.device("cuda")
68
+ pipe.to(device)
69
+ ```
70
+
71
  ## Trigger words
72
 
73
  You should use `st portrait` to trigger the image generation.
74
 
 
75
  ## Download model
76
 
77
  Weights for this model are available in Safetensors format.