🚀 Abstract-Cartoon-Flux-LoRA
This model is a text-to-image LoRA model based on the diffusion framework, specializing in generating abstract cartoon-style images. It can create various abstract cartoon images with rich colors and unique styles.
🚀 Quick Start
Installation
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/Abstract-Cartoon-Flux-LoRA"
trigger_word = "Abstract Cartoon"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
Usage
You should use Abstract Cartoon
to trigger the image generation.
✨ Features
- Abstract Cartoon Style: Specializes in generating abstract cartoon-style images with vibrant colors and unique themes.
- Flexible Trigger Words: Use the
Abstract Cartoon
trigger word to generate relevant images.
📦 Installation
The installation steps are as follows:
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/Abstract-Cartoon-Flux-LoRA"
trigger_word = "Abstract Cartoon"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
💻 Usage Examples
Basic Usage
prompt = "Abstract Cartoon, An eye-level painting of a monsters face, painted in a vibrant orange, yellow, red, and blue color scheme."
image = pipe(prompt).images[0]
image.save("generated_image.png")
📚 Documentation
Model description
prithivMLmods/Abstract-Cartoon-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 |
22 & 2200 |
Epoch |
10 |
Save Every N Epochs |
1 |
Labeling: florence2-en(natural language & English)
Total Images Used for Training : 11 [ Hi-RES ]
Best Dimensions
Trigger words
You should use Abstract Cartoon
to trigger the image generation.
Download model
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
Gallery
- Hosted Here🧨: https://huggingface.co/spaces/prithivMLmods/FLUX-LoRA-DLC
⚠️ Important Note
The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.