prithivMLmods commited on
Commit
19b23d3
β€’
1 Parent(s): 33474b1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +51 -2
README.md CHANGED
@@ -22,11 +22,60 @@ license: creativeml-openrail-m
22
 
23
  <Gallery />
24
 
 
25
 
26
- ## Trigger words
27
 
28
- You should use `happy halloween` to trigger the image generation.
29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
 
31
  ## Download model
32
 
 
22
 
23
  <Gallery />
24
 
25
+ **The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**
26
 
27
+ ## Model description
28
 
29
+ **prithivMLmods/Castor-Happy-Halloween-Flux-LoRA**
30
 
31
+ Image Processing Parameters
32
+
33
+ | Parameter | Value | Parameter | Value |
34
+ |---------------------------|--------|---------------------------|--------|
35
+ | LR Scheduler | constant | Noise Offset | 0.03 |
36
+ | Optimizer | AdamW | Multires Noise Discount | 0.1 |
37
+ | Network Dim | 64 | Multires Noise Iterations | 10 |
38
+ | Network Alpha | 32 | Repeat & Steps | 20 & 1400 |
39
+ | Epoch | 12 | Save Every N Epochs | 1 |
40
+
41
+ Labeling: florence2-en(natural language & English)
42
+
43
+ Total Images Used for Training : 19
44
+
45
+ ## Setting Up
46
+ ```
47
+ import torch
48
+ from pipelines import DiffusionPipeline
49
+
50
+ base_model = "black-forest-labs/FLUX.1-dev"
51
+ pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
52
+
53
+ lora_repo = "prithivMLmods/Castor-Happy-Halloween-Flux-LoRA"
54
+ trigger_word = "happy halloween" # Leave trigger_word blank if not used.
55
+ pipe.load_lora_weights(lora_repo)
56
+
57
+ device = torch.device("cuda")
58
+ pipe.to(device)
59
+ ```
60
+ ## App File Structure
61
+
62
+ /project-root/
63
+
64
+ β”œβ”€β”€ .gitattributes
65
+ β”œβ”€β”€ README.md
66
+ β”œβ”€β”€ app.py
67
+ β”œβ”€β”€ pythonproject.py
68
+
69
+ # Best Dimensions
70
+
71
+ - 512 X 512
72
+ - 1024 X 1024
73
+ - 768 X 1024
74
+
75
+ ## Trigger words 🧨
76
+
77
+ > [!WARNING]
78
+ > **Trigger words:** You should use `happy halloween` to trigger the image generation.
79
 
80
  ## Download model
81