nerdyrodent / VQGAN-CLIP

Just playing with getting VQGAN+CLIP running locally, rather than having to use colab.
Other
2.59k stars 428 forks source link

What is args.display_frequency? #126

Closed abrichr closed 2 years ago

abrichr commented 2 years ago

A search for "display_frequency" in this repo:

~/VQGAN-CLIP# grep -r -n -i display_frequency .
Binary file ./.predict.py.swp matches
./predict.py:130:        "display_frequency",
./predict.py:135:    def predict(self, image, prompts, iterations, display_frequency):
./predict.py:167:        self.args.display_freq = display_frequency

A search for "display_frequency" in https://github.com/replicate/cog yields zero results.

Is this parameter hooked up to anything? What does it do?

nerdyrodent commented 2 years ago

How often an image is saved.