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-1
|
| 4 |
+
instance_prompt: realgert1
|
| 5 |
+
tags:
|
| 6 |
+
- stable-diffusion
|
| 7 |
+
- stable-diffusion-diffusers
|
| 8 |
+
- text-to-image
|
| 9 |
+
- diffusers
|
| 10 |
+
- lora
|
| 11 |
+
inference: true
|
| 12 |
+
---
|
| 13 |
+
# LoRA DreamBooth - realgert
|
| 14 |
+
|
| 15 |
+
These are LoRA adaption weights for [stabilityai/stable-diffusion-1](https://huggingface.co/stabilityai/stable-diffusion-1). The weights were trained on the instance prompt "realgert1" 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-1 --instance_data_dir=/home/user/app/training_data/realgert --output_dir=/home/user/app/experiments/realgert --instance_prompt="realgert1" --resolution=512 --train_batch_size=1 --gradient_accumulation_steps=1 --learning_rate=0.0001 --lr_scheduler=constant --lr_warmup_steps=0 --max_train_steps=1000 --checkpointing_steps=100 --validation_prompt="realgertrude" --validation_epochs=100 --seed=0 --mixed_precision fp16 --use_8bit_adam
|