Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.3 KB

Install.md

File metadata and controls

35 lines (24 loc) · 1.3 KB

Installing the dependencies

Before running the scripts, make sure to install the library's training dependencies:

To make sure you can successfully run the latest versions of the example scripts, we highly recommend installing from source and keeping the install up to date as we update the example scripts frequently and install some example-specific requirements. To do this, execute the following steps in a new virtual environment:

  1. Create a virtual environment (with Python 3.9):
conda create -n t2icombench python=3.9
conda activate t2icombench
  1. Install diffusers from source:
git clone https://github.com/huggingface/diffusers
cd diffusers
pip install .
  1. Install other provided requirements:
pip install -r requirements.txt
  1. Install 🤗Accelerate
accelerate config
  1. Install other dependencies required from the necessary repositories, including MiniGPT4, blip, UniDET(https://github.com/xingyizhou/UniDet), CLIP.

We recommend you refer to the original T2I-Combench repo for more details on the installation process.