lucidrains / deep-daze

Simple command line tool for text to image generation using OpenAI's CLIP and Siren (Implicit neural representation network). Technique was originally created by https://twitter.com/advadnoun
MIT License
4.37k stars 327 forks source link

Add save GIF animation feature #110

Closed lorcalhost closed 3 years ago

lorcalhost commented 3 years ago

By setting save_gif=True a GIF animation of the generation process is saved in the current directory.
The pictures generated by setting save_progress=True are used as GIF frames.

The imageio module was used instead of Pillow as Pillow's generated GIF files are strongly compressed and bad looking.