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
How to obtain figure 2(d) #50
Comments
Hi @reluuu Unfortunately, I was not able to find the notebook that contains the computation, but it should be quite easy to replicate. For the features, at each spatial location, fetch the 8 neighboring features (so 3 x 3 window) and compute the average of the L2 distances between the center the 8 neighboring features, so for each feature, you will get a scalar representing the distance between it and its neighboors; then normalize them and plot them. Hope this helps. |
Did you use dimension reduction like PCA to produce the figure? |
No we used the original features without any reduction, but using PCA might be a good idea |
But for the hidden representation, there are 2048 channels? How to visualize them in grayscale? |
at each spatial location, you compute the L2 distances between the feature i and its neighboors j, and use these distances, which are scalars, for ploting |
Hi, thank you for your nice work!
I want to know how to produce figure2(d)? There are 2048 channels for hidden representation, how to visualize? Thanks for your help!
The text was updated successfully, but these errors were encountered: