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

what if i just want to search by photo without text,what should i do #23

Open
jackylee2498 opened this issue Nov 28, 2021 · 1 comment

Comments

@jackylee2498
Copy link

what if i just want to search by photo without text,what should i do

@haltakov
Copy link
Owner

You can encode the photo using model.encode_image (see how it is used exactly here) and search using the embedding in the same way as if it comes from the text.

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

2 participants