Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does the visualization of Attention Weights organize the code? #97

Open
choiseonb1n opened this issue Jan 5, 2024 · 2 comments
Open

Comments

@choiseonb1n
Copy link

The _MultiheadAttention class of PatchTST_backbone.py returns Attention_weight.
However, I'm not sure how to use it to visualize it.

How do I organize the code to visualize it like Figure 6 in the paper?

@111lzx111
Copy link

Thanks to the authors for their excellent time series forecasting work.
I am having the same problem of how to visualize the attention weights shown in Figure 6 in the paper.

@iganggang
Copy link

@choiseonb1n @111lzx111 @yuqinie98
i have the same question. i want to visualize an attention map in time series, such as figure 6.
if u have any news, please kick me. Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants