MzeroMiko / VMamba

VMamba: Visual State Space Models,code is based on mamba
MIT License
2.07k stars 124 forks source link

Details About ERF Visualization #196

Closed lcxrocks closed 4 months ago

lcxrocks commented 4 months ago

@MzeroMiko Thank you for your outstanding work and generous open-source contributions! I have a question regarding the use of RandomSampler when drawing ERFs for each feature extraction backbone: https://github.com/MzeroMiko/VMamba/blob/c07d2ea1322061cd52a505fdae735c91346a5d65/analyze/utils.py#L317 Doesn't this mean that each heatmap represents the average result of several different image batches? Or is this not a significant concern because each batch contains 50 images, which is sufficient to mitigate any bias? Thank you!

MzeroMiko commented 4 months ago

Yes It is the average ERF for 50 images. We adopted this code from RepLKNet. You may refer to that for more information.

lcxrocks commented 4 months ago

Thank you very much!