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

About the use of outliers #5

Open
haoni0812 opened this issue Aug 30, 2023 · 1 comment
Open

About the use of outliers #5

haoni0812 opened this issue Aug 30, 2023 · 1 comment

Comments

@haoni0812
Copy link

Hi, thanks for sharing your work. I noticed that the outliers seem not to be used in the code (as shown below). However, according to the description in the paper, outliers should be assigned to the nearest pseudo category. I would like to know where this operation is carried out.

in em.py: nums.index_add_(0, labels[labels != -1], torch.ones(labels[labels != -1].shape[0], 1).float().cuda())

@FlyingRoastDuck
Copy link
Owner

FlyingRoastDuck commented Nov 26, 2023

Hi, Sorry for the late reply. You can find the ``outlier merging" operation here:

https://github.com/FlyingRoastDuck/MetaCam_DSCE/blob/master/reid/utils/__init__.py#L43

if you have further questions, please contact me through email. I cannot reply to you timely with github issues.

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