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

Resolved MissingIndex error in similarity search #206

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jeongiin
Copy link

What does this PR do?

I found that the "embeddings" missing index error happens because the FAISS index was being added before the embeddings were properly generated.

This update ensures that the embeddings are fully created first, and then the FAISS index is added for both text and image embeddings.

I've tested the fix locally, and it works without any issues now!

Fixes #205

Who can review?

@merveenoyan @stevhliu

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

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

Successfully merging this pull request may close these issues.

MissingIndex in faiss_with_hf_datasets_and_clip notebook
1 participant