stable-diffusion icon indicating copy to clipboard operation
stable-diffusion copied to clipboard

Is there kind of a "quality value" available?

Open Marcophono2 opened this issue 1 year ago • 2 comments

Hello!

As SD starts from a fully noised image to improve the quality value (reduce the error) I think that there should be a value available at the end of the image creation proccess which can give a hint if that image is more "good" or more "bad" if it is compared, let's say after 10x image generation with the same prompt but with different seeds. Am I wrong here? No, that wasn't my question. ;) My question is: Is such a value available and where exactlly?

Best regards Marc

Marcophono2 avatar Sep 24 '22 22:09 Marcophono2

Hello Marc, I think there is no "quality value" available in this implementation, but you can sort the generated images by "quality" using the clip_score. See this implementation as a template: https://github.com/kakaobrain/rq-vae-transformer/blob/main/notebooks/notebook_utils.py (lines 128 - 135)

oss-roettger avatar Sep 25 '22 17:09 oss-roettger

Oh! Good approach! Thank you very much! I will give it a try! 👍

Marcophono2 avatar Sep 25 '22 17:09 Marcophono2