prithivMLmods commited on
Commit
b5cdb1f
·
verified ·
1 Parent(s): 39d208a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -0
README.md CHANGED
@@ -25,6 +25,48 @@ license: creativeml-openrail-m
25
 
26
  <Gallery />
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  ## Trigger words
29
 
30
  You should use `Super Portrait v2` to trigger the image generation.
 
25
 
26
  <Gallery />
27
 
28
+ # Model description for Flux-SuperPortrait-v2-LoRA
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 | 19 & 2890 |
38
+ | Epoch | 15 | Save Every N Epochs | 1 |
39
+
40
+ Labeling: florence2-en(natural language & English)
41
+
42
+ Total Images Used for Training : 29 [ Flat 4K ]
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.1-dev"
61
+ pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
62
+
63
+ lora_repo = "strangerzonehf/Flux-SuperPortrait-v2-LoRA"
64
+ trigger_word = "Super Portrait v2"
65
+ pipe.load_lora_weights(lora_repo)
66
+
67
+ device = torch.device("cuda")
68
+ pipe.to(device)
69
+ ```
70
  ## Trigger words
71
 
72
  You should use `Super Portrait v2` to trigger the image generation.