megvii-research / PETR

[ECCV2022] PETR: Position Embedding Transformation for Multi-View 3D Object Detection & [ICCV2023] PETRv2: A Unified Framework for 3D Perception from Multi-Camera Images
Other
878 stars 132 forks source link

Ask for the code of visualization of attention map #140

Closed mezhou closed 10 months ago

mezhou commented 1 year ago

May I ask for the code of visualization of attention map generated from object query, which was mentioned in the paper. image Thank you very much.

Tongjiaxun commented 9 months ago

Hello, have you got the code ?

Selventhiranraj commented 6 months ago

@mezhou , @Tongjiaxun Have you got the code for visualizing the attention map ?

CC: @megvii-model , @ifzhang @eltociear , @junjie18 , @kvjia , @yingfei1016 : Kindly help me with the code to visualize the attention map as mentioned in the paper, if possible please.

loserhou commented 6 months ago

the

do you have the code now?I also want to draw the attention map

yingfei1016 commented 6 months ago

visualizer.txt

The original old code cannot find. This code was written to write the visualization of CMT at that time. Based on the hook mechanism, it should be slightly changed to be easier to use. `

loserhou commented 6 months ago

visualizer.txt

The original old code cannot find. This code was written to write the visualization of CMT at that time. Based on the hook mechanism, it should be slightly changed to be easier to use. `

thx!