prithivMLmods commited on
Commit
804f110
·
verified ·
1 Parent(s): 9a2150c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +39 -1
README.md CHANGED
@@ -27,11 +27,49 @@ base_model: black-forest-labs/FLUX.1-dev
27
  instance_prompt: cardboard# art
28
  license: apache-2.0
29
  ---
30
- ![ssdfcvsdfc.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/PkVfD6k14wZQGs4Ak3R0o.png)
31
 
32
  <Gallery />
33
 
 
34
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  ## Trigger words
36
 
37
  You should use `cardboard# art` to trigger the image generation.
 
27
  instance_prompt: cardboard# art
28
  license: apache-2.0
29
  ---
30
+ ![ergsdfgsrtgh.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/LgHJ0QJxTEC-RNAMaystb.png)
31
 
32
  <Gallery />
33
 
34
+ # **Model description for Flux-Cardboard-Art-LoRA**
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 | 26 & 3500 |
44
+ | Epoch | 22 | Save Every N Epochs | 1 |
45
+
46
+ Labeling: florence2-en(natural language & English)
47
+
48
+ Total Images Used for Training : 37
49
+
50
+ ## Best Dimensions & Inference
51
+
52
+ | **Dimensions** | **Aspect Ratio** | **Recommendation** |
53
+ |-----------------|------------------|---------------------------|
54
+ | 1280 x 832 | 3:1 | Compatible |
55
+ | 1024 x 1024 | 1:1 | Default |
56
+
57
+
58
+ ## Setting Up
59
+ ```python
60
+ import torch
61
+ from pipelines import DiffusionPipeline
62
+
63
+ base_model = "black-forest-labs/FLUX.1-dev"
64
+ pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
65
+
66
+ lora_repo = "strangerzonehf/Flux-Cardboard-Art-LoRA"
67
+ trigger_word = "cardboard# art"
68
+ pipe.load_lora_weights(lora_repo)
69
+
70
+ device = torch.device("cuda")
71
+ pipe.to(device)
72
+ ```
73
  ## Trigger words
74
 
75
  You should use `cardboard# art` to trigger the image generation.