File size: 3,007 Bytes
8b3cf0f
 
 
 
 
 
9f4a71b
 
8b3cf0f
9f4a71b
 
 
 
8b3cf0f
6a5cf21
9f4a71b
 
 
 
 
 
 
6a5cf21
 
9f4a71b
 
 
 
 
 
6a5cf21
 
8b3cf0f
 
 
 
 
 
 
 
6a5cf21
 
 
 
 
 
 
 
 
8b3cf0f
6a5cf21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8b3cf0f
 
 
 
 
 
 
 
9f4a71b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
---
tags:
- text-to-image
- lora
- diffusers
- template:diffusion-lora
- Knitted Character
- Thread
widget:
- text: >-
    Knitted Character, A close-up view of a crocheted toy. The toy is made up of
    a blend of orange, yellow, and pink yarn. It has a black button in the
    center of its head. The background is a solid white color.
  output:
    url: images/KC1.png
- text: >-
    Knitted Character, a crocheted doll stands on a wooden platform. The dolls
    head is encased in a multi-colored knit outfit, adorned with a pair of
    dark-colored goggles. The eyes are tinted blue, adding a pop of color to the
    scene. The figures arms and legs are positioned in a way that creates a
    sense of balance. The background is a stark white, creating a stark contrast
    to the figure.
  output:
    url: images/KC2.png
- text: >-
    Knitted Character, A close-up view of a knitted cat toy. The toy is a gray
    and white striped cat with blue eyes. The cats nose is pink. Its eyes are a
    piercing blue color. Its ears are made of gray yarn. Its whiskers are black
    and white. Its paws are knitted with white yarn. The background is a solid
    white color.
  output:
    url: images/KC3.png
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: Knitted Character
license: apache-2.0
---
# Knitted-Character-Flux-LoRA

<Gallery />

- Hosted Here🧨: https://huggingface.co/spaces/prithivMLmods/FLUX-LoRA-DLC

**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**

## Model description 

**prithivMLmods/Knitted-Character-Flux-LoRA**

Image Processing Parameters 

| Parameter                 | Value  | Parameter                 | Value  |
|---------------------------|--------|---------------------------|--------|
| LR Scheduler              | constant | Noise Offset              | 0.03   |
| Optimizer                 | AdamW  | Multires Noise Discount   | 0.1    |
| Network Dim               | 64     | Multires Noise Iterations | 10     |
| Network Alpha             | 32     | Repeat & Steps           | 20 & 2000|
| Epoch                     | 10  | Save Every N Epochs       | 1      |

    Labeling: florence2-en(natural language & English)
    
    Total Images Used for Training : 30 [ 4K Hi-RES ]
    
## Best Dimensions

- 1024 x 1024 (Default)
  
## Setting Up
```
import torch
from pipelines import DiffusionPipeline

base_model = "black-forest-labs/FLUX.1-dev"
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)

lora_repo = "prithivMLmods/Knitted-Character-Flux-LoRA"
trigger_word = "Knitted Character"  
pipe.load_lora_weights(lora_repo)

device = torch.device("cuda")
pipe.to(device)
```
## Trigger words

You should use `Knitted Character` to trigger the image generation.

## Download model

Weights for this model are available in Safetensors format.

[Download](/prithivMLmods/Knitted-Character-Flux-LoRA/tree/main) them in the Files & versions tab.