July 20, 2023, 11:48 a.m. | /u/OkResearch6289

Machine Learning www.reddit.com

I just created a [Huggingface Space](https://huggingface.co/spaces/renumics/stable-diffusion-select-best-images) showcasing how to interactively explore the outputs of a Stable Diffusion model via CLIP Embeddings.

[Embedding-based image similarity plotted in 2D via dimensionality reduction.](https://i.redd.it/wli2f878y3db1.gif)

The visualization is done using the tool [Spotlight](https://github.com/Renumics/spotlight).

Also, I created a [tutorial](https://medium.com/@daniel-klitzke/automatically-selecting-the-best-images-generated-by-stable-diffusion-a90d5018c634) showcasing how to automatically select promising prompts and images from a large dataset. It is roughly based on the following approach:

1. Calculate the **CLIP Score** for all prompt-image pairs to **measure** generation quality.
2. Generate **CLIP …

clip embedding embeddings evaluation identification image image generation image generation models images learn love machinelearning prompt quality strategies

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York