gradient-diffusion
commited on
Commit
•
32b5589
1
Parent(s):
c3c6a96
Update README.md
Browse files
README.md
CHANGED
@@ -16,7 +16,7 @@ tags:
|
|
16 |
This repository provides a checkpoint with trained LoRAs for
|
17 |
[FLUX.1-dev model](https://huggingface.co/black-forest-labs/FLUX.1-dev) by Black Forest Labs
|
18 |
|
19 |
-
![Example Picture 1](https://github.com/XLabs-AI/x-flux/blob/main/assets/readme/examples/
|
20 |
|
21 |
# Training details
|
22 |
[XLabs AI](https://github.com/XLabs-AI) team is happy to publish fune-tuning Flux scripts, including:
|
@@ -40,7 +40,7 @@ Dataset has the following format for the training process:
|
|
40 |
A .json file contains "caption" field with a text prompt.
|
41 |
|
42 |
# Inference
|
43 |
-
|
44 |
```bash
|
45 |
python3 main.py \
|
46 |
--prompt "A handsome man in a suit, 25 years old, cool, futuristic" \
|
@@ -50,7 +50,79 @@ python3 main.py \
|
|
50 |
|
51 |
![Example Picture 1](https://github.com/XLabs-AI/x-flux/blob/main/assets/readme/examples/result_13.png?raw=true)
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
# License
|
55 |
|
56 |
lora.safetensors falls under the [FLUX.1 [dev]](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md) Non-Commercial License<br/>
|
|
|
16 |
This repository provides a checkpoint with trained LoRAs for
|
17 |
[FLUX.1-dev model](https://huggingface.co/black-forest-labs/FLUX.1-dev) by Black Forest Labs
|
18 |
|
19 |
+
![Example Picture 1](https://github.com/XLabs-AI/x-flux/blob/main/assets/readme/examples/result_18.png?raw=true)
|
20 |
|
21 |
# Training details
|
22 |
[XLabs AI](https://github.com/XLabs-AI) team is happy to publish fune-tuning Flux scripts, including:
|
|
|
40 |
A .json file contains "caption" field with a text prompt.
|
41 |
|
42 |
# Inference
|
43 |
+
## mjv6_lora
|
44 |
```bash
|
45 |
python3 main.py \
|
46 |
--prompt "A handsome man in a suit, 25 years old, cool, futuristic" \
|
|
|
50 |
|
51 |
![Example Picture 1](https://github.com/XLabs-AI/x-flux/blob/main/assets/readme/examples/result_13.png?raw=true)
|
52 |
|
53 |
+
```bash
|
54 |
+
python3 main.py \
|
55 |
+
--prompt "A girl in a suit covered with bold tattoos and holding a vest pistol, beautiful woman, 25 years old, cool, future fantasy, turquoise & light orange ping curl hair" \
|
56 |
+
--lora_repo_id XLabs-AI/flux-lora-collection --lora_name mjv6_lora.safetensors \
|
57 |
+
--device cuda --offload --use_lora --model_type flux-dev-fp8 --width 1024 --height 1024
|
58 |
+
```
|
59 |
|
60 |
+
![Example Picture 1](https://github.com/XLabs-AI/x-flux/blob/main/assets/readme/examples/result_12.png?raw=true)
|
61 |
+
## anime_lora
|
62 |
+
```bash
|
63 |
+
python3 main.py \
|
64 |
+
--prompt "A cute corgi lives in a house made out of sushi, anime" \
|
65 |
+
--lora_repo_id XLabs-AI/flux-lora-collection --lora_name anime_lora.safetensors \
|
66 |
+
--device cuda --offload --use_lora --model_type flux-dev-fp8 --width 1024 --height 1024
|
67 |
+
```
|
68 |
+
![Example Picture 1](https://github.com/XLabs-AI/x-flux/blob/main/assets/readme/examples/result_14.png?raw=true)
|
69 |
+
```bash
|
70 |
+
python3 main.py \
|
71 |
+
--prompt "a girl with orange hair, standing in a room with a window, looking out at a cityscape, anime" \
|
72 |
+
--lora_repo_id XLabs-AI/flux-lora-collection --lora_name anime_lora.safetensors \
|
73 |
+
--device cuda --offload --use_lora --model_type flux-dev-fp8 --width 1024 --height 1024
|
74 |
+
```
|
75 |
+
![Example Picture 1](https://github.com/XLabs-AI/x-flux/blob/main/assets/readme/examples/result_15.png?raw=true)
|
76 |
+
|
77 |
+
## disney_lora
|
78 |
+
```bash
|
79 |
+
python3 main.py \
|
80 |
+
--prompt "An aerial view of beach with people on it, disney style" \
|
81 |
+
--lora_repo_id XLabs-AI/flux-lora-collection --lora_name disney_lora.safetensors \
|
82 |
+
--device cuda --offload --use_lora --model_type flux-dev-fp8 --width 1024 --height 1024
|
83 |
+
```
|
84 |
+
![Example Picture 1](https://github.com/XLabs-AI/x-flux/blob/main/assets/readme/examples/result_19.png?raw=true)
|
85 |
+
|
86 |
+
```bash
|
87 |
+
python3 main.py \
|
88 |
+
--prompt "A blue jay standing on a large basket of rainbow macarons, disney style" \
|
89 |
+
--lora_repo_id XLabs-AI/flux-lora-collection --lora_name disney_lora.safetensors \
|
90 |
+
--device cuda --offload --use_lora --model_type flux-dev-fp8 --width 1024 --height 1024
|
91 |
+
```
|
92 |
+
![Example Picture 1](https://github.com/XLabs-AI/x-flux/blob/main/assets/readme/examples/result_18.png?raw=true)
|
93 |
+
|
94 |
+
## scenery_lora
|
95 |
+
```bash
|
96 |
+
python3 main.py \
|
97 |
+
--prompt "A fantasy cityscape with multiple buildings and skyscrapers all of which are covered in snow and ice, scenery style" \
|
98 |
+
--lora_repo_id XLabs-AI/flux-lora-collection --lora_name scenery_lora.safetensors \
|
99 |
+
--device cuda --offload --use_lora --model_type flux-dev-fp8 --width 1024 --height 1024
|
100 |
+
```
|
101 |
+
![Example Picture 1](https://github.com/XLabs-AI/x-flux/blob/main/assets/readme/examples/result_21.png?raw=true)
|
102 |
+
|
103 |
+
```bash
|
104 |
+
python3 main.py \
|
105 |
+
--prompt "A large ornate building with multiple levels and arches surrounded by trees and greenery. In front of it there are several statues and sculptures on pedestals with fire burning brightly in front of them, scenery style" \
|
106 |
+
--lora_repo_id XLabs-AI/flux-lora-collection --lora_name scenery_lora.safetensors \
|
107 |
+
--device cuda --offload --use_lora --model_type flux-dev-fp8 --width 1024 --height 1024
|
108 |
+
```
|
109 |
+
![Example Picture 1](https://github.com/XLabs-AI/x-flux/blob/main/assets/readme/examples/result_22.png?raw=true)
|
110 |
+
## art_lora
|
111 |
+
```bash
|
112 |
+
python3 main.py \
|
113 |
+
--prompt "white rabbit in blue dress and hat holding bow and arrow, art" \
|
114 |
+
--lora_repo_id XLabs-AI/flux-lora-collection --lora_name art_lora.safetensors \
|
115 |
+
--device cuda --offload --use_lora --model_type flux-dev-fp8 --width 1024 --height 1024
|
116 |
+
```
|
117 |
+
![Example Picture 1](https://github.com/XLabs-AI/x-flux/blob/main/assets/readme/examples/result_23.png?raw=true)
|
118 |
+
|
119 |
+
```bash
|
120 |
+
python3 main.py \
|
121 |
+
--prompt "castle in the middle of forest at night, art" \
|
122 |
+
--lora_repo_id XLabs-AI/flux-lora-collection --lora_name art_lora.safetensors \
|
123 |
+
--device cuda --offload --use_lora --model_type flux-dev-fp8 --width 1024 --height 1024
|
124 |
+
```
|
125 |
+
![Example Picture 1](https://github.com/XLabs-AI/x-flux/blob/main/assets/readme/examples/result_24.png?raw=true)
|
126 |
# License
|
127 |
|
128 |
lora.safetensors falls under the [FLUX.1 [dev]](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md) Non-Commercial License<br/>
|