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.
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
- Lambda Diffusers
- Captioned Three Kingdoms dataset
- Model weights in Diffusers format
- Original model weights
- Training code
Trained by Xin Wang. Thanks kongming.net for their archived images and justinpinkney for the code.