Instructions to use lora-library/kdekuni with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lora-library/kdekuni with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1-base", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("lora-library/kdekuni") prompt = "a kdekuni golden funkopop" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit ·
ba7e7a5
1
Parent(s): 74365ef
Upload . with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: creativeml-openrail-m
|
| 3 |
+
base_model: stabilityai/stable-diffusion-2-1-base
|
| 4 |
+
instance_prompt: a kdekuni golden funkopop
|
| 5 |
+
tags:
|
| 6 |
+
- stable-diffusion
|
| 7 |
+
- stable-diffusion-diffusers
|
| 8 |
+
- text-to-image
|
| 9 |
+
- diffusers
|
| 10 |
+
- lora
|
| 11 |
+
inference: true
|
| 12 |
+
---
|
| 13 |
+
# LoRA DreamBooth - kdekuni
|
| 14 |
+
|
| 15 |
+
These are LoRA adaption weights for [stabilityai/stable-diffusion-2-1-base](https://huggingface.co/stabilityai/stable-diffusion-2-1-base). The weights were trained on the instance prompt "a kdekuni golden funkopop" using [DreamBooth](https://dreambooth.github.io/). You can find some example images in the following.
|
| 16 |
+
|
| 17 |
+
|
train.sh
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
accelerate launch train_dreambooth_lora.py --pretrained_model_name_or_path=stabilityai/stable-diffusion-2-1-base --instance_data_dir=c:\Users\David\Desktop\GapInvestor\Clientes\Toni IA\LoRA-DreamBooth-Training-UI\training_data\kdekuni --output_dir=c:\Users\David\Desktop\GapInvestor\Clientes\Toni IA\LoRA-DreamBooth-Training-UI\experiments\kdekuni --instance_prompt="a kdekuni golden funkopop" --resolution=512 --train_batch_size=1 --gradient_accumulation_steps=1 --learning_rate=0.0001 --lr_scheduler=constant --lr_warmup_steps=0 --max_train_steps=100 --checkpointing_steps=100 --validation_prompt="a kdekuni golden funkopop" --validation_epochs=100 --seed=59976 --mixed_precision fp16 --use_8bit_adam
|