yxgeee / OpenIBL

[ECCV-2020 (spotlight)] Self-supervising Fine-grained Region Similarities for Large-scale Image Localization. 🌏 PyTorch open-source toolbox for image-based localization (place recognition).
https://yxgeee.github.io/projects/sfrs
MIT License
271 stars 41 forks source link

How to visualize the feature map #12

Open MedlarTea opened 3 years ago

MedlarTea commented 3 years ago

Hi, thanks for your excellent work!! I have a question about how do you visualize the feature map(before VLAD aggregation)? Is it done by simply adding the channels? Then get a 30x40 heatmap

yxgeee commented 3 years ago

I visualized the feature map by max-pooling among the channels, yield a 30x40 heatmap. But I found it seems not the optimal way. I would recommend visualizing the cluster residuals after the VLAD layer.