prithivMLmods commited on
Commit
7782746
·
verified ·
1 Parent(s): f7b68b3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +41 -0
README.md CHANGED
@@ -31,6 +31,47 @@ instance_prompt: Pixel Background
31
 
32
  <Gallery />
33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
  ## Trigger words
36
 
 
31
 
32
  <Gallery />
33
 
34
+ # Model description for Pixel Background
35
+
36
+ Image Processing Parameters
37
+
38
+ | Parameter | Value | Parameter | Value |
39
+ |---------------------------|--------|---------------------------|--------|
40
+ | LR Scheduler | constant | Noise Offset | 0.03 |
41
+ | Optimizer | AdamW | Multires Noise Discount | 0.1 |
42
+ | Network Dim | 64 | Multires Noise Iterations | 10 |
43
+ | Network Alpha | 32 | Repeat & Steps | 20 & 3100 |
44
+ | Epoch | 17 | Save Every N Epochs | 1 |
45
+ Labeling: florence2-en(natural language & English)
46
+
47
+ Total Images Used for Training : 17 [ 8bit pixel ]
48
+
49
+ ## Best Dimensions & Inference
50
+
51
+ | **Dimensions** | **Aspect Ratio** | **Recommendation** |
52
+ |-----------------|------------------|---------------------------|
53
+ | 1280 x 832 | 3:2 | Best |
54
+ | 1024 x 1024 | 1:1 | Default |
55
+
56
+ ### Inference Range
57
+
58
+ - **Recommended Inference Steps:** 30–35
59
+
60
+ ## Setting Up
61
+ ```python
62
+ import torch
63
+ from pipelines import DiffusionPipeline
64
+
65
+ base_model = "black-forest-labs/FLUX.1-dev"
66
+ pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
67
+
68
+ lora_repo = "strangerzonehf/Flux-Pixel-Background-LoRA"
69
+ trigger_word = "Pixel Background"
70
+ pipe.load_lora_weights(lora_repo)
71
+
72
+ device = torch.device("cuda")
73
+ pipe.to(device)
74
+ ```
75
 
76
  ## Trigger words
77