ProtoSeg icon indicating copy to clipboard operation
ProtoSeg copied to clipboard

Question about Within-Class Online Clustering

Open clgx00 opened this issue 2 years ago • 8 comments

Hi, I'm interested in your work. After reading the paper, I'm confused that the goal of Within-Class Online Clustering is to map the pixels Ic to the K prototypes of class c. But how to know if pixels Ic belongs to class c? Did you use Ground Truth in this step? So how do you set it up when testing?

Hope to receive your reply, thanks!

clgx00 avatar Aug 29 '22 08:08 clgx00

@clgx00 Within-class clustering is unsupervised -- for each class c, we need to automatically find K prototypes. However, the whole task setting is supervised -- for each pixel, we know the corresponding class.

This is a compelling feature of our algorithm -- integrating unsupervised, within-class subpattern mining into supervised, per-pixel classification.

wenguanwang avatar Aug 29 '22 13:08 wenguanwang

@wenguanwang Yes, this is an innovative point of the algorithm. Does this mean that online clustering was not used when testing?

clgx00 avatar Aug 29 '22 13:08 clgx00

@clgx00 Of course not used. The clustering is to find class prototypes as references for classification. Once trained, the class prototypes are stored and used for classification.

wenguanwang avatar Aug 30 '22 00:08 wenguanwang

Thank you for your response! It is really a great work.

clgx00 avatar Aug 30 '22 04:08 clgx00

i want to know which part is online clustering? i can't find it..

yunpengt avatar Oct 05 '22 07:10 yunpengt

@yunpengt please check here: https://github.com/tfzhou/ProtoSeg/blob/1c4a7784bbce96c06fe72d55255af15e6cf1ca96/lib/models/nets/hrnet.py#L54

tfzhou avatar Oct 05 '22 20:10 tfzhou

Hello, thank you for your excellent work, I would like to ask what are the two values returned in the code by sink_horn, what do q and indexes mean respectively?

NJNUCS avatar Nov 01 '22 02:11 NJNUCS

Hello, thank you for your excellent work, I would like to ask what are the two values returned in the code by sink_horn, what do q and indexes mean respectively?

I have the same question, do you have any idea now? Thank you very much.

QChhh123 avatar Mar 14 '23 09:03 QChhh123