Re:Show HN: AI-Generated Illustrations of Plants
by rapido-gato on Tuesday August 24, 2021 @01:42PM
(#28292350)
dumb question, but what is that loop achieving?
[ Parent
| on HN ]
Re:Show HN: AI-Generated Illustrations of Plants
by jcims on Tuesday August 24, 2021 @02:12PM
(#28292762)
Not dumb at all. This code is at the bottom of the notebook cell that actually generates the image. By default it's a one-shot deal, this allows me to continuously generate images with some perturbations in the input to build in some variety (seed value, some prompt 'modifiers' that tend to have a style transfer effect).