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

How is the feature map visualization got? #2

Open
XiyueSun opened this issue May 19, 2022 · 5 comments
Open

How is the feature map visualization got? #2

XiyueSun opened this issue May 19, 2022 · 5 comments

Comments

@XiyueSun
Copy link

XiyueSun commented May 19, 2022

how to do the feature map visualization like figure 2 and 7?

@namepllet
Copy link
Owner

We apply absolute sum to make channel dimension 1, and show feature map from matpoltlib package.

@jingyushi
Copy link

jingyushi commented Jun 9, 2022

@namepllet Hi, Park and Ou. Thanks for your impressive work.
Could please also let me know how you obtained the Correlation Map as in Figure 4? I have now the 1x4x1024x1024 shape C from the matmul of Csoft and Csig. Thanks in advance!

@namepllet
Copy link
Owner

The correlation map in figure 4 shows correlation between single query(red point) and other keys.

So you can choose any query and reshape key dimension to 32x32 to visualize correlation map.

@karta2155802
Copy link

karta2155802 commented Sep 5, 2022

Hi,
I'm trying to visualize the primary feature map like figure 2 by following your method above with the demo model weight. But I couldn't get the same visualization as yours. Here's my code, input image and visualization results. Which part I did wrong?

        pfeats = primary_feats.abs().sum(dim=1).squeeze()

Thanks

@namepllet
Copy link
Owner

Since we refactored our code after paper submission, the feature map may look different.

And for the HO3D images, use pretrained model weight for HO3D.
(The demo model is not trained on HO3D)

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

4 participants