wanghaofan
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -11,3 +11,55 @@ tags:
|
|
11 |
- Stable Diffusion
|
12 |
- image-generation
|
13 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
- Stable Diffusion
|
12 |
- image-generation
|
13 |
---
|
14 |
+
|
15 |
+
# FLUX.1-dev-LoRA-collections
|
16 |
+
This repository contains popular LoRAs for FLUX.1-dev model trained by our users at [Shakker AI](https://www.shakker.ai/).
|
17 |
+
|
18 |
+
|
19 |
+
# Model Cards
|
20 |
+
- [FLUX-dev-lora-Black_Myth_Wukong_hyperrealism_v1.safetensors](https://huggingface.co/Shakker-Labs/FLUX.1-dev-LoRA-collections/blob/main/FLUX-dev-lora-Black_Myth_Wukong_hyperrealism_v1.safetensors)
|
21 |
+
|
22 |
+
1. A character LoRA for Black Myth: Wukong, by [xiongmaowf](https://www.shakker.ai/userpage/8f34045c526845c09d9601fafb3bfc4b/publish).
|
23 |
+
2. The recommended LoRA scale is 0.8, with `aiyouxiketang` as tagger word.
|
24 |
+
3. Try testing prompts: `a man in armor with a beard and a beard`, `a man in a costume holding a ball`.
|
25 |
+
|
26 |
+
- [FLUX-dev-lora-asian_woman_v0.1.safetensors](https://huggingface.co/Shakker-Labs/FLUX.1-dev-LoRA-collections/blob/main/FLUX-dev-lora-asian_woman_v0.1.safetensors)
|
27 |
+
|
28 |
+
1. A style LoRA for asian woman, by [fok](https://www.shakker.ai/userpage/fc4c167ca7194520a0acaf3b36f7b19d/publish).
|
29 |
+
2. The recommended LoRA scale is 0.4-0.65, with `a young woman` as tagger word.
|
30 |
+
|
31 |
+
- [FLUX-dev-lora-Cartoonillustration_Cartoon_v1.safetensors](https://huggingface.co/Shakker-Labs/FLUX.1-dev-LoRA-collections/blob/main/FLUX-dev-lora-Cartoonillustration_Cartoon_v1.safetensors)
|
32 |
+
|
33 |
+
1. A style LoRA for cartoon illustration, by [DIO成](https://www.shakker.ai/userpage/cdb49d6218324b5a85894fe147215295/publish).
|
34 |
+
2. The recommended LoRA scale is 1.4-2.0, with `oil painting` as tagger word.
|
35 |
+
|
36 |
+
|
37 |
+
- [FLUX-dev-lora-dream_v1.safetensors](https://huggingface.co/Shakker-Labs/FLUX.1-dev-LoRA-collections/blob/main/FLUX-dev-lora-dream_v1.safetensors)
|
38 |
+
|
39 |
+
1. A style LoRA for art illustration. By [DIO成](https://www.shakker.ai/userpage/cdb49d6218324b5a85894fe147215295/publish).
|
40 |
+
2. The recommended LoRA scale is 0.8-1.5, no tagger word.
|
41 |
+
|
42 |
+
# Inference
|
43 |
+
```python
|
44 |
+
import torch
|
45 |
+
from diffusers import FluxPipeline
|
46 |
+
|
47 |
+
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
|
48 |
+
|
49 |
+
# Black Myth: Wukong
|
50 |
+
pipe.load_lora_weights('Shakker-Labs/FLUX.1-dev-LoRA-collections', weight_name='FLUX-dev-lora-Black_Myth_Wukong_hyperrealism_v1.safetensors')
|
51 |
+
pipe.fuse_lora(lora_scale=0.8)
|
52 |
+
pipe.to("cuda")
|
53 |
+
|
54 |
+
prompt = "aiyouxiketang, a man in armor with a beard and a beard"
|
55 |
+
|
56 |
+
image = pipe(
|
57 |
+
prompt,
|
58 |
+
num_inference_steps=24,
|
59 |
+
guidance_scale=5.0,
|
60 |
+
generator=torch.Generator("cpu").manual_seed(0)
|
61 |
+
).images[0]
|
62 |
+
```
|
63 |
+
|
64 |
+
# Acknowledgements
|
65 |
+
All these models are trained by our copyrighted users. We release these model with their permission.
|