Sketch Fav
Collection
Art & Culture in 3:1 β’ 10 items β’ Updated β’ 8
How to use strangerzonehf/Flux-Sketch-Sized-LoRA with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("strangerzonehf/Flux-Sketch-Sized-LoRA")
prompt = "Sketch Sized, A medium-sized painting of Wall-E, painted in shades of yellow and black. His eyes, large and round, are painted in a glossy silver, giving a curious and endearing expression. His body is detailed with scratches and rust, hinting at years of service. The small, claw-like hands are slightly raised, as if reaching for something. The background is a soft sandy beige, with faint hints of scattered stars and dust."
image = pipe(prompt).images[0]import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("strangerzonehf/Flux-Sketch-Sized-LoRA")
prompt = "Sketch Sized, A medium-sized painting of Wall-E, painted in shades of yellow and black. His eyes, large and round, are painted in a glossy silver, giving a curious and endearing expression. His body is detailed with scratches and rust, hinting at years of service. The small, claw-like hands are slightly raised, as if reaching for something. The background is a soft sandy beige, with faint hints of scattered stars and dust."
image = pipe(prompt).images[0]









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 | 27 & 3490 |
| Epoch | 20 | Save Every N Epochs | 1 |
Labeling: florence2-en(natural language & English)
Total Images Used for Training : 30 [ 14 bit raw ]
| Dimensions | Aspect Ratio | Recommendation |
|---|---|---|
| 1280 x 832 | 3:2 | Best |
| 1024 x 1024 | 1:1 | Default |
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-Sketch-Sized-LoRA"
trigger_word = "Sketch Sized"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
You should use Sketch Sized to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
Base model
black-forest-labs/FLUX.1-dev