đ Flux.1-Dev-Hand-Sticky-LoRA
This LoRA model is designed for text-to-image generation, enabling the creation of unique images based on specific prompts. It's built on the foundation of the base model black-forest-labs/FLUX.1-dev
and can generate various hand - sticker related images.
đ 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/Flux.1-Dev-Hand-Sticky-LoRA"
trigger_word = "handstick69"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
Usage
You should use handstick69
to trigger the image generation.
⨠Features
- Text - to - Image Generation: Generate images based on text prompts.
- LoRA Integration: Built as a LoRA model on top of
black-forest-labs/FLUX.1-dev
for efficient fine - tuning.
đĻ 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/Flux.1-Dev-Hand-Sticky-LoRA"
trigger_word = "handstick69"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
đģ Usage Examples
Basic Usage
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/Flux.1-Dev-Hand-Sticky-LoRA"
trigger_word = "handstick69"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
prompt = f"{trigger_word}, a human hand is holding two small stickers"
image = pipe(prompt).images[0]
image.show()
đ Documentation
Model description
prithivMLmods/Flux.1-Dev-Hand-Sticky-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 |
17 & 1920 |
Epoch |
10 |
Save Every N Epochs |
1 |
Labeling: florence2-en(natural language & English)
Total Images Used for Training : 20
Best Dimensions
- 768 x 1024 (Best)
- 1024 x 1024 (Default)
Trigger words
You should use handstick69
to trigger the image generation.
Download model
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
đ License
This model is licensed under creativeml-openrail-m
.
â ī¸ 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.