prithivMLmods
commited on
Commit
•
ebad999
1
Parent(s):
a1444e7
Update README.md
Browse files
README.md
CHANGED
@@ -4,10 +4,28 @@ tags:
|
|
4 |
- lora
|
5 |
- diffusers
|
6 |
- template:diffusion-lora
|
|
|
|
|
7 |
widget:
|
8 |
-
- text:
|
|
|
|
|
|
|
9 |
output:
|
10 |
-
url: images/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
base_model: black-forest-labs/FLUX.1-dev
|
12 |
instance_prompt: Retro Pixel
|
13 |
license: creativeml-openrail-m
|
@@ -16,14 +34,53 @@ license: creativeml-openrail-m
|
|
16 |
|
17 |
<Gallery />
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
## Trigger words
|
21 |
|
22 |
You should use `Retro Pixel` to trigger the image generation.
|
23 |
|
24 |
-
|
25 |
## Download model
|
26 |
|
27 |
Weights for this model are available in Safetensors format.
|
28 |
|
29 |
-
[Download](/prithivMLmods/Retro-Pixel-Flux-LoRA/tree/main) them in the Files & versions tab.
|
|
|
4 |
- lora
|
5 |
- diffusers
|
6 |
- template:diffusion-lora
|
7 |
+
- Retro
|
8 |
+
- Pixel
|
9 |
widget:
|
10 |
+
- text: >-
|
11 |
+
Retro Pixel, A pixelated image of a german shepherd dog. The dogs fur is a
|
12 |
+
vibrant shade of brown, with a black stripe running down its back. The
|
13 |
+
background is a light green, and the dogs shadow is cast on the ground.
|
14 |
output:
|
15 |
+
url: images/RP1.png
|
16 |
+
- text: >-
|
17 |
+
Retro Pixel, A pixelated image of a man surfing on a surfboard. The mans
|
18 |
+
body is covered in a red shirt and blue shorts. His arms are out to the
|
19 |
+
sides of his body. The surfboard is a vibrant blue color. The water is a
|
20 |
+
light blue color with white splashes. The sun is shining on the right side
|
21 |
+
of the image.
|
22 |
+
output:
|
23 |
+
url: images/RP2.png
|
24 |
+
- text: >-
|
25 |
+
Retro Pixel, pixel art of a Hamburger in the style of an old video game,
|
26 |
+
hero, pixelated 8bit, final boss
|
27 |
+
output:
|
28 |
+
url: images/RP3.png
|
29 |
base_model: black-forest-labs/FLUX.1-dev
|
30 |
instance_prompt: Retro Pixel
|
31 |
license: creativeml-openrail-m
|
|
|
34 |
|
35 |
<Gallery />
|
36 |
|
37 |
+
- Hosted Here🧨: https://huggingface.co/spaces/prithivMLmods/FLUX-LoRA-DLC
|
38 |
+
|
39 |
+
**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**
|
40 |
+
|
41 |
+
## Model description
|
42 |
+
|
43 |
+
**prithivMLmods/Retro-Pixel-Flux-LoRA**
|
44 |
+
|
45 |
+
Image Processing Parameters
|
46 |
|
47 |
+
| Parameter | Value | Parameter | Value |
|
48 |
+
|---------------------------|--------|---------------------------|--------|
|
49 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
50 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
51 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
52 |
+
| Network Alpha | 32 | Repeat & Steps | 24 & 2340|
|
53 |
+
| Epoch | 15 | Save Every N Epochs | 1 |
|
54 |
+
|
55 |
+
Labeling: florence2-en(natural language & English)
|
56 |
+
|
57 |
+
Total Images Used for Training : 16 [ Hi-RES ]
|
58 |
+
|
59 |
+
## Best Dimensions
|
60 |
+
|
61 |
+
- 1024 x 1024 (Default)
|
62 |
+
|
63 |
+
## Setting Up
|
64 |
+
```
|
65 |
+
import torch
|
66 |
+
from pipelines import DiffusionPipeline
|
67 |
+
|
68 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
69 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
70 |
+
|
71 |
+
lora_repo = "prithivMLmods/Retro-Pixel-Flux-LoRA"
|
72 |
+
trigger_word = "Retro Pixel"
|
73 |
+
pipe.load_lora_weights(lora_repo)
|
74 |
+
|
75 |
+
device = torch.device("cuda")
|
76 |
+
pipe.to(device)
|
77 |
+
```
|
78 |
## Trigger words
|
79 |
|
80 |
You should use `Retro Pixel` to trigger the image generation.
|
81 |
|
|
|
82 |
## Download model
|
83 |
|
84 |
Weights for this model are available in Safetensors format.
|
85 |
|
86 |
+
[Download](/prithivMLmods/Retro-Pixel-Flux-LoRA/tree/main) them in the Files & versions tab.
|