prithivMLmods commited on
Commit
5e76747
1 Parent(s): f0b8838

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +39 -2
README.md CHANGED
@@ -23,11 +23,48 @@ license: creativeml-openrail-m
23
  ---
24
  ![strangerzonehf/Flux-YWL-Realism-LoRA](images/ywl.png)
25
 
26
- # Flux-YWL-Realism-LoRA
27
-
28
  <Gallery />
29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
 
 
 
 
31
  ## Trigger words
32
 
33
  You should use `ylw realism` to trigger the image generation.
 
23
  ---
24
  ![strangerzonehf/Flux-YWL-Realism-LoRA](images/ywl.png)
25
 
 
 
26
  <Gallery />
27
 
28
+ **The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**
29
+
30
+ ## Model description
31
+
32
+ **strangerzonehf/Flux-YWL-Realism-LoRA**
33
+
34
+ Image Processing Parameters
35
+
36
+ | Parameter | Value | Parameter | Value |
37
+ |---------------------------|--------|---------------------------|--------|
38
+ | LR Scheduler | constant | Noise Offset | 0.03 |
39
+ | Optimizer | AdamW | Multires Noise Discount | 0.1 |
40
+ | Network Dim | 64 | Multires Noise Iterations | 10 |
41
+ | Network Alpha | 32 | Repeat & Steps | 26 & 3100 |
42
+ | Epoch | 23 | Save Every N Epochs | 1 |
43
+
44
+ Labeling: florence2-en(natural language & English)
45
+
46
+ Total Images Used for Training : 22 [ Hi-Res ]
47
+
48
+ ## Best Dimensions
49
+
50
+ - 768 x 1024 (Best)
51
+ - 1024 x 1024 (Default)
52
+
53
+ ## Setting Up
54
+ ```python
55
+ import torch
56
+ from pipelines import DiffusionPipeline
57
+
58
+ base_model = "black-forest-labs/FLUX.1-dev"
59
+ pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
60
+
61
+ lora_repo = "strangerzonehf/Flux-YWL-Realism-LoRA"
62
+ trigger_word = "ylw realism"
63
+ pipe.load_lora_weights(lora_repo)
64
 
65
+ device = torch.device("cuda")
66
+ pipe.to(device)
67
+ ```
68
  ## Trigger words
69
 
70
  You should use `ylw realism` to trigger the image generation.