As a fan of Harry Potter, I have finally released the LoRA of Hermione.
The Author's Note
"Since Hermione never wore the Hogwarts uniform throughout Harry Potter and the Deathly Hallows, this dataset is not complete. I will expand the dataset and release a V2 version soon. If you like it, please show your support with likes and encouragement. Thank you!"
Dataset
All datasets were taken from the two films of Harry Potter and the Deathly Hallows. I trained for 14 hours on an Nvidia A6000 GPU.
Trigger words
You should use herm to trigger the image generation.
Download model
Weights for this model are available in Safetensors format.
from diffusers import AutoPipelineForText2Image
import torch
device = "cuda"if torch.cuda.is_available() else"cpu"
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to(device)
pipeline.load_lora_weights('Keltezaa/hermione-granger', weight_name='Hermione_flux_lora_v1.safetensors')
image = pipeline('herm,The photograph captures a young woman with blonde hair and white skin sitting in cafeteria, contemplatively examining a small knitted object, with a soft, introspective atmosphere.').images[0]