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

tsne #12

Closed
tahmine88 opened this issue Jul 5, 2021 · 8 comments
Closed

tsne #12

tahmine88 opened this issue Jul 5, 2021 · 8 comments

Comments

@tahmine88
Copy link

hi, how do you use tsne in a segmentation network to have such visualization?
thanks

@tahmine88
Copy link
Author

tahmine88 commented Jul 9, 2021

i don't know how to gather pixels wise embeddings

@tfzhou
Copy link
Owner

tfzhou commented Jul 28, 2021

Hi, you may save the embeddings into numpy files and then visualize tsne plots.

@tfzhou tfzhou closed this as completed Jul 28, 2021
@tahmine88
Copy link
Author

thanks for your response, is there any code or pseudo-code for it?

@curiosity654
Copy link

thanks for your response, is there any code or pseudo-code for it?

I think it's simply saving the features before the last layer of your network and visualize them with tsne.

@MohammadDehghan
Copy link

thanks
they are 2D features, do you turn them into a vector then visualize it?! I don't think so! so how do you do that?

@curiosity654
Copy link

What do you mean by 2D features? If it's an HW 2D feature map with D feature dimensions, then you just flatten them into ND feature vector, here N=H*W, and feed it into the API together with labels.

@MohammadDehghan
Copy link

thank you so much, I think I got it.

@jiangzhengkai
Copy link

@tfzhou would you mind sharing the color for the tsne embedding?

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

5 participants