File size: 3,495 Bytes
4c2b607
 
 
 
 
 
c5f7c53
4c2b607
be69228
 
 
 
 
 
4c2b607
409e1c1
be69228
 
 
 
 
 
 
409e1c1
 
be69228
 
 
 
 
 
 
 
409e1c1
 
4c2b607
 
 
 
 
 
 
 
c5f7c53
 
 
 
 
 
 
cde736a
c5f7c53
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
409e1c1
 
 
 
 
 
 
c5f7c53
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4c2b607
 
 
 
 
 
 
 
 
c5f7c53
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
---
tags:
- text-to-image
- lora
- diffusers
- template:diffusion-lora
- C-Anime
widget:
- text: >-
    CAnime, An animated portrait of a young man in a bright orange jacket with a
    light blue shirt underneath. The mans eyes are closed, and his lips are
    slightly parted. His hair is a vibrant orange, and he is wearing a pair of
    light blue jeans. The background is a pale blue, and there is a large
    circular blue circle in the background.
  output:
    url: images/CA1.png
- text: >-
    CAnime, An animated image of a hamburger on a light blue background. The
    hamburger is a vibrant shade of pink, with a golden brown bun, and a thick
    layer of lettuce and cheese. The bun is adorned with a variety of colorful
    stripes, adding a pop of color to the scene. The sandwich is positioned in a
    circular fashion, with the top layer being the same shade as the bottom
    layer. There is a shadow of the hamburger cast on the ground below it.
  output:
    url: images/CA2.png
- text: >-
    CAnime, Captured at eye-level on a vibrant day, a detailed detailed
    illustration of a mountain range is depicted. The mountains top is adorned
    with a white snow-capped peak, adding a touch of color to the scene. The sky
    is a deep blue, with a few wispy clouds in the distance. The sun is setting,
    casting a pink hue over the mountain, adding depth to the composition. The
    mountains are reflected in a body of water, creating a stunning contrast to
    the sky.
  output:
    url: images/CA3.png
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: CAnime
license: creativeml-openrail-m
---
# CAnime-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/CAnime-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           | 21 & 2000|
| Epoch                     | 12  | Save Every N Epochs       | 1      |

    Labeling: florence2-en(natural language & English)
    
    Total Images Used for Training : 13
    
## Best Dimensions

- 1024 x 1024 (Default)

![prithivMLmods/CAnime-LoRA](images/CA4.png)

| Description |
|--------------------|
| CAnime, Beautiful anime style illustration of a Cat, wearing vibrant flat colors on a blue background with a pastel color palette. Bright daylight lighting is used, yellowcore  |

## 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/CAnime-LoRA"
trigger_word = "CAnime"  
pipe.load_lora_weights(lora_repo)

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

## Trigger words

You should use `CAnime` to trigger the image generation.

## Download model

Weights for this model are available in Safetensors format.

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