raulc0399's picture
Update README.md
c48b54f verified
|
raw
history blame
898 Bytes
metadata
pipeline_tag: text-to-image
library_name: diffusers
tags:
  - pixart-alpha
  - pixart-alpha-diffusers
  - text-to-image
  - diffusers
  - controlnet

These are the weights for the Pixart HED Controlnet, converted to be used with the pixart alpha controlnet pipeline.

To use:

git clone https://github.com/raulc0399/PixArt-alpha.git .
git checkout master_train_controlnet_diffusers
pip install -r requirements.txt
python controlnet/pipeline/run_controlnet_pipeline.py

(make sure to change the input_image_path and prompt)

the weights were created using the controlnet/convert_pixart_alpha_controlnet_to_diffusers.py from the github repo

python controlnet/convert_pixart_alpha_controlnet_to_diffusers.py --orig_ckpt_path=<full path to>/PixArt-XL-2-1024-ControlNet.pth --dump_path=./<output folder>/hed-controlnet

training script is in the same repo, but is WIP