Skip to content

Generate From Pretrained Model

afiaka87 edited this page Apr 18, 2021 · 2 revisions
#!/bin/bash

# This can take awhile
python generate.py \
    \--num_images=512 
    \--dalle_path=dalle.pt 
    \--taming 
    \--batch_size=32 
    \--outputs_dir="/path"
    \--text "an armchair in the shape of an avocado, an armchair imitating an avocado"

see also https://github.com/lucidrains/DALLE-pytorch/wiki/CLIP-Rerank