File size: 3,969 Bytes
133555a
 
 
 
 
 
666c311
133555a
666c311
 
 
 
 
 
3175b73
 
666c311
 
 
 
 
 
 
3175b73
 
666c311
 
 
 
3175b73
 
666c311
 
 
 
3175b73
 
666c311
 
 
 
 
133555a
3175b73
666c311
 
 
 
3175b73
 
133555a
 
 
 
02c4c03
133555a
 
 
840f46b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133555a
 
 
 
 
 
 
 
666c311
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
---
tags:
- text-to-image
- lora
- diffusers
- template:diffusion-lora
- ctoon++
widget:
- text: >-
    Ctoon++, A cartoon drawing of a man with black hair and brown eyes. He is
    wearing a white t-shirt with a blue jacket over his shoulders. The man has
    his hands on his shoulders and his eyes are closed. His hands are covered
    with brown gloves. The background is a light beige color with black writing
    on it.
  output:
    url: images/1.png
- text: >-
    Ctoon++, A cartoon drawing of a girl with black hair tied up in a ponytail
    with a red bow. She is wearing a pink shirt with the words "CANTON YMCA" and
    "UHU HANUBALL" written on it. The girl is facing to the right of the image,
    with her right arm raised in the air. Her left hand is raised up, while her
    right hand is reaching out towards the girl. The background is a light
    beige, with a rough texture.
  output:
    url: images/2.png
- text: >-
    Ctoon++, A cartoon drawing of a boy with short dark hair and glasses. He is
    wearing a white button up shirt with a brown tie around his neck. He has a
    backpack strap over his shoulders. The background is a light peach color.
  output:
    url: images/3.png
- text: >-
    Ctoon++, A cartoon drawing of a woman with long dark brown hair. She is
    wearing a light blue button up shirt with a black collar. She has a white
    strap over her shoulder. The background is a light peach color.
  output:
    url: images/4.png
- text: >-
    Ctoon++: A cartoon drawing of Elon Musk with short brown hair and a
    confident smile. He is wearing a black t-shirt with a blazer, standing in
    front of a large rocket. The background is a clear night sky filled with
    stars and a glowing moon.
  output:
    url: images/5.png
- text: >-
    Ctoon++, A cartoon drawing of a playful orange tabby cat with green eyes.
    The cat is sitting on a blue cushion, holding a small fish toy in its paws.
    The background is a light yellow color with paw prints scattered across it.
  output:
    url: images/6.png
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: Ctoon++
license: creativeml-openrail-m
---
![lkjdfngldn.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/c521DJW_qdtQqtYIgM_0b.png)

<Gallery />

# Model description for Ctoon-Plus-Plus

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           | 16 & 2330 |
| Epoch                     |  15   | Save Every N Epochs       | 1     |

    Labeling: florence2-en(natural language & English)
    
    Total Images Used for Training : 33

## Best Dimensions & Inference

| **Dimensions** | **Aspect Ratio** | **Recommendation**       |
|-----------------|------------------|---------------------------|
| 1280 x 832      | 3:2              | Best                     |
| 1024 x 1024     | 1:1              | Default                  |

### Inference Range

- **Recommended Inference Steps:** 30–35

## Setting Up
```python
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 = "strangerzonehf/Ctoon-Plus-Plus"
trigger_word = "Ctoon++"  
pipe.load_lora_weights(lora_repo)

device = torch.device("cuda")
pipe.to(device)
```

## Trigger words

You should use `Ctoon++` to trigger the image generation.

## Download model

Weights for this model are available in Safetensors format.

[Download](/strangerzonehf/Ctoon-Plus-Plus/tree/main) them in the Files & versions tab.