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

Indexing #314

Merged
merged 36 commits into from
Mar 21, 2023
Merged

Indexing #314

merged 36 commits into from
Mar 21, 2023

Conversation

dnazila
Copy link
Collaborator

@dnazila dnazila commented Feb 27, 2023

Adding linear search, faiss approximate NN lookup, cached store, and redis store

Ali Zand added 3 commits February 27, 2023 13:23
…rage. Also refactoring indexer class for easing implementation of indexers that would depend on packages that include both search and storage.
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@dnazila dnazila changed the base branch from master to development February 27, 2023 22:32
@dnazila dnazila marked this pull request as ready for review March 2, 2023 03:54
@ebursztein
Copy link
Member

Looks promising but there are quite a few types, documentation and else branch with error values missing.
Also I didn't see a notebook that helps understand how to use the various storage -- seems important.
last but not least the Readme needs to be updated to discuss backend storage.

setup.py Show resolved Hide resolved
Copy link
Collaborator

@owenvallis owenvallis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I added some comments on few files but mostly small things here and there

tensorflow_similarity/base_indexer.py Outdated Show resolved Hide resolved
tensorflow_similarity/base_indexer.py Show resolved Hide resolved
tensorflow_similarity/base_indexer.py Outdated Show resolved Hide resolved
tensorflow_similarity/base_indexer.py Outdated Show resolved Hide resolved
tensorflow_similarity/base_indexer.py Show resolved Hide resolved
tensorflow_similarity/search/linear_search.py Show resolved Hide resolved
tensorflow_similarity/stores/cached_store.py Outdated Show resolved Hide resolved
tensorflow_similarity/stores/cached_store.py Outdated Show resolved Hide resolved
tensorflow_similarity/stores/memory_store.py Outdated Show resolved Hide resolved
tensorflow_similarity/stores/redis_store.py Outdated Show resolved Hide resolved
@dnazila dnazila requested a review from owenvallis March 20, 2023 22:42
tensorflow_similarity/indexer.py Show resolved Hide resolved
setup.py Show resolved Hide resolved
@dnazila dnazila merged commit 681e189 into development Mar 21, 2023
@dnazila dnazila deleted the indexing branch March 21, 2023 04:51
abeltheo pushed a commit to abeltheo/similarity that referenced this pull request Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add more indexing and storage capabilities to support larger lookup databases
3 participants