lucidrains / big-sleep

A simple command line tool for text to image generation, using OpenAI's CLIP and a BigGAN. Technique was originally created by https://twitter.com/advadnoun
MIT License
2.57k stars 304 forks source link

Possible to change behavior of save-best flag to avoid duplicate files? #87

Open pmonck opened 3 years ago

pmonck commented 3 years ago

Using the save-best flag results in a lot of duplicate png files being saved. Would it be possible to make it only save an additional "best" file if the image is different from the one generated by the final iteration?

Currently, it is necessary to compare the two output files by eye to determine if they are the same before deleting any duplicates.