prithivMLmods commited on
Commit
533b403
1 Parent(s): e313ea5

Update README.md

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