Paranioar / SGRAF

[AAAI2021] The code of “Similarity Reasoning and Filtration for Image-Text Matching”
214 stars 36 forks source link

questions about visualization #6

Closed xixiareone closed 3 years ago

xixiareone commented 3 years ago

Hello, I am very interested in your work, can you share the code for visual query Many thanks!

Paranioar commented 3 years ago

Hello, I am very interested in your work, can you share the code for visual query Many thanks!

Actually, it is not complex. We first save the attention weights (SAF β) and cosine distance (SGR α) as .npy file. We then translate the .npy file into .xlsx file and match color in Excel.