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

How to visualize the results? #7

Open
easternbun opened this issue Oct 17, 2024 · 1 comment
Open

How to visualize the results? #7

easternbun opened this issue Oct 17, 2024 · 1 comment

Comments

@easternbun
Copy link

easternbun commented Oct 17, 2024

How to visualize the results like cluster group graph and image output with different group.

@easternbun easternbun changed the title There are no pretrained model in the given download? There are no pretrained model in the given download? And how to visualize the results? Oct 17, 2024
@easternbun easternbun changed the title There are no pretrained model in the given download? And how to visualize the results? How to visualize the results? Oct 18, 2024
@agadetsky
Copy link
Collaborator

Dear @easternbun,

Thank you for your interest in our work. First, you can extract the cluster indices for each sample in the dataset similarly to evaluate.py script

y_pred = labels.argmax(dim=-1).detach().cpu().numpy()

Then, you can use your favourite library to do visualizations.

Let me know if that has resolved your issue.

Best,
Artyom

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