wx44wx's picture
Update README.md
be8954f
|
raw
history blame
2.14 kB
metadata
license: mit
language:
  - en
tags:
  - stable-diffusion
  - stable-diffusion-diffusers
  - text-to-image
datasets:
  - wx44wx/three-kingdoms-blip-captions

Stable Diffusion fine tuned on Romance of the Three Kingdoms XI: Officer Portraits.

Put in a text prompt and generate your own Officier in Three Kingdoms.

trained using this script with this dataset.

a man in armor image.png

a women in red dress image.png

a women in armor image.png

Usage

!pip install diffusers==0.19.3
!pip install transformers scipy ftfy
 python scripts/txt2img.py \
    --prompt 'a man in armor' \
    --outdir 'outputs/generated_three_kingdoms_officers' \
    --H 512 --W 512 \
    --n_samples 4 \
    --config 'configs/stable-diffusion/three-kingdoms.yaml' \
    --ckpt ema-only-epoch=000144.ckpt

Model description

Trained on BLIP captioned Three Kingdoms Officers images using 1xA6000 GPUs for around 16,000 steps.

Links

Trained by Xin Wang. Thanks kongming.net for their archived images and justinpinkney for the code.