TACJu / TransFG

This is the official PyTorch implementation of the paper "TransFG: A Transformer Architecture for Fine-grained Recognition" (Ju He, Jie-Neng Chen, Shuai Liu, Adam Kortylewski, Cheng Yang, Yutong Bai, Changhu Wang, Alan Yuille).
MIT License
384 stars 87 forks source link

visualization code #8

Closed lao-ling-jie closed 3 years ago

lao-ling-jie commented 3 years ago

Thanks for your wonderful work! I meet some problems when I try to visualize the part attention patch as your paper showed. So could you provide the visualization code. Thanks so much! image

atoosachegini commented 3 years ago

were you able to visualize the attention parts? I have some problems with this too.

lao-ling-jie commented 3 years ago

were you able to visualize the attention parts? I have some problems with this too.

I visualized the attention parts by the index of the most important part of attention like paper writing. you can see the Part Selection code for help.

OhJackHu commented 2 years ago

Thanks for your wonderful work! I meet some problems when I try to visualize the part attention patch as your paper showed. So could you provide the visualization code. Thanks so much! image

您好,请问您可视化成功了吗?

1844857130 commented 1 year ago

Thanks for your wonderful work! I meet some problems when I try to visualize the part attention patch as your paper showed. So could you provide the visualization code. Thanks so much! image

您好,请问可以有偿向您请教下关于可视化的实现吗?