You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I run #FAISS
num_vectors, feat_dim = clip_embeds.shape
quantize = faiss.IndexFlatIP(feat_dim)
ivf_index = faiss.IndexIVFFlat(quantize, feat_dim,int(sqrt(num_vectors)),)
ivf_index.train(clip_embeds)
ivf_index.add(clip_embeds)
FAISS_index = {
"video_ids": clip_paths,
"clip_embeds": ivf_index,
}
given video embeddings from clip_embeds, why does my compter crash when it runs the ivf_index.train line
Platform
OS: macOS m1
Faiss version:
Installed from: pip install faiss-cpu
Faiss compilation options:
Running on: - [ ] CPU
GPU
Interface:
C++ - [ ] Python
Reproduction instructions
pip install faiss-cpu
generate vector embeddings
run code for faiss index building
The text was updated successfully, but these errors were encountered:
Summary
when I run #FAISS
num_vectors, feat_dim = clip_embeds.shape
quantize = faiss.IndexFlatIP(feat_dim)
ivf_index = faiss.IndexIVFFlat(quantize, feat_dim,int(sqrt(num_vectors)),)
ivf_index.train(clip_embeds)
ivf_index.add(clip_embeds)
FAISS_index = {
"video_ids": clip_paths,
"clip_embeds": ivf_index,
}
given video embeddings from clip_embeds, why does my compter crash when it runs the ivf_index.train line
Platform
OS: macOS m1
Faiss version:
Installed from: pip install faiss-cpu
Faiss compilation options:
Running on:
- [ ] CPU
Interface:
- [ ] Python
Reproduction instructions
pip install faiss-cpu
generate vector embeddings
run code for faiss index building
The text was updated successfully, but these errors were encountered: