Created
September 8, 2025 18:18
-
-
Save dontpaniclabsgists/9ecb91f6e231741749ab3ad64876219d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Qdrant collection setup for different embedding models | |
model_sizes = { | |
"VGG-Face": 4096, | |
"Facenet": 128, | |
"ArcFace": 512 | |
} | |
def _ensure_collections_exist(self): | |
for model_name, vector_size in model_sizes.items(): | |
collection_name = f"face_embeddings_{model_name.lower()}" | |
# Create collection with proper vector dimensions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment