disco-elysium-lora / README.md
philipp-zettl's picture
Update README.md
f91f732 verified
---
license: apache-2.0
base_model:
- stable-diffusion-v1-5/stable-diffusion-v1-5
base_model_relation: adapter
library_name: diffusers
widget:
- text: "portrait of a young woman, in the style of DSYL"
parameters:
negative_prompt: "(((deformed))), blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, (extra_limb), (ugly), (poorly drawn hands), fused fingers, messy drawing, broken legs censor, censored, censor_bar, multiple breasts, (mutated hands and fingers:1.5), (long body :1.3), (mutation, poorly drawn :1.2), black-white, bad anatomy, liquid body, liquidtongue, disfigured, malformed, mutated, anatomical nonsense, text font ui, error, malformed hands, long neck, blurred, lowers, low res, bad anatomy, bad proportions, bad shadow, uncoordinated body, unnatural body, fused breasts, bad breasts, huge breasts, poorly drawn breasts, extra breasts, liquid breasts, heavy breasts, missingbreasts, huge haunch, huge thighs, huge calf, bad hands, fused hand, missing hand, disappearing arms, disappearing thigh, disappearing calf, disappearing legs, fusedears, bad ears, poorly drawn ears, extra ears, liquid ears, heavy ears, missing ears, old photo, low res, black and white, black and white filter, colorless, (((deformed))), blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, (extra_limb), (ugly), (poorly drawn hands), fused fingers, messy drawing, broken legs censor, censored, censor_bar, multiple breasts, (mutated hands and fingers:1.5), (long body :1.3), (mutation, poorly drawn :1.2), black-white, bad anatomy, liquid body, liquid tongue, disfigured, malformed, mutated, anatomical nonsense, text font ui, error, malformed hands, long neck, blurred, lowers, low res, bad anatomy, bad proportions, bad shadow, uncoordinated body, unnatural body, fused breasts, bad breasts, huge breasts, poorly drawn breasts, extra breasts, liquid breasts, heavy breasts, missing breasts, huge haunch, huge thighs, huge calf, bad hands, fused hand, missing hand, disappearing arms, disappearing thigh, disappearing calf, disappearing legs, fused ears, bad ears, poorly drawn ears, extra ears, liquid ears, heavy ears, missing ears, old photo, low res, black and white, black and white filter, colorless, (((deformed))), blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, (extra_limb), (ugly), (poorly drawn hands), fused fingers, messy drawing, broken legs censor, censored, censor_bar, multiple breasts, (mutated hands and fingers:1.5), (long body :1.3), (mutation, poorly drawn :1.2), black-white, bad anatomy, liquid body, liquid tongue, disfigured, malformed, mutated, anatomical nonsense, text font ui, error, malformed hands, long neck, blurred, lowers, low res, bad anatomy, bad proportions, bad shadow, uncoordinated body, unnatural body, fused breasts, bad breasts, huge breasts, poorly drawn breasts, extra breasts, liquid breasts, heavy breasts, missing breasts, huge haunch, huge thighs, huge calf, bad hands, fused hand, missing hand, disappearing arms, disappearing thigh, disappearing calf, disappearing legs, fused ears, bad ears, poorly drawn ears, extra ears, liquid ears, heavy ears, missing ears, (((deformed))), blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, (extra_limb), (ugly), (poorly drawn hands), fused fingers, messy drawing, broken legs censor, censored, censor_bar, multiple breasts, (mutated hands and fingers:1.5), (long body :1.3), (mutation, poorly drawn :1.2), black-white, bad anatomy, liquid body, liquidtongue, disfigured, malformed, mutated, anatomical nonsense, text font ui, error, malformed hands, long neck, blurred, lowers, low res, bad anatomy, bad proportions, bad shadow, uncoordinated body, unnatural body, fused breasts, bad breasts, huge breasts, poorly drawn breasts, extra breasts, liquid breasts, heavy breasts, missingbreasts, huge haunch, huge thighs, huge calf, bad hands, fused hand, missing hand, disappearing arms, disappearing thigh, disappearing calf, disappearing legs, fusedears, bad ears, poorly drawn ears, extra ears, liquid ears, heavy ears, missing ears"
output:
url: "images/-1.png"
- text: "portrait of a young woman, in the style of DSYL"
parameters:
negative_prompt: " "
output:
url: "images/0.png"
- text: "portrait of a young man with brown hair and rayben glasses, in the style of DSYL"
parameters:
negative_prompt: " "
output:
url: "images/1.png"
- text: "portrait of a young man with blond hair and rayben glasses, in the style of DSYL"
parameters:
negative_prompt: " "
output:
url: "images/2.png"
- text: "portrait of a young man with blond hair and shades, in the style of DSYL"
parameters:
negative_prompt: " "
output:
url: "images/3.png"
- text: "portrait of a 30 year old man with long brown hair and shades, in the style of DSYL"
parameters:
negative_prompt: " "
output:
url: "images/4.png"
---
<Gallery />
## Trigger words
To trigger the LoRA use the prompt `in style of DSYL`
## Training
This adapter has been trained using the [autotrain-advanced dreambooth colab-notebook](https://github.com/huggingface/autotrain-advanced/tree/main?tab=readme-ov-file#colabs)
with the dataset stored in [`./images/training`](https://huggingface.co/philipp-zettl/disco-elysium-lora/tree/main/images/training).
Training time was ~14 minutes on a T4 instance.
### Config
The following config has been used
```python
project_name = 'disco-elysium'
model_name = 'stable-diffusion-v1-5/stable-diffusion-v1-5'
prompt = 'in the style of DSYL'
learning_rate = 1e-4
num_steps = 500
batch_size = 1
gradient_accumulation = 4
resolution = 512
use_8bit_adam = False
use_xformers = False
mixed_precision = "fp16"
train_text_encoder = True
disable_gradient_checkpointing = False
```