This is an unofficial implementation of Training-free Diffusion Model Adaptation for Variable-Sized Text-to-Image Synthesis. Further details can be viewed in the papers
For the ease of installation, you should use anaconda to setup this repo.
conda create --name <env> --file req.txt
conda activate <env>
# Usage:
python trainingfreediffuser.py --help
# Example:
## With reweighting scheme
python trainingfreediffuser.py "A black cat sitting on top of a pot for a plant." --wh 768 -n 8 -s 0 -e
## Without reweighting scheme (Normal sampling)
python trainingfreediffuser.py "A black cat sitting on top of a pot for a plant." --wh 768 -n 8 -s 0
This project would not be possible without the generous work from Stability AI and HuggingFace