Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
liana313 committed Dec 16, 2024
1 parent 3ebfd8e commit 7c2c970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lotus/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def ret(
scores, indices = kmeans.index.search(vec_set, 1)

# get the cluster centroids
centroids = kmeans.centroids
# centroids = kmeans.centroids
# return indices.flatten(), scores.flatten(), centroids
return indices.flatten()

Expand Down

0 comments on commit 7c2c970

Please sign in to comment.