Text-to-Image
Diffusers
lora
template:diffusion-lora
prithivMLmods commited on
Commit
d732b0f
·
verified ·
1 Parent(s): 4ef572a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -1
README.md CHANGED
@@ -28,12 +28,53 @@ license: apache-2.0
28
 
29
  <Gallery />
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
 
32
  ## Trigger words
33
 
34
  You should use `Thread of Art` to trigger the image generation.
35
 
36
-
37
  ## Download model
38
 
39
  Weights for this model are available in Safetensors format.
 
28
 
29
  <Gallery />
30
 
31
+ # Model description for Thread-of-Art-Flux
32
+
33
+ Image Processing Parameters
34
+
35
+ | Parameter | Value | Parameter | Value |
36
+ |---------------------------|--------|---------------------------|--------|
37
+ | LR Scheduler | constant | Noise Offset | 0.03 |
38
+ | Optimizer | AdamW | Multires Noise Discount | 0.1 |
39
+ | Network Dim | 64 | Multires Noise Iterations | 10 |
40
+ | Network Alpha | 32 | Repeat & Steps | 20 & 3200 |
41
+ | Epoch | 25 | Save Every N Epochs | 1 |
42
+
43
+ Labeling: florence2-en(natural language & English)
44
+
45
+ Total Images Used for Training : 26
46
+
47
+ ## Best Dimensions & Inference
48
+
49
+ | **Dimensions** | **Aspect Ratio** | **Recommendation** |
50
+ |-----------------|------------------|---------------------------|
51
+ | 1280 x 832 | 3:2 | Best |
52
+ | 1024 x 1024 | 1:1 | Default |
53
+
54
+ ### Inference Range
55
+
56
+ - **Recommended Inference Steps:** 30–35
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/Thread-of-Art-Flux"
67
+ trigger_word = "Thread of Art"
68
+ pipe.load_lora_weights(lora_repo)
69
+
70
+ device = torch.device("cuda")
71
+ pipe.to(device)
72
+ ```
73
 
74
  ## Trigger words
75
 
76
  You should use `Thread of Art` to trigger the image generation.
77
 
 
78
  ## Download model
79
 
80
  Weights for this model are available in Safetensors format.