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

Regarding the Negative Samples #2

Open
yunfan0621 opened this issue Mar 24, 2022 · 1 comment
Open

Regarding the Negative Samples #2

yunfan0621 opened this issue Mar 24, 2022 · 1 comment

Comments

@yunfan0621
Copy link

Hi Weilun Wang,

Thank you for sharing the code of your great work!

I am wondering is it possible to visualize the 'negative samples' by re-projecting them into the image space? Or they only virtually exist in the latent space to help the encoder learn more discriminative features? I was expecting to see some visualization of the generated hard negative examples while reading the paper, but failed to do so.

Best,
Yunfan

@WeilunWang
Copy link
Owner

Hi Yunfan,

Thanks for your interest.

Since it is hard to reverse the encoding process, we cannot directly decode the generated negative examples.
We visualize of negative examples by retrieving regions based on generated features in Figure 5.
More precisely, we calculate the distance between the generated negative sample and examples of all regions, and use the closest region as the visualization of the negative sample.

Best,
Weilun

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