-
Notifications
You must be signed in to change notification settings - Fork 56
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
I have a bug about class Confusion.add() #10
Comments
I have the same error, I guess this is for calculating the acc of cluster and ground-truth label, here is a link may be helpful https://smorbieu.gitlab.io/accuracy-from-classification-to-clustering-evaluation/ |
@l770943527 Thanks for your help. I will try it. I have a question: can the method proposed in this paper be used for incremental clustering? |
@Dejiao2018 I use searchsnippets.csv to run the project, but when run to this line in
|
Same error, have you fix it out? |
Same error, have you fix it out? |
I also have the same error :( |
There is nothing to datasets, it's just a bug. I read all the codes and find that metrics.py has many problems. You just need to write your own evaluation code. |
Same error, have you fix it out? |
I used my own accuracy method, here is a working copy : https://www.kaggle.com/urospetricevic/sccl-reproduction |
yes, you are right. |
Thank you for your work, i'm interested in your work. Then, I run this project on SearchSnippets, but when I get pred_labels and true_labels then to execute confusion.add(pred_labels, true_labels), I get a problem:self.conf_flat.index_add(0, indices, ones) {IndexError}index out of range in self. The two input parameters:output, target about add() are output={Tensor:(12195,)}tensor([6, 6, 7, ..., 0, 0, 0], device='cuda:0'), target={Tensor:(12195,)}tensor([1, 1, 1, ..., 8, 8, 8]), respectively. I am confused about this problem and i have no idea about the role of add(). Could you please give me some advice?
The text was updated successfully, but these errors were encountered: