Upload folder using huggingface_hub
Browse files- .DS_Store +0 -0
- .gitattributes +4 -0
- README.md +82 -0
- hr-puSFwzOyE6TqTjybFC_adapter_model.safetensors +3 -0
- input1.webp +0 -0
- input2.png +0 -0
- input3.png +0 -0
- input9.jpeg +0 -0
- output1.png +3 -0
- output2.png +3 -0
- output3.png +3 -0
- output9.png +3 -0
.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
.gitattributes
CHANGED
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
output1.png filter=lfs diff=lfs merge=lfs -text
|
37 |
+
output2.png filter=lfs diff=lfs merge=lfs -text
|
38 |
+
output3.png filter=lfs diff=lfs merge=lfs -text
|
39 |
+
output9.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- flux
|
4 |
+
- image-to-image
|
5 |
+
- lora
|
6 |
+
- fal
|
7 |
+
- diffusers
|
8 |
+
- ilkerzgi
|
9 |
+
- embroidery
|
10 |
+
language: en
|
11 |
+
base_model: black-forest-labs/FLUX.1-Kontext-dev
|
12 |
+
instance_prompt: make it in embroidery style
|
13 |
+
license_name: flux1-dev-non-commercial-license
|
14 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev/blob/main/LICENSE.md
|
15 |
+
license: other
|
16 |
+
widget:
|
17 |
+
- src: input1.webp
|
18 |
+
prompt: make it in embroidery style
|
19 |
+
output:
|
20 |
+
url: output1.png
|
21 |
+
- src: input2.png
|
22 |
+
prompt: make it in embroidery style
|
23 |
+
output:
|
24 |
+
url: output2.png
|
25 |
+
- src: input3.png
|
26 |
+
prompt: make it in embroidery style
|
27 |
+
output:
|
28 |
+
url: output3.png
|
29 |
+
- src: input9.jpeg
|
30 |
+
prompt: make it in embroidery style red and black colored
|
31 |
+
output:
|
32 |
+
url: output9.png
|
33 |
+
---
|
34 |
+
|
35 |
+
# Embroidery Style Kontext Dev LoRA
|
36 |
+
|
37 |
+
<Gallery />
|
38 |
+
|
39 |
+
This is a LoRA (Low-Rank Adaptation) model that has been trained to transform input images into an embroidery style.
|
40 |
+
|
41 |
+
## Table of Contents
|
42 |
+
- [Model Details](#model-details)
|
43 |
+
- [Uses](#uses)
|
44 |
+
- [Training](#training)
|
45 |
+
|
46 |
+
## Model Details
|
47 |
+
|
48 |
+
**Model Description:** This model is a LoRA fine-tune of `black-forest-labs/FLUX.1-Kontext-dev`. It's designed to be used in an image-to-image pipeline to apply a specific artistic style. When prompted with "make it in embroidery style", it converts regular images into embroidery-style artwork. For a red and black colored embroidery effect, you can use "make it in embroidery style, red and black colored".
|
49 |
+
|
50 |
+
* **Trained by:** [ilkerzgi](https://huggingface.co/ilkerzgi)
|
51 |
+
* **Model Type:** LoRA for Image Edit
|
52 |
+
* **Language(s):** English
|
53 |
+
* **License:** [flux1-dev-non-commercial-license](https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev/blob/main/LICENSE.md)
|
54 |
+
* **Parent Model:** [black-forest-labs/FLUX.1-Kontext-dev](https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev)
|
55 |
+
* **Resources for more information:**
|
56 |
+
* [Download the weights](https://huggingface.co/ilkerzgi/embroidery-style-kontext-dev-lora/resolve/main/hr-puSFwzOyE6TqTjybFC_adapter_model.safetensors)
|
57 |
+
* [Try the model directly on fal.ai](https://fal.ai/models/fal-ai/flux-kontext-lora)
|
58 |
+
|
59 |
+
## Uses
|
60 |
+
|
61 |
+
#### Direct Use
|
62 |
+
This model is intended to be used for artistic image generation. You can use it to apply an "embroidery style" to your own images. The model works best when using the trigger phrase: "**make it in embroidery style**".
|
63 |
+
|
64 |
+
#### Usage Recommendations
|
65 |
+
* **Best for:** 2D drawings with solid backgrounds. This model is not suitable for human faces or human images.
|
66 |
+
* **Recommended LoRA scale:** 0.7 to 1.2
|
67 |
+
* **Color options:** You can add color specifications after the prompt, such as "**make it in embroidery style red and black colored**" or "**make it in embroidery style black and white colored**"
|
68 |
+
* **Input images:** High-resolution input images with limited color variety are recommended for best results
|
69 |
+
* **Note:** This is version 1 of the model and has some known limitations
|
70 |
+
|
71 |
+
## Training
|
72 |
+
|
73 |
+
#### Training Data
|
74 |
+
I trained the model on a custom dataset of paired (before and after) images to learn the "embroidery style" transformation. The model is specifically optimized for 2D drawings with solid backgrounds.
|
75 |
+
|
76 |
+
#### Training Procedure
|
77 |
+
I performed the training using the [FLUX Kontext Trainer on fal.ai](https://fal.ai/models/fal-ai/flux-kontext-trainer/playground).
|
78 |
+
The base model for training was `black-forest-labs/FLUX.1-Kontext-dev`.
|
79 |
+
|
80 |
+
**Hyperparameters:**
|
81 |
+
* **Learning Rate:** 0.0001
|
82 |
+
* **Steps:** 1300
|
hr-puSFwzOyE6TqTjybFC_adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:163d736fdbe8edc5dfaa21586503fa22c0d7d9f3a181e6fb62b32dca86d28996
|
3 |
+
size 306596088
|
input1.webp
ADDED
![]() |
input2.png
ADDED
![]() |
input3.png
ADDED
![]() |
input9.jpeg
ADDED
![]() |
output1.png
ADDED
![]() |
Git LFS Details
|
output2.png
ADDED
![]() |
Git LFS Details
|
output3.png
ADDED
![]() |
Git LFS Details
|
output9.png
ADDED
![]() |
Git LFS Details
|