prithivMLmods commited on
Commit
59d2d39
β€’
1 Parent(s): 677959f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +51 -2
README.md CHANGED
@@ -24,11 +24,60 @@ license: apache-2.0
24
 
25
  <Gallery />
26
 
 
27
 
28
- ## Trigger words
29
 
30
- You should use `Red Dead Redemption 2` to trigger the image generation.
31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
  ## Download model
34
 
 
24
 
25
  <Gallery />
26
 
27
+ **The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**
28
 
29
+ ## Model description
30
 
31
+ **prithivMLmods/Castor-Red-Dead-Redemption-2-Flux-LoRA**
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 | 22 & 2K |
41
+ | Epoch | 12 | Save Every N Epochs | 1 |
42
+
43
+ Labeling: florence2-en(natural language & English)
44
+
45
+ Total Images Used for Training : 19
46
+
47
+ ## Setting Up
48
+ ```
49
+ import torch
50
+ from pipelines import DiffusionPipeline
51
+
52
+ base_model = "black-forest-labs/FLUX.1-dev"
53
+ pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
54
+
55
+ lora_repo = "prithivMLmods/Castor-Red-Dead-Redemption-2-Flux-LoRA"
56
+ trigger_word = "Red Dead Redemption 2" # Leave trigger_word blank if not used.
57
+ pipe.load_lora_weights(lora_repo)
58
+
59
+ device = torch.device("cuda")
60
+ pipe.to(device)
61
+ ```
62
+ ## App File Structure
63
+
64
+ /project-root/
65
+
66
+ β”œβ”€β”€ .gitattributes
67
+ β”œβ”€β”€ README.md
68
+ β”œβ”€β”€ app.py
69
+ β”œβ”€β”€ pythonproject.py
70
+
71
+ # Best Dimensions
72
+
73
+ - 512 X 512
74
+ - 1024 X 1024
75
+ - 768 X 1024
76
+
77
+ ## Trigger words 🧨
78
+
79
+ > [!WARNING]
80
+ > **Trigger words:** You should use `Red Dead Redemption 2` to trigger the image generation.
81
 
82
  ## Download model
83