|
--- |
|
tags: |
|
- text-to-image |
|
- lora |
|
- diffusers |
|
- template:diffusion-lora |
|
- Anime |
|
- Flux |
|
- Pruned |
|
widget: |
|
- text: >- |
|
animex, a vibrant cartoon drawing of a mans face is depicted. The mans eyes |
|
are a piercing blue, and he has a serious expression on his face. His hair |
|
is spiky, and his bangs are a darker shade of purple. His eyebrows are a |
|
lighter shade of brown, while his mouth is slightly open. He is wearing a |
|
red hoodie, and a black jacket with a white stripe down the center of his |
|
chest. The hoodie is draped over his shoulders, adding a pop of color to the |
|
otherwise monochromatic image. The background is a deep, vibrant purple, and |
|
there are a few wispy red lines running across the image, adding depth to |
|
the composition. |
|
output: |
|
url: images/A11.png |
|
- text: >- |
|
animex, An animated cartoon of a boy with black hair and green eyes. He is |
|
wearing a blue and white collared shirt with a black collar. His ears are |
|
sticking out of his head. His eyes are large and round. His mouth is |
|
slightly open and has white spots on it. The background is a vibrant green |
|
color. |
|
output: |
|
url: images/A33.png |
|
- text: >- |
|
animex, An animated image of a girl with long dark hair and blue eyes. The |
|
girl is holding a sword in her right hand. She is wearing a purple dress |
|
with a purple bow in her left hand. Her right hand is holding the sword in |
|
the left. Her left hand is positioned in front of her face. The sword is |
|
pointed towards the right. The background is filled with neon lights. |
|
output: |
|
url: images/A44.png |
|
base_model: black-forest-labs/FLUX.1-dev |
|
instance_prompt: Animex |
|
license: creativeml-openrail-m |
|
--- |
|
![strangerzonehf/Flux-Animex-v2-LoRA](images/5.png) |
|
|
|
<Gallery /> |
|
|
|
## Model description |
|
|
|
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 | 35 & 4800| |
|
| Epoch | 20 | Save Every N Epochs | 1 | |
|
|
|
Labeling: florence2-en(natural language & English) |
|
|
|
Total Images Used for Training : 57 [ 11@5 ] [ Hi -Res ] |
|
|
|
|
|
## Best Dimensions |
|
|
|
- 768 x 1024 (Best) |
|
- 1024 x 1024 (Default) |
|
|
|
## 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/Flux-Animex-v2-LoRA" |
|
trigger_word = "Animex" |
|
pipe.load_lora_weights(lora_repo) |
|
|
|
device = torch.device("cuda") |
|
pipe.to(device) |
|
``` |
|
## Trigger words |
|
|
|
You should use `Animex` to trigger the image generation. |
|
|
|
## Download model |
|
|
|
Weights for this model are available in Safetensors format. |
|
|
|
[Download](/strangerzonehf/Flux-Animex-v2-LoRA/tree/main) them in the Files & versions tab. |