Downloads · 30 days
13
9% of all-time downloads
markd/trained-flux-lora
trained-flux-lora is a text-to-image model from markd. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as other.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
13
9% of all-time downloads
All-time downloads
141
Public
Repo size
47.3 MB
Likes
0
Public
Click a slice to open those files.
.safetensors28.1 MB · 59%
From the Hugging Face model README
These are markd/trained-flux-lora DreamBooth LoRA weights for black-forest-labs/FLUX.1-dev.
The weights were trained using DreamBooth with the Flux diffusers trainer.
Was LoRA for the text encoder enabled? False.
You should use a photo of sks man to trigger the image generation.
Download the *.safetensors LoRA in the Files & versions tab.
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('markd/trained-flux-lora', weight_name='pytorch_lora_weights.safetensors')
image = pipeline('a photo of sks man').images[0]
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
Please adhere to the licensing terms as described here.
# TODO: add an example code snippet for running this diffusion pipeline
[TODO: provide examples of latent issues and potential remediations]
[TODO: describe the data used to train the model]