Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Averaging of multiple image embeddings before processing #118

Open
Seedmanc opened this issue Sep 8, 2024 · 0 comments

Comments

@Seedmanc
Copy link

Seedmanc commented Sep 8, 2024

Would accept a folder of images (or a multi-file select in Gradio) and do the same as it does now but produce a single output that would generalize characteristics of images in the set by averaging the output of image_to_features() before sending them further for interrogation.

Use case: when preparing datasets for model training it would be convenient to have a prompt that describes all of them as a whole to test how well the trained model reproduces the idea in general. At the same time it would be useful to have a general negative prompt to check out how the model handles out of scope prompts (and make sure it didn't lose the ability to generalize).

Does this idea make sense? Can you just average the image_to_features() output like regular numbers (or an array of them) or that won't work at all?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant