This repository contains the reference code and dataset for the paper Alfie: Democratising RGBA Image Generation With No $$$. If you find it useful, please cite it as:
@inproceedings{quattrini2024alfie,
title={{Alfie: Democratising RGBA Image Generation With No $$$}},
author={Quattrini, Fabio and Pippi, Vittorio and Cascianelli, Silvia and Cucchiara, Rita},
booktitle{Proceedings of the European Conference on Computer Vision Workshops},
year={2024},
organization={Springer}
}
conda create --name alfie python==3.11.7
conda activate alfie
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia -y
pip install -r requirements.txt
python generate_prompt.py --setting centering-rgba-alfie --fg_prompt 'A photo of a cat with a hat'
python generate_prompt.py --setting centering-rgba-alfie --fg_prompt 'A large, colorful tree made of money, with lots of yellow and white coins hanging from its branches'