pc-cp / MSVQ

MSVQ: Self-Supervised Learning with Multiple Sample Views and Queues
MIT License
2 stars 1 forks source link

I have some questions that need your answer. #1

Closed LYJhere closed 9 months ago

LYJhere commented 9 months ago

Hello, I am a student from SCAU,my major is deep clustering, I find your idea is very fantastic, but I have some question about the code in msvq.py (the lablel is need to do what? is it a ture label?), I am looking forward to your early reply.thanks.

pc-cp commented 9 months ago

Thank you very much for your attention. Are you referring to the 'labels' at https://github.com/pc-cp/MSVQ/blob/78c46d49930b26efba5afeb2d0e637d1eae2e2a2/main.py#L94? You are correct, they are the true labels. However, these 'labels' are updated to https://github.com/pc-cp/MSVQ/blob/78c46d49930b26efba5afeb2d0e637d1eae2e2a2/util/MemoryBankModule.py#L128, which means the labels are not used by the model itself. This is because of self-supervised learning. As for why MemoryBankModule.py needs labels? It is for analyzing the neighbor purity in algorithms like NNCLR, MSF, etc. Hope this helps you. For more you can also refer to https://github.com/pc-cp/Mini-SSL.

LYJhere commented 9 months ago

Thank you very much! Your answer is vital for me! You are my star!

ChenPeng(彭晨) @.***> 于2023年11月30日周四 10:58写道:

Thank you very much for your attention. Are you referring to the 'labels' at https://github.com/pc-cp/MSVQ/blob/78c46d49930b26efba5afeb2d0e637d1eae2e2a2/main.py#L94? You are correct, they are the true labels. However, these 'labels' are updated to https://github.com/pc-cp/MSVQ/blob/78c46d49930b26efba5afeb2d0e637d1eae2e2a2/util/MemoryBankModule.py#L128, which means the labels are not used by the model itself. This is because of self-supervised learning. As for why MemoryBankModule.py needs labels? It is for analyzing the neighbor purity in algorithms like NNCLR, MSF, etc. Hope this helps you. For more you can also refer to https://github.com/pc-cp/Mini-SSL.

— Reply to this email directly, view it on GitHub https://github.com/pc-cp/MSVQ/issues/1#issuecomment-1833029958, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDZENZFMXLOZIYSPQZ3TSLTYG7Y63AVCNFSM6AAAAAA7ZAS5KOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTGAZDSOJVHA . You are receiving this because you authored the thread.Message ID: @.***>