Instructions to use ming0531/IrisMix with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ming0531/IrisMix with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-4B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ming0531/IrisMix") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Code is released: link github.com/ming053l/IrisMix
Browse files
README.md
CHANGED
|
@@ -16,7 +16,7 @@ Checkpoints of **IrisMix: Compositional Makeup Transfer and Editing with Layered
|
|
| 16 |
Project page: [ming053l.github.io/IrisMix](https://ming053l.github.io/IrisMix/) 路
|
| 17 |
Demo: [IrisMix Studio](https://huggingface.co/spaces/ming0531/IrisMix) 路
|
| 18 |
Dataset: [ming0531/LayerBeauty](https://huggingface.co/datasets/ming0531/LayerBeauty) 路
|
| 19 |
-
Code:
|
| 20 |
|
| 21 |
LoRA adapters (rank 32) and skip-connection weights for
|
| 22 |
[FLUX.2 [klein] 4B](https://huggingface.co/black-forest-labs/FLUX.2-klein-4B). The base model is not included; it is
|
|
@@ -37,8 +37,8 @@ Download:
|
|
| 37 |
|
| 38 |
huggingface-cli download ming0531/IrisMix --local-dir weights
|
| 39 |
|
| 40 |
-
The [IrisMix Studio](https://huggingface.co/spaces/ming0531/IrisMix) Space runs these weights. The inference code
|
| 41 |
-
|
| 42 |
|
| 43 |
Verify:
|
| 44 |
|
|
|
|
| 16 |
Project page: [ming053l.github.io/IrisMix](https://ming053l.github.io/IrisMix/) 路
|
| 17 |
Demo: [IrisMix Studio](https://huggingface.co/spaces/ming0531/IrisMix) 路
|
| 18 |
Dataset: [ming0531/LayerBeauty](https://huggingface.co/datasets/ming0531/LayerBeauty) 路
|
| 19 |
+
Code: [github.com/ming053l/IrisMix](https://github.com/ming053l/IrisMix)
|
| 20 |
|
| 21 |
LoRA adapters (rank 32) and skip-connection weights for
|
| 22 |
[FLUX.2 [klein] 4B](https://huggingface.co/black-forest-labs/FLUX.2-klein-4B). The base model is not included; it is
|
|
|
|
| 37 |
|
| 38 |
huggingface-cli download ming0531/IrisMix --local-dir weights
|
| 39 |
|
| 40 |
+
The [IrisMix Studio](https://huggingface.co/spaces/ming0531/IrisMix) Space runs these weights. The inference code,
|
| 41 |
+
IrisMix Studio and ComfyUI nodes are at [github.com/ming053l/IrisMix](https://github.com/ming053l/IrisMix).
|
| 42 |
|
| 43 |
Verify:
|
| 44 |
|