ZichengDuan / TheChosenOne

Unofficial implementation of the paper "The Chosen One: Consistent Characters in Text-to-Image Diffusion Models"
https://arxiv.org/abs/2311.10093
237 stars 22 forks source link

How to install diffusers==0.24.0.dev0 #4

Closed wyxogo closed 9 months ago

wyxogo commented 9 months ago

Thank you for your work. Upon checking the official repository, I couldn't locate the diffusers version 0.24.0.dev0 so that I can not use the API text_encoder_lora_state_dict. What should I do, if there are alternative APIs available. Currently, I am using diffuser version 0.23.1.

ZichengDuan commented 9 months ago

Hi, thanks for your attention, you can simply install 0.24.0.dev0 with:

git clone https://github.com/huggingface/diffusers
cd diffusers
pip install .
lijain commented 9 months ago

Thank you for sharing, can you give a link to the corresponding version of this diffusion? The designation of this piece is 0.24.0 or 0.25.0, followed by the dev0 link can be sent?

johndpope commented 9 months ago

gh repo clone huggingface/diffusers git checkout 2a7f43a python setup.py install

lijain commented 9 months ago

Thank you for your reply, but the two versions of this download do not match

lijain commented 9 months ago

image not version?

johndpope commented 9 months ago

you have to checkout specific branch - git checkout 2a7f43a

johndpope commented 9 months ago

you maybe able to use https://stackoverflow.com/questions/13685920/install-specific-git-commit-with-pip

pip install git+https://github.com/huggingface/diffusers.git@2a7f43a