prithivMLmods commited on
Commit
54077e2
·
verified ·
1 Parent(s): 7caed59

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +41 -2
README.md CHANGED
@@ -21,11 +21,50 @@ base_model: black-forest-labs/FLUX.1-dev
21
  instance_prompt: Bg bag
22
  license: creativeml-openrail-m
23
  ---
24
- # Bg-Bag
25
-
26
  <Gallery />
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
 
 
 
29
  ## Trigger words
30
 
31
  You should use `Bg bag` to trigger the image generation.
 
21
  instance_prompt: Bg bag
22
  license: creativeml-openrail-m
23
  ---
 
 
24
  <Gallery />
25
 
26
+ # Model description for Bg-Bag
27
+
28
+ Image Processing Parameters
29
+
30
+ | Parameter | Value | Parameter | Value |
31
+ |---------------------------|--------|---------------------------|--------|
32
+ | LR Scheduler | constant | Noise Offset | 0.03 |
33
+ | Optimizer | AdamW | Multires Noise Discount | 0.1 |
34
+ | Network Dim | 64 | Multires Noise Iterations | 10 |
35
+ | Network Alpha | 32 | Repeat & Steps | 16 & 2230 |
36
+ | Epoch | 14 | Save Every N Epochs | 1 |
37
+
38
+ Labeling: florence2-en(natural language & English)
39
+
40
+ Total Images Used for Training : 25
41
+
42
+ ## Best Dimensions & Inference
43
+
44
+ | **Dimensions** | **Aspect Ratio** | **Recommendation** |
45
+ |-----------------|------------------|---------------------------|
46
+ | 1280 x 832 | 3:2 | Best |
47
+ | 1024 x 1024 | 1:1 | Default |
48
+
49
+ ### Inference Range
50
+
51
+ - **Recommended Inference Steps:** 30–35
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/Bg-Bag"
62
+ trigger_word = "Ctoon++"
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 `Bg bag` to trigger the image generation.