Skip to content

Commit

Permalink
Fix: Skip emitted medoids
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobnissen committed Sep 14, 2023
1 parent b621f54 commit e0a86fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vamb/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ def get_next_seed(self) -> int:
if (
new_index >= len(self.indices)
or self.indices[new_index].item() != order
or (self.cuda and not self.kept_mask[new_index].item())
):
self.order[i] = -1
continue
Expand Down

0 comments on commit e0a86fd

Please sign in to comment.