git clone https://github.com/openai/CLIP
git clone https://github.com/CompVis/taming-transformers
pip install ftfy regex tqdm omegaconf pytorch-lightning ipywidgets pillow IPython
Note, depending on your python installation, you may have to do pip3
, py -m pip
, py -m pip3
, or others
Rename to vqgan_imagenet_f16_1024.yaml, URL: 'https://heibox.uni-heidelberg.de/d/8088892a516d4e3baf92/files/?p=%2Fconfigs%2Fmodel.yaml&dl=1'
Rename to vqgan_imagenet_f16_1024.ckpt, URL: 'https://heibox.uni-heidelberg.de/d/8088892a516d4e3baf92/files/?p=%2Fckpts%2Flast.ckpt&dl=1'
Rename to vqgan_imagenet_f16_16384.yaml, URL: 'https://heibox.uni-heidelberg.de/d/a7530b09fed84f80a887/files/?p=%2Fconfigs%2Fmodel.yaml&dl=1'
Rename to vqgan_imagenet_f16_16384.ckpt, URL: 'https://heibox.uni-heidelberg.de/d/a7530b09fed84f80a887/files/?p=%2Fckpts%2Flast.ckpt&dl=1'
curl https://cdn.sushipython.us/content/random/image-ai/gene.py
Change lines 133-147 to your desired settings (134 is the prompt).
Simply run py gene.py
(or python3
/ python
depending on your install)!