Views
No views yet

1# create virtual environment for EvolveDirector
2conda create -n evolvedirector python=3.9
3conda activate evolvedirector
4
5# cd to the path of this repo
6
7# install packages
8pip install --upgrade pip
9pip install torch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 --index-url https://download.pytorch.org/whl/cu121
10pip install -r requirements.txt
11pip install -U transformers accelerate diffusers SentencePiece ftfy beautifulsoup41python Inference/inference.py --image_size=1024 \
2 --t5_path "./model" \
3 --tokenizer_path "./model/sd-vae-ft-ema" \
4 --txt_file "text_prompts.txt" \ # put your text prompts in this file
5 --model_path "model/Edgen_1024px_v1.pth" \
6 --save_folder "output/test_model"1@article{zhao2024evolvedirector,
2 title={EvolveDirector: Approaching Advanced Text-to-Image Generation with Large Vision-Language Models},
3 author={Zhao, Rui and Yuan, Hangjie and Wei, Yujie and Zhang, Shiwei and Gu, Yuchao and Ran, Lingmin and Wang, Xiang and Wu, Zhangjie and Zhang, Junhao and Zhang, Yingya and others},
4 journal={arXiv preprint arXiv:2410.07133},
5 year={2024}
6}