Open vibl opened 2 weeks ago
I get a segmentation fault on index.cluster(), whatever the parameters min_count and max_count I use (and without parameters).
index.cluster()
min_count
max_count
Small dataset of 80,000 vectors. index.search works great.
index.search
index = Index( ndim=768, metric='cos', dtype='f32' ) index.save(usearch_index_path)
index = Index.restore(usearch_index_path) clustering = index.cluster(min_count=10, max_count=15, log=True)
It should return a Clustering instance.
2.16.2
Ubuntu 24.04
x86
Python bindings
No response
.git
Hi @vibl! Sorry for delayed response! Can you check out the global clustering functionality as opposed to the built-in into the Index Python class? It should work much better.
Describe the bug
I get a segmentation fault on
index.cluster()
, whatever the parametersmin_count
andmax_count
I use (and without parameters).Small dataset of 80,000 vectors.
index.search
works great.Steps to reproduce
Expected behavior
It should return a Clustering instance.
USearch version
2.16.2
Operating System
Ubuntu 24.04
Hardware architecture
x86
Which interface are you using?
Python bindings
Contact Details
No response
Are you open to being tagged as a contributor?
.git
history as a contributorIs there an existing issue for this?
Code of Conduct