Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KMeans is not implemented in the original kmeans_pytorch #54

Open
rezoo opened this issue May 21, 2024 · 1 comment
Open

KMeans is not implemented in the original kmeans_pytorch #54

rezoo opened this issue May 21, 2024 · 1 comment

Comments

@rezoo
Copy link

rezoo commented May 21, 2024

Currently I am trying to reproduce MoDE in my own dataset.
Although it worked successfully up to feature extraction, problems arose with kmeans clustering.
Your repository describes that mode/prep_hrchy.py imports KMeans class from kmeans_pytorch, however, the original kmeans_pytorch does not support such a class.
I think that this library may be a modified one, but is this implementation published anywhere?

@Phoenix-V
Copy link
Contributor

Thank you for your question. Regarding the KMeans installation, please refer the following command. The corresponding ReadMe will be updated shortly.

git clone https://github.com/kernelmachine/balanced-kmeans.git
cd balanced-kmeans
pip3 install -e .

More details of KMeans usage can be found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants